ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barry Pape" <>
Subject RE: Strip directory from fileset includesfile jar location
Date Mon, 19 May 2008 21:21:41 GMT
Zipfileset works with jars also, I don't know if there is a reason not
to use it with them though.  The prefix attribute allows you to change
the path for the files of the fileset in the archive.


-----Original Message-----
From: Tom Corcoran [] 
Sent: Monday, May 19, 2008 11:29 AM
Subject: Strip directory from fileset includesfile jar location

Doing the following creates a sub directory properties in my jar with my
groovy property files, as desired:

<jar destfile="${jar.dir}/${}.jar" update="no"
<fileset dir="."><include name="**/properties/*.groovy" /></fileset>	

However, I have a file which is also located in this
properties directory on my _file system_ but I want it in the root level
the jar (so it can be found in the path) and not in the properties
directory. how can I do that?
View this message in context:
Sent from the Ant - Users mailing list archive at

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

Confidentiality Notice!
This electronic transmission and any attached documents or other
writings are confidential and are for the sole use of the intended
recipient(s) identified above. This message may contain information
that is privileged, confidential or otherwise protected from
disclosure under applicable law. If the receiver of this
information is not the intended recipient, or the employee, or
agent responsible for delivering the information to the intended
recipient, you are hereby notified that any use, reading,
dissemination, distribution, copying or storage of this information
is strictly prohibited. If you have received this information in
error, please notify the sender by return email and delete the
electronic transmission, including all attachments from your

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

View raw message