ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: How use the jar task?
Date Thu, 17 Oct 2002 12:21:13 GMT
On Mon, 14 Oct 2002, Jaime Marcondes <> wrote:

> what i'm try is to make a dir resources into the jar in the files
> who hold the resources.  in the ant script i wrote
> <jar jarfile=....  basedir="." index="yes">
>   <fileset dir="${src}/resources">
>   </fileset>
> </jar>

basedir="." makes Ant include everything under the current directory
to your jar.  If this is not what you wnat, drop this attribute

And then I'm not sure, do you want the stuff below resources to be at
the top level or under sume subdirectory?  I.e. if you have
${src}/resources/, should that appear as or
as resources/ or ... ?

The fileset above would include it at the top level.


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

View raw message