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

2012-01-17 Thread Andreas Tille
On Tue, Jan 17, 2012 at 11:44:06PM +0100, Ludovic Claude wrote: > You could have use: > > override_jh_build: > ant -Djavac.classpath=/usr/share/java/junit.jar:/usr/share/java/jdom1.jar Just out of academical interest I tried this but failed: -do-compile: [mkdir] Created dir: /tmp/buildd/li

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

2012-01-17 Thread Ludovic Claude
> what might be the difference between ant-junit.jar and junit.jar ant-junit.jar is an extension for Ant which provides the 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 wi

Re: RFS: eclipse-cdt-qt

2012-01-17 Thread Jakub Adam
Hi Niels, I am a bit concerned with the patches here. Particularly "custom-build.patch" contains a lot of code changes and its description/subject ("custom-build") is completely unhelpful. I split that patch into smaller chunks and added some descriptions, see git. The description of "disab

java architecture names and s390x

2012-01-17 Thread peter green
Thanks niels for the speedy fix to armhf/sh4/powerpcspe issues in java-arch.sh. Unfortunately i've just spotted another issue on s390x the location of libjvm.so seems to be /usr/lib/jvm/java-6-openjdk-s390x/jre/lib/s390x/server However java-arch.sh appears to (from looking at the code and lo

Re: java architecture names and armhf/sh4

2012-01-17 Thread peter green
The name of the jre/lib/ directory is unconnected to DEB_HOST_ARCH; On interesting architectures* the full name of the directory is armel: /usr/lib/jvm/java-6-openjdk-armel/jre/lib/arm/server armhf: /usr/lib/jvm/java-6-openjdk-armhf/jre/lib/arm/server powerpc:/usr/lib/jvm/java-6-openjdk-powerpc

Re: java architecture names and armhf/sh4

2012-01-17 Thread Niels Thykier
On 2012-01-17 10:24, peter green wrote: > While looking at armhf build failures I took a look at uwsgi I > determined it was failing on armel, armhf, sh4 and powerpc due to using > incorrect paths for java stuff (it's also failing on ia64 and alpha for > what appears to be unrelated reasons). Speci

Re: java architecture names and armhf/sh4

2012-01-17 Thread Matthias Klose
On 01/17/2012 10:24 AM, peter green wrote: > While looking at armhf build failures I took a look at uwsgi I determined it > was > failing on armel, armhf, sh4 and powerpc due to using incorrect paths for java > stuff (it's also failing on ia64 and alpha for what appears to be unrelated > reasons).

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

2012-01-17 Thread Andreas Tille
On Tue, Jan 17, 2012 at 10:30:45AM +0100, Olivier Sallou wrote: > Could be something like: > > value="/usr/share/java/junit.jar:/usr/share/java/jdom1.jar > "/> You probably mean: or something like this. I tried different ways of doing this but failed (always with same result. What is ast

java architecture names and armhf/sh4

2012-01-17 Thread peter green
While looking at armhf build failures I took a look at uwsgi I determined it was failing on armel, armhf, sh4 and powerpc due to using incorrect paths for java stuff (it's also failing on ia64 and alpha for what appears to be unrelated reasons). Specifically it was seting the following paths.

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

2012-01-17 Thread Olivier Sallou
Le 1/17/12 10:23 AM, Andreas Tille a écrit : > On Mon, Jan 16, 2012 at 10:50:51PM +0100, Ludovic Claude wrote: >> javahelper is a generic collection of scripts for building Java sources, >> packaging them into a jar and building a Debian package. >> >> maven-debian-helper is designed for upstream

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

2012-01-17 Thread Andreas Tille
On Mon, Jan 16, 2012 at 10:50:51PM +0100, Ludovic Claude wrote: > > javahelper is a generic collection of scripts for building Java sources, > packaging them into a jar and building a Debian package. > > maven-debian-helper is designed for upstream projects which use Maven as > their build tool.