Re: Delete the static files using maven

2009-03-06 Thread Ian Petzer
Hi Sam,

Have you considered using the antrun plugin to perform the delete? You can
configure the plugin in your pom.xml and bind it to a lifecycle phase that
runs before Maven compiles your code.

Info on configuring the antrun plugin can be found here:
http://maven.apache.org/plugins/maven-antrun-plugin/usage.html

Here is some info on the Ant delete task:
http://ant.apache.org/manual/CoreTasks/delete.html

Ian

On Fri, Mar 6, 2009 at 12:21 PM, SRINIVASA RAO
wrote:

> Hi,
>
> Could any have example POMs on "delete the static files from specific
> location" using Maven. After deleting this files, i need to compile the code
> .
>
> I can achieve the second task , after deleting files manually. But i want
> to do the delete files are automatically.
>
> Could any give me solution on this. It will be great help to me.
>
> Regards,
> Sam
>
>
>


Delete the static files using maven

2009-03-06 Thread SRINIVASA RAO
Hi,
 
Could any have example POMs on "delete the static files from specific location" 
using Maven. After deleting this files, i need to compile the code .
 
I can achieve the second task , after deleting files manually. But i want to do 
the delete files are automatically.
 
Could any give me solution on this. It will be great help to me.
 
Regards,
Sam