> what might be the difference between ant-junit.jar and junit.jar ant-junit.jar is an extension for Ant which provides the <junit> task to Ant. It relies on junit.jar to provide the actual JUnit classes used to run the tests.
> why it seems impossible to tweak a valid CLASSPATH into the build system without patching it You could have use: override_jh_build: ant -Djavac.classpath=/usr/share/java/junit.jar:/usr/share/java/jdom1.jar The author of Options made life simple for himself, leaving the packaging of his project to the default build system provided by Netbeans, but it's quite a complex Ant script not easily amendable to the kind of customizations required for Debian packaging. Ludovic On 17/01/2012 11:11, Andreas Tille wrote: > 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. > -- To UNSUBSCRIBE, email to debian-med-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f15f9b6.8020...@laposte.net