<target name="run" depends="publish">
<java jar="${files.publish.jar}"
fork="true"
/>
</target>
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 jar lookup different between java -jar and <java jar=.../> ?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]