ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: Specify path of Resources in Jar?
Date Fri, 20 Feb 2004 22:36:16 GMT
--- Drew <> wrote:
> When I create a jar using ant can I specify the path
> that I want my resources to reside in within the jar
> or do they have to duplicate the file structure that
> I have setup?

Have you looked at using <zipfileset>s with <jar>--in
particular, their "prefix" attribute?

> Also, if I use the Copydir task does that overwrite
> existing files if they are older?  The docs say I
> can
> use "forceoverwrite" but is this necessary if the
> files
> are older or the same age?

I don't know about <copydir>--it's been deprecated
since I start using Ant.  However, the <copy> task
will ordinarily copy newer files only, unless


Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.

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

View raw message