Thanks. I'll try to re-install. I built it last night using the build-bootstrap.xml ant script. Maybe I'll try the binary.

I had assumed that there was something wrong with my xml files. Here's some other info I negelected to send that may clue someone in.

maven.log contents
2003-01-18 09:50:28,052 INFO org.apache.maven.plugin.PluginManager - Initializing Plugins!
2003-01-18 09:50:28,293 INFO org.apache.maven.plugin.PluginManager - Finished initializing Plugins!
2003-01-18 09:50:29,695 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class com.werken.werkz.jelly.ProjectTag doesn't support the nested "path" element.

jdk version is 1.4.0_02

OS is Win2k

No classpath is set in the env.

If I run maven w/o any parameters, it reports build successful.

Thanks,
Scott


Ben Walding wrote:
There was a problem with the build process about a week ago where various goals were claimed to not be there, no idea if it is related or not.

I recreated your project.xml and maven.xml as you listed them and it performed as expected (i.e. created a directory).

As a first step, try checking out HEAD and installing again

Failing that, I'd recommend getting onto the irc channel - #maven on irc.werken.com, there is usually someone around, but it may take a while for them to answer.

Scott Walters wrote:

Thanks. I also tried this and got the same error. Both files are in the same dir. I issue the cmd "maven mygoal" in that dir. There's nothing else in that dir.

Scott


Here's project.xml...
<project>

<pomVersion>3</pomVersion>
<id>Test1</id>
<name>Test1</name>
<currentVersion>1</currentVersion>
<inceptionYear>2001</inceptionYear>

<description>Test Project created in ${pom.inceptionYear}.</description>
<shortDescription>${pom.name} is a Maven Test</shortDescription>

</project>



Here's maven.xml...
<project default="mygoal"
xmlns:j="jelly:core"
xmlns:m="maven"
xmlns:u="jelly:util">

<goal name="mygoal">
<mkdir dir="blahdir" />
</goal>


</project>



[EMAIL PROTECTED] wrote:

Scott Walters <[EMAIL PROTECTED]> wrote on 18/01/2003 02:30:42 PM:

Hi,

I'm new to Maven and I'm trying to get a very simple project that creates a directory to execute.

My attempt has a single file called project.xml that looks like this...

<project>
<pomVersion>3</pomVersion>
<id>Test1</id>
<name>Test1</name>
<currentVersion>1</currentVersion>
<inceptionYear>2001</inceptionYear>

<description>Test created in ${pom.inceptionYear}.</description>
<shortDescription>${pom.name} is a Maven Test</shortDescription>

<goal name="mygoal">
<mkdir dir="somedir" />
</goal>



Goals don't go in project.xml, they go in maven.xml
--
dIon Gillard, Multitask Consulting
Blog: http://www.freeroller.net/page/dion/Weblog
Work: http://www.multitask.com.au



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





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




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





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

Reply via email to