[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with CLASSPATH needed (Was: Need help with packaging: ...)

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

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



Reply to: