Hi,
I need to copy files after the filtering of resources but before execute the
war goal. In the Ant plugin I have to specify a goal after the ant will be
called and I tried different goals like package, compile but wether its too
early and the filtered resource are not copied yet or its too late and the
copy process is started after the war is already done. Do you have any idea
for the right goal? Can I specify any phase from the war-plugin? I post the
config for the ant-plugin:
<executions>
<execution>
<phase>??????????</phase>
<configuration>
<tasks>
<copy
file="${basedir}\target\${project.build.finalName}\WEB-INF\classes\context.xml"
tofile="${basedir}\target\${project.build.finalName}\META-INF\context.xml"
/>
<copy
file="${basedir}\target\${project.build.finalName}\WEB-INF\classes\server-config.wsdd"
tofile="${basedir}\target\${project.build.finalName}\WEB-INF\server-config.wsdd"
/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
Have a nice day,
Juergen
--
View this message in context:
http://www.nabble.com/Ant-Run-tf3173105s177.html#a8802636
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]