A "maven plugin:install" made the problem go away.

Cheers
Niclas

On Tuesday 13 April 2004 21:12, Niclas Hedhman wrote:
> Hi,
>
> I thought that <attainGoal> could be used as a kind of subroutine, but for
> some reason it doesn't work;
>
>
>     <ant:echo>Calling Store...</ant:echo>
>     <attainGoal name="versioning:store" />
>
>
>   <goal name="versioning:store" >
>     <ant:echo>Storing...</ant:echo>
>
>
> The debug output is;
>
> attaining goal build:start
> attaining goal versioning:inc-number
> build:start:
>
> versioning:inc-number:
>     [echo] Calling Store...
> attaining goal build:end
> BUILD SUCCESSFUL
>
> If I change the goal name, I get an error as expected.
> The goal "store" is not called more than once in the same run.
>
> Anybody know what could possibly be wrong?
> Alternatively, is there another way to do the same thing?
>
>
> Cheers
> Niclas

-- 
+---------//-------------------+
|   http://www.bali.ac         |
|  http://niclas.hedhman.org   |
+------//----------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to