I am not to familiar with your problem, but this just jumped at me:
>
> <!-- Put everything in ${build} into the HelloWorld.jar file -->
> <jar jarfile="${dist}/HelloWorld.jar" basedir="${build}">
> <manifest>
> <attribute name="Class-Path" value=". ./lib/log4j.jar"/>
^
^----- Is this a space?
> <attribute name="Main-Class" value="HelloWorld"/>
> </manifest>
> </jar>
> </target>
And Another thing, in your HelloWorld.java code, there is no configuration
options for log4j (like appenders and stuff), so either you have to have a
log4j.properties or log4j.xml in your classpath as well. But all that is
really not related to ant.
Hope this helps.
Ylan Segal.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>