On Wed, Sep 7, 2011 at 8:05 PM, Mathieu Malaterre <mathieu.malate...@gmail.com> wrote: > http://anonscm.debian.org/viewvc/debian-med/trunk/packages/bio-formats/trunk/debian/rules?view=markup > > However during compilation it keeps on failing with: > > compile: > [javac] Compiling 44 source files to > /home/mathieu/debian/debian-med/trunk/packages/bio-formats/trunk/bio-formats-4.3.1/components/common/build/classes > [javac] > /home/mathieu/debian/debian-med/trunk/packages/bio-formats/trunk/bio-formats-4.3.1/components/common/build/src/loci/common/CBZip2InputStream.java:52: > package org.slf4j does not exist > [javac] import org.slf4j.Logger; > [javac] ^ > [javac] > /home/mathieu/debian/debian-med/trunk/packages/bio-formats/trunk/bio-formats-4.3.1/components/common/build/src/loci/common/CBZip2InputStream.java:53: > package org.slf4j does not exist > [javac] import org.slf4j.LoggerFactory; > [javac] ^ > ... > > The strangest thing is that the following does provide org.slf4j.Logger: > > $ CLASSPATH=/usr/share/java/slf4j-api.jar javac > bio-formats/trunk/bio-formats-4.3.1/components/common/build/src/loci/common/CBZip2InputStream.java > > This is not an installation issue. Is there some kind of conflicts > with CLASSPATH I should be aware of ?
If you are using ant (this really looks like this is the case), the classpath from the build.xml file may be overriding the one you give on the command line. You may want to try with the following options to ant: Dbuild.sysclasspath=only If you're using the ant cdbs class, it is just a matter of adding ANT_OPTS := -Dbuild.sysclasspath=only to debian/rules Hope this helps, Cheers, Vincent -- 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/caenrq5mwa7gpyy3nfqscnmhmtfy5caseqsvwx7d2zgdka_y...@mail.gmail.com