Dynamic "depends" for debug/release builds

2008-08-15 Thread cowwoc
Hi, I've got Java code that makes use of JNI so my build process is slightly different depending on whether debug or release is being built. I'd like to define the following ant target: the target gets invoked just fine but then any properties declared by the target get lost when the call ret

Re: basename & variables not working in solaris

2008-08-15 Thread viet nguyen
thanks for your help. jnlp task is the way to go. Dominique Devienne-2 wrote: > > On Wed, Aug 13, 2008 at 9:37 AM, viet nguyen <[EMAIL PROTECTED]> wrote: >> Is there a better way to accomplish what I was trying to do? > > Have you tried with ? Assuming your jars are all in the > same dir

Re: ant java jar="asdf.jar" fails to execute jar that java -jar asdf.jar succeeds on

2008-08-15 Thread Steve Loughran
Brendan Miller wrote: Gives me: [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger but java -jar the_same_jar.jar works fine. I specify the path to log4j.jar as Class-Path: log4j.jar in the manifest. What could be happening here? How is j