-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 'clean' is actually a phase in another lifecycle, so binding to <phase>clean</phase> 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 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] |> |> | | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFDeqZKK3h2CZwO/4URAuFsAJ9eActi3squP0QjC/CDaNj0eVqLNwCfc/rC IEE8PHgcwgYq0j8E9jawBTk= =XC+6 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
