You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by bishopknight <se...@gdc4s.com> on 2009/02/05 16:45:31 UTC
Using classpaths within Ant-contrib task?
My problem is pretty simple. I'd like to add the classpath to my source file
list as commented below. So far, I can't find any documentation on this. The
reason I want the classpath as a source file list is because this code will
be reused by every build script in the environment. Otherwise, I would have
to modify every build script individually.
Thanks,
BK
<outofdate>
<sourcefiles>
<pathelement path="build.xml"/>
<fileset dir="${src.dir}"/>
<dirset dir="${src.dir}"/>
<!-- Add classPathExtend to source list -->
</sourcefiles>
<targetfiles path="${common.jar.dir}/${jar.name}"/>
<sequential>
<echo>Jar Deployed to: ${common.jar.dir}/${jar.name}</echo>
<jar destfile="${common.jar.dir}/${jar.name}" basedir="${classes.dir}" >
<fileset dir="${config.dir}">
</fileset>
<manifest>
<attribute name="Implementation-Version" value="${build.version}"/>
</manifest>
</jar>
</sequential>
</outofdate>
--
View this message in context: http://www.nabble.com/Using-classpaths-within-Ant-contrib-%3Coutofdate%3E-task--tp21853977p21853977.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org