ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bishopknight <sean.gil...@gdc4s.com>
Subject Using classpaths within Ant-contrib <outofdate> task?
Date Thu, 05 Feb 2009 15:45:31 GMT

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


Mime
View raw message