Hi all,
I currently migrated a project to bnd that uses cp1252 as source encoding.
As far I have read, gradle uses the default system encoding from the OS,
which is in that case also cp1252. So the build itself runs fine. But
the tests not. I experience "unmappable character for encoding UTF-8"
errors when compiling test sources.
I googled and found nothing that works:
- -Dfile.encoding=cp1252
- compileTestJava.option.encoding='cp1252'
- task.withType(Test) { systemProperty "file.encoding", "Cp1252" }
Am I doing sthg completely wrong or is there something special with the
bnd test tasks in that area, so that these properties have no effect?
Regards,
Mark
--
Mark Hoffmann
M.A. Dipl.-Betriebswirt (FH)
Geschäftsführer
Tel: +49 3641 384 910 0
Mobil:
+49 175 701 2201
E-Mail:
m.hof...@data-in-motion.biz
Web:
www.datainmotion.de
Data In Motion Consulting GmbH
Kahlaische Straße 4
07745 Jena
Geschäftsführer
Mark Hoffmann
Jürgen Albert
Jena HRB 513025
Steuernummer 162/107/05779
USt-Id DE310002614