Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Resloving directory based JARs to any lengh using <dirset >

Resloving directory based JARs to any lengh using <dirset >

2007-05-25       - By Ravi Roy
Reply:     1     2     3     4     5     6  

Hi All,



Is it possible to refer to all the jars in a directory structure of any
length ?



I use the following, but a jar located under
myproject\dir1\dir2\dir3\abc.jar is not resolved.



<path id="myproject.classpath">

  <dirset dir="c:\myproject">

       <include name="**/*" />

  </dirset>

<path>



I can refer individual jar using <pathelement
location="c:\myproject\dir1\dir2\dir3\abc.jar" />, but is it possible
somehow to use the above mentioned <direst> structure with some
modifications - which I am not aware of ?



Thanks for the pointers in adavance.



Ravi.











         

 




©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.