Today I tried to bootstrap Maven and failed with a couple of problems. 

The first was that after the unit tests, the build process was unable to
copy maven.jar into the target directory. This was because that
directory was deleted during the build and never created again. I fixed
this by adding a task to create the directory in local-init.

The second problem was that the bootstrap process failed not being
able to find org.apache.maven.ant.CreatePatternSet. I tracked this down
to the fact that the classpath use for that task was referring to
target/classes. This no longer appears to exist, rather maven.jar is
found in the target directory. I updated the pathref to fix this
problem. I've noticed a number of error reports similar to mine, so
maybe this is the cause.

Caveat: This is the first time I've tried to create a patch, so apols
if I messed up!

Thanks

Todd


Index: build-bootstrap.xml
===================================================================
RCS file: /home/cvspublic/jakarta-turbine-maven/build-bootstrap.xml,v
retrieving revision 1.79
diff -r1.79 build-bootstrap.xml
357c357
<         <pathelement location="target/classes"/>
---
>         <pathelement location="target/maven.jar"/>
Index: build-maven.xml
===================================================================
RCS file: /home/cvspublic/jakarta-turbine-maven/src/templates/build/build-maven.xml,v
retrieving revision 1.43
diff -r1.43 build-maven.xml
15a16
>     <mkdir dir="${build.dir}"/>

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

Reply via email to