ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krischan83 <christian.schneider.pri...@gmx.net>
Subject resolving properties in-between <tags> ... again ;-)
Date Tue, 22 Sep 2009 12:12:23 GMT

Hi,

is it possible to make ant understanding the following declaration:

	<target name="main">
		<loadfile property="doc.classpath">
			<concat>
				<fileset dir="." includes="*.xml" />
			</concat>
			<filterchain>
				<linecontainsregexp>
					<regexp pattern="&lt;pathelement"/>
				</linecontainsregexp>
			</filterchain>
		</loadfile> 

		<path id="doc.classpath">
			${doc.classpath}
		</path>
	</target>

Scenario: I want to extract classpath information from generated build files
for javadoc generation.
Afaik I have to take the way via an additional ant file containing <path... 
declaration, replace a placeholder, which is ${doc.classpath} here, and
finally invoke that file.

So the abbr. shown above possible?

Best,
Christian
-- 
View this message in context: http://www.nabble.com/resolving-properties-in-between-%3Ctags%3E-...-again---%29-tp25530695p25530695.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