You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martin Gainty <mg...@hotmail.com> on 2009/06/10 18:56:13 UTC
"always compile option" for maven-compiler-plugin?
Hi Folks
currently using the maven-compiler-plugin d/l from
http://maven.apache.org/plugins/maven-compiler-plugin
anyway to request maven-compiler-plugin "always compile"
(instead of check source newer than class)
?
thanks!
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
_________________________________________________________________
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
RE: "always compile option" for maven-compiler-plugin?
Posted by Martin Gainty <mg...@hotmail.com>.
i wound up renaming the classes old_classes folder and creating new classes folder
thanks lee!
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
> Date: Thu, 11 Jun 2009 18:37:42 -0500
> Subject: Re: "always compile option" for maven-compiler-plugin?
> From: lee@leemeador.com
> To: users@maven.apache.org
>
> Or you could put an antrun task to run in generate-sources that would delete
> all the class files in target/classes and target/testclasses every time
> before compiling. (Oh and check my spelling there.)
>
> -- Lee
>
> On Wed, Jun 10, 2009 at 12:29 PM, Wayne Fay <wa...@gmail.com> wrote:
>
> > > anyway to request maven-compiler-plugin "always compile"
> > > (instead of check source newer than class)
> >
> > If not, it would be pretty simple to add.
> >
> > Having said that, the recommended approach would be to always use "mvn
> > clean ..." which will delete the files in /target, thus guaranteeing
> > the "always compile" function you require.
> >
> > Wayne
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> -- Lee Meador
> Sent from gmail. My real email address is lee AT leemeador.com
_________________________________________________________________
Windows Live™: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009
Re: "always compile option" for maven-compiler-plugin?
Posted by Lee Meador <le...@leemeador.com>.
Or you could put an antrun task to run in generate-sources that would delete
all the class files in target/classes and target/testclasses every time
before compiling. (Oh and check my spelling there.)
-- Lee
On Wed, Jun 10, 2009 at 12:29 PM, Wayne Fay <wa...@gmail.com> wrote:
> > anyway to request maven-compiler-plugin "always compile"
> > (instead of check source newer than class)
>
> If not, it would be pretty simple to add.
>
> Having said that, the recommended approach would be to always use "mvn
> clean ..." which will delete the files in /target, thus guaranteeing
> the "always compile" function you require.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
-- Lee Meador
Sent from gmail. My real email address is lee AT leemeador.com
Re: "always compile option" for maven-compiler-plugin?
Posted by Wayne Fay <wa...@gmail.com>.
> anyway to request maven-compiler-plugin "always compile"
> (instead of check source newer than class)
If not, it would be pretty simple to add.
Having said that, the recommended approach would be to always use "mvn
clean ..." which will delete the files in /target, thus guaranteeing
the "always compile" function you require.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org