ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Specify path of Resources in Jar?
Date Fri, 20 Feb 2004 22:36:16 GMT
--- Drew <panospace@hotmail.com> 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
overwrite="true".

-Matt

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message