On 2010-03-01, Rez P <pon...@hotmail.com> wrote:

> <copy file="${dist}/app1.war.qa" 
> tofile="${local.dir}/${build.version}.${build.number}/qa/${appname}.war" 
> overwrite="true"/>


> <copy file="${dist}/app1.jar.qa" 
> tofile="${local.dir}/${build.version}.${build.number}/qa/${appname}.jar" 
> overwrite="true"/>


> <copy file="${dist}/app2.jar.qa" 
> tofile="${local.dir}/${build.version}.${build.number}/qa/${appname}.jar" 
> overwrite="true"/>

Looks like

<copy todir="${local.dir}/${build.version}.${build.number}">
  <fileset dir="${dist}"/>
  <globmapper from="*.qa" to="qa/*"/>
</copy>

unless there is some special logic where app1 => ${appname} must be
mapped that I don't see.  In this case maybe a regex can help.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to