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]>:
>
> 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-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 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 i am deleting the files prior to compilation but
> > > this is inefficient since most of the times these files do not change.
> > >
> > > thanks.
> > >
> > > ciao!
> > >
> > > --
> > >
> > > "Programming, an artform that fights back"
> > >
> > > Anuerin G. Diaz
> > > Registered Linux User #246176
> > > Friendly Linux Board @ http://mandrivausers.org/index.php
> > > http://capsule.ramfree17.org , when you absolutely have nothing else
> > > better to do
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
>
>
> --
>
> "Programming, an artform that fights back"
>
> Anuerin G. Diaz
> Registered Linux User #246176
> Friendly Linux Board @ http://mandrivausers.org/index.php
> http://capsule.ramfree17.org , when you absolutely have nothing else
> better to do
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to