You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Scott Eade <se...@backstagetech.com.au> on 2003/02/01 13:50:19 UTC
Combining two goals results in different processing
I am experiencing some odd behaviour that I hope somebody can explain to me.
I am using the torque maven plugin and am seeing different results when I
sequentially execute two of the torque goals vs defining my own goal that
simply attains the same two goals. Here is what I am doing:
If I go:
maven torque:create-db
followed by:
maven torque:sql
then everything is fully generated as expected.
But if I define a goal in my maven.xml that does this:
<attainGoal name="torque:create-db"/>
<attainGoal name="torque:sql"/>
the sql output following execution of this goal is in a form that is not
fully processed - i.e. the result is different to the sequential execution
of these two goals from the command line.
Can someone please explain what might be causing this difference in
behaviour?
Thanks,
Scott
--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au
.Mac Chat/AIM: seade at mac dot com
FW: Combining two goals results in different processing - RESEND
Posted by Scott Eade <se...@backstagetech.com.au>.
If possible could someone post an answer to my question below.
------ Forwarded Message
> From: Scott Eade <se...@backstagetech.com.au>
> Reply-To: "Turbine Maven Users List" <tu...@jakarta.apache.org>
> Date: Sat, 01 Feb 2003 23:50:19 +1100
> To:
> "turbine-maven-user@jakarta.apache.org"<tu...@jakarta.apache.org>
> Subject: Combining two goals results in different processing
>
> I am experiencing some odd behaviour that I hope somebody can explain to me.
>
> I am using the torque maven plugin and am seeing different results when I
> sequentially execute two of the torque goals vs defining my own goal that
> simply attains the same two goals. Here is what I am doing:
>
> If I go:
> maven torque:create-db
> followed by:
> maven torque:sql
> then everything is fully generated as expected.
>
> But if I define a goal in my maven.xml that does this:
> <attainGoal name="torque:create-db"/>
> <attainGoal name="torque:sql"/>
> the sql output following execution of this goal is in a form that is not
> fully processed - i.e. the result is different to the sequential execution
> of these two goals from the command line.
>
> Can someone please explain what might be causing this difference in
> behaviour?
>
> Thanks,
>
> Scott
> --
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
> .Mac Chat/AIM: seade at mac dot com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-maven-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-maven-user-help@jakarta.apache.org
>
------ End of Forwarded Message