ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Sauyet <>
Subject Combining static file with <echoproperties> results
Date Tue, 03 Jan 2006 21:44:55 GMT
I asked a question yesterday with too much of a preconceived idea of the 
solution ( and I'd like to try again in a more 
general fashion.

Can anyone suggest a way of combining the information from one file with 
the results of an <echoproperties> that doesn't involve a temporary 
file.  I'm doing it now using one, but that grates on me, and I feel 
there must be a simple way of doing so.

Currently I'm doing it like this:

     <target name="build-app-properties" depends="init">
         <echoproperties destfile="${}">
                 <propertyref prefix="app."/>
                 <mapper type="glob" from="app.*" to="*"/>

     <target name="compile" depends="build-app-properties">
         <javac .../>
         <concat destfile="${class.dir}/" >
             <fileset file="${}"/>
             <fileset file="${}"/>
         <delete file="${}"/>


   -- Scott

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message