ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Euan Guttridge <EGuttri...@buildonline.com>
Subject RE: using loadfile to generate classpathref
Date Thu, 13 Nov 2003 12:01:37 GMT
Hi,

This did not work. To clarify I have a text file which contains a list of
dependency jars including path relative to the text file - I need Ant to use
this as a classpathref. 

Example:

-config
--dependencies.txt
-lib
--javax-media-jai/jai_codec-1.1.1_01.jar
--javax-media-jai/jai_core-1.1.1_01.jar
--javax-media-jai/mlibwrapper_jai-1.1.1_01.jar
-src
-web
-etc


dependencies.txt contents:
../lib/javax-media-jai/jai_codec-1.1.1_01.jar
../lib/javax-media-jai/jai_core-1.1.1_01.jar
../lib/javax-media/mlibwrapper_jai-1.1.1_01.jar


Thanks
Euan

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org] 
Sent: 13 November 2003 11:37
To: user@ant.apache.org
Subject: Re: using loadfile to generate classpathref


On Thu, 13 Nov 2003, Euan Guttridge <EGuttridge@buildonline.com>
wrote:

> How can I use loadfile to generate a classpathref from a text file of 
> dependencies. Example file contents:

Don't use loadfile 8-)

<path id="...">
  <fileset dir="." includesfile="your-file-here"/>
</path>

should work.

Stefan

---------------------------------------------------------------------
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


Mime
View raw message