ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Tucker" <>
Subject Creating lists of files in a property
Date Thu, 22 May 2003 04:27:53 GMT
I'm wondering if there is a way to create a list of files in a directory
and store it in a property.
I've seen a solution in the mailing list archives that works for windows
rg&msgId=584387> &msgId=584387> but am hoping to find a cross platform
What I'm trying to do is create a manifest file that lists each JAR file
in my jars directory in the Class-Path value attribute.  For example:
  <attribute name="Main-Class" value="com.somwhere.RB" />
  <attribute name="Class-Path" value="log4j-1.2.8.jar jdom.jar etc.jar"
What I would like to do is replace the Class-Path value with a property
that is created by examining my lib directory.  If I have to, I'll
create a new ANT task.  Just thought I would ask first.  Anyone have any
other ideas?  (Please reply to me as well as the list if possible.)
 - Eli Tucker <> 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message