ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject pathelement location
Date Thu, 20 Oct 2005 15:37:58 GMT

To run my main project I currently include all the existing jars using a <fileset />
and include the classes of the subproject that I have changed and eclipse has compiled using
a <pathelement location="....."/>

eg.,	<path id="allClassesCP">
    		<path refid="javaJars"/>
    		<pathelement location="C:/ProjectBuilds/${}/build/${project}/classes" />
		<pathelement location="C:/ProjectBuilds/${}/build/${project}/idl" />
    		<fileset dir="${mainJarDir}" includes="Foundation.jar"/>
    		<fileset dir="${mainJarDir}" includes="*.jar" excludes="Reports.jar"/>
    		<fileset dir="${mainJarDir}/3rd" includes="*.jar"/>

${project} is the subproject. and the 'classes' and 'idl' directories have the route of classes
for that subproject (com/project/...)

I would like to be able to specify on the ant command line -Dprojects="subproj1, subproj2"
and for the 'classes' and 'idl' directories to be included for each of the specified subprojects.
I have tried using * char in the location path to include any classes: C:/ProjectBuilds/${}/build/*/classes
but no success.

Any ideas on how to achieve this?


Visit our website at

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

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

View raw message