On Tue, Jan 17, 2012 at 10:30:45AM +0100, Olivier Sallou wrote: > Could be something like: > > <property name="javac.classpath" > value="/usr/share/java/junit.jar:/usr/share/java/jdom1.jar > "/>
You probably mean: <property name="run.test.classpath" value="/usr/share/java/jdom1.jar:/usr/share/java/ant-junit.jar"/> or something like this. I tried different ways of doing this but failed (always with same result. What is astonishing to me is the fact that debuild is building successfully but pdebuild is not. Usually this is a sign of missing Build-Depends but not of missing patches. When following this idea I realised that adding Build-Depends: junit is the solution for this problem. I'll leave the explanation what might be the difference between ant-junit.jar and junit.jar and why it seems impossible to tweak a valid CLASSPATH into the build system without patching it to some of the mysteries of Java packaging. Kind regards and thanks for your hints anyway Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120117101115.gh21...@an3as.eu