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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to