You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by krischan83 <ch...@gmx.net> on 2009/09/22 14:12:23 UTC

resolving properties in-between ... again ;-)

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