RE: Stupid Q's #2: What is an Action Definition?

2004-01-10 Thread Brian Topping
> -Original Message-
> From: Jason van Zyl [mailto:[EMAIL PROTECTED]
> Subject: Re: Stupid Q's #2: What is an Action Definition?
>
> > 
> > BUILD FAILED
> > ...
> > Goal [test:test] has no action definition.
> 
> Some times the cache gets whacked if you interrupt a build and the
> pointers among goals get corrupted and if the pointer can't 
> be found you
> will get this message. Go into your ~/.maven/plugins 
> directory and erase
> the *.cache files and try again.

Worked great!  I'll put that on my "things to do before posting" list.
Thanks a ton, Jason!

-b

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



Re: Stupid Q's #2: What is an Action Definition?

2004-01-10 Thread Jason van Zyl
On Sat, 2004-01-10 at 23:35, Brian Topping wrote:
> Hi all,
> 
> Just wondering if anyone can explain what an "action definition" is?  

This is the unit of work in Werkz. Within the context of Maven, the body
of a goal is the action. It is a blob of Jelly which is stored until the
goal chain is calculated at which time the action associated with each
goal is executed.

> I've
> got a subproject that simply provides a jar for a source generation step.  I
> would have rather had an exploded JAR sitting around and have the directory
> available to the generator, but I couldn't figure that out, so decided to put
> the jar subproject in instead.  
> 
> But when I do a build now, I get:
> 
> BUILD FAILED
> File.. file:/C:/dev/bill2/generator-jar
> Element... attainGoal
> Line.. 4
> Column 37
> Goal [test:test] has no action definition.
> Total time: 3 seconds
> Finished at: Sat Jan 10 22:55:48 EST 2004

Some times the cache gets whacked if you interrupt a build and the
pointers among goals get corrupted and if the pointer can't be found you
will get this message. Go into your ~/.maven/plugins directory and erase
the *.cache files and try again.

-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://maven.apache.org

the course of true love never did run smooth ...

 -- Shakespeare


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