Thanks for your help, but that doesn't work for me, because I don't know what the files will be ahead of time (and what the properties will be set to). However, poking around a bit more, I found a solution that works, using and : Ondrej On Wed, Oct 01, 2003 at 04:33:18PM -0500, Lopez, William wrote: > ...not tested but try this > > > includes="foo.txt"/> > includes="bar.txt"/> > > > ...will these directories be relative to your build file's base directory? > If not just copy the files under the main class source dir ( use the basedir > attribute)...see the Ant Manual jar task doco. > > HTH, > -Will > > > -----Original Message----- > From: Ondrej Lhotak [mailto:olhotak@sable.mcgill.ca] > Sent: Wednesday, October 01, 2003 10:09 AM > To: user@ant.apache.org > Subject: Adding absolute filenames to a jar > > > I'm using the task to create a jar file. The absolute pathnames of the > files to be included in the jar are in separate properties. How can I get > the task to include them? requires a dir and a relative > filename, and I have absolute names. > > For example: > > > > > > Ondrej > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org