Hi Manuel,

thx for your reply and the screenshot. I tried the process-resources but it
doesnt help. Actually the war plugin needs some sub-goals like war:exploding
etc. I use now a workaround for copy files from different places but its not
that "sexy". But important is its working now and maybe someday there is a
feature of splitting the war-goal in sub-goals.

Have a nice day,
juergen



Manuel J. Recena Soto wrote:
> 
> Hi,
> 
> On Mon, 5 Feb 2007 00:37:44 -0800 (PST), juergen.schumacher wrote
>> 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>
> 
> Did you try "process-resources"?
> I send you a screenshot maybe help you
> 
> regards 
> 
>> 
>> 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]
> 
> 
> --
> Manuel J. Recena Soto
> * www.manuelrecena.com[/blog]
> * [EMAIL PROTECTED]
> * +34 609710280 (ES)
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
View this message in context: 
http://www.nabble.com/Ant-Run-tf3173105s177.html#a8804623
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • Ant Run juergen.schumacher
    • Re: Ant Run Manuel J. Recena Soto
      • Re: Ant Run juergen.schumacher

Reply via email to