RE: b10 problem compiling (resources:copy missing)

2003-07-22 Thread Lester Ward
> I ran into this yesterday. It turned out that my project.xml 
> was missing
> its  tag. I inserted  at the end and all is well.

I had a build tag already, but this did lead me to the solution.

My build tag had an (evidently) outdated tag in it (probably from beta 7,
not sure):
  
 **/*Test.java
  

I changed this to what appears to be the new format:
  
 **/*Test.java
  

Now it works fine. 

I couldn't find any documentation on this format change, so I'm not sure if
the  was always wrong, or if this just changed recently.
In any case, it appears that Maven would benefit from doing an XML
validation on the project.xml file. Would have saved me a great deal of
time.

Wordman

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



Re: b10 problem compiling (resources:copy missing)

2003-07-22 Thread James CE Johnson
I ran into this yesterday. It turned out that my project.xml was missing
its  tag. I inserted  at the end and all is well. YMMV

> There really is a resources:copy dynamic tag defined, it's in maven.jar
> in  a file called driver.jelly.
>
> Can you post the result of running 'maven -e '??
> --
> dIon Gillard, Multitask Consulting
> Blog:  http://blogs.codehaus.org/people/dion/
> Work:  http://www.multitask.com.au
>
>
> Lester Ward <[EMAIL PROTECTED]> wrote on 21/07/2003 11:59:55 PM:
>
>> I just installed a virgin copy of b10. When running various goals
>> (site, java:jar, etc), I get the following failure:
>>
>> BUILD FAILED
>> File.. file:/C:/Documents and
>> Settings/lward/.maven/plugins/maven-test-plugin-1.3/
>> Element... resources:copy
>> Line.. 299
>> Column 11
>> java.lang.NullPointerException
>> Total time:  9 seconds
>>
>> Near as I can tell, the last few lines of the
>> maven-test-plugin-1.3/plugin.jelly file invoke a goal called
>> "resources:copy", which does not seem to exist anywhere. When I do a
> maven
>> -g, nothing like that shows up in the list.
>>
>> So, is the test plugin code wrong? Or is the problem that there really
>> should be a resources:copy somewhere? Or is there some new
>> configuration
> I
>> don't know about? Or something else?
>>
>> Any ideas?
>>


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



Re: b10 problem compiling (resources:copy missing)

2003-07-21 Thread dion
There really is a resources:copy dynamic tag defined, it's in maven.jar in 
a file called driver.jelly.

Can you post the result of running 'maven -e '??
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/
Work:  http://www.multitask.com.au


Lester Ward <[EMAIL PROTECTED]> wrote on 21/07/2003 11:59:55 PM:

> I just installed a virgin copy of b10. When running various goals (site,
> java:jar, etc), I get the following failure:
> 
> BUILD FAILED
> File.. file:/C:/Documents and
> Settings/lward/.maven/plugins/maven-test-plugin-1.3/
> Element... resources:copy
> Line.. 299
> Column 11
> java.lang.NullPointerException
> Total time:  9 seconds
> 
> Near as I can tell, the last few lines of the
> maven-test-plugin-1.3/plugin.jelly file invoke a goal called
> "resources:copy", which does not seem to exist anywhere. When I do a 
maven
> -g, nothing like that shows up in the list.
> 
> So, is the test plugin code wrong? Or is the problem that there really
> should be a resources:copy somewhere? Or is there some new configuration 
I
> don't know about? Or something else?
> 
> Any ideas?
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>