On 7/3/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
On 7/3/06, jerome lacoste <[EMAIL PROTECTED]> wrote: > On 7/3/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote: > > Is there an equivalence of doing a file copy from one location to > > another as one could do in M1 , as a pregoal? > > You can probbaly use the antrun plugin to make the copy and attach the > plugin's execution to the phase before the one that requires your file > to be in the correct location. > > Jerome > Thanks.Basically what I wish to do is to copy some spring xml config files into my WEB-INF/appcontext directory, before the war file is created.Should I put the ant task in the "process-resources" phase?
Can't you just place your spring config file under src/main/webapp/appcontext/ ?? Otherwise there may be ways to configure the war plugin and tell it where from to pick the resources to copy into the war. Jerome --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
