Re: clean-triggered actions

2005-11-16 Thread Anuerin Diaz
it works... i documented it here -> http://docs.codehaus.org/display/MAVENUSER/Mini+Guides thanks. ciao! On 11/16/05, John Casey <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > 'clean' is actually a phase in another lifecycle, so binding to > clean should work, I

Re: clean-triggered actions

2005-11-15 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 'clean' is actually a phase in another lifecycle, so binding to clean should work, I think. Try it and let us know! If it doesn't work, it probably should. Cheers, john Wim Deblauwe wrote: | Sorry about that, but looking closer, it seems that clea

Re: clean-triggered actions

2005-11-15 Thread Wim Deblauwe
Sorry about that, but looking closer, it seems that clean is not part of the build cycle (see http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html ) so I'm afraid that this remains unanswered for now... regards, Wim 2005/11/15, Anuerin Diaz <[EMAIL PROTECTED]>: > > tha

Re: clean-triggered actions

2005-11-15 Thread Anuerin Diaz
thanks. so clean is also part of the build cycle... ill try that when i get back to the office tomorrow. ciao! On 11/15/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > Use the antrun plugin and bind it to the clean lifecycle phase (more info > here: > http://maven.apache.org/guides/plugin/guide-jav

Re: clean-triggered actions

2005-11-15 Thread Wim Deblauwe
Use the antrun plugin and bind it to the clean lifecycle phase (more info here: http://maven.apache.org/guides/plugin/guide-java-plugin-development.html, heading 'Attaching the Mojo to the Build Lifecycle') regards, Wim 2005/11/15, Anuerin Diaz <[EMAIL PROTECTED]>: > > hi, > > is there a way to

clean-triggered actions

2005-11-15 Thread Anuerin Diaz
hi, is there a way to trigger a plugin when the clean goal is executed on a project? i need to clean up some files that reside outside the build directory. i am planning to run some ant targets to do the actual file removal but i need it to be triggered by only when clean is invoked. currently