ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karin Lagesen <>
Subject Re: build.xml jar target problem
Date Tue, 08 Jul 2003 12:32:40 GMT
On Tue, Jul 08, 2003 at 12:59:29PM +0200, wrote:
> A few things:
> - nice documented and indented build file :-)
> - I cannot see an error. Does the created jar contains that
>   file? (Exactly /no/uio/labmed/InterGene.class)?
> - tip 1: use one <fileset> for *.class and *.gif. Should be faster.
>   (comma separated pattern or nested <include>s)
> - tip 2: store the main class in a property, so you can change
>   that easier
> - tip 3: use the 'description' attribute in the important targets
>   (I think: build, dist and clean maybe javadoc and jar)
> - tip 4: insert a 'run' target which starts your application (<java>).
>   So you can easily start the app from inside the build environment.
> - info: you don?t have to use ${basedir} (e.g. on setting 'src' 
>   property). Relative paths are resolved in relation to ${basedir}
>   by default. But you can write it if you want
> Ok, back to the problem (see No.2): contains the jar that file?

This was indeed the error. When I unpacked my jar, the no directory
went into a classes directory. I got things working now.

Thanks for your help!

Karin Lagesen, PhD student

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message