I have two problems with the latest round of commits:

after typing 'ant -f build-bootstrap.xml'

Things proceed normally until:


[exec]     [taskdef] [DEBUG] Class java.lang.ClassNotFoundException loaded from
parent loader
     [exec]     [taskdef] [DEBUG] Class java.lang.NoClassDefFoundError loaded
from parent loader
     [exec]     [taskdef] [DEBUG] Class java.util.Vector loaded from parent
loader
     [exec]     [taskdef] [DEBUG] Class java.lang.Class loaded from parent
loader
     [exec]     [taskdef] [DEBUG]  +User task: dvsl
org.apache.tools.dvsl.DVSLTask
     [exec]     [taskdef] [DEBUG] FileSet: Setup file scanner in dir
G:\cygwin\app\maven-cvs\lib with patternSet{ includes: [] excludes: [] }
     [exec]     [taskdef] [DEBUG] Finding class org.apache.maven.jxr.Jxr
     [exec] [ERROR] File...... G:\cygwin\app\maven-cvs\plugins\jxr\plugin.jelly
     [exec] [ERROR] Element... taskdef
     [exec] [ERROR] Line...... 11
     [exec] [ERROR] Column.... 42
     [exec] [ERROR] taskdef class org.apache.maven.jxr.Jxr cannot be found File:
G:\cygwin\app\maven-cvs\plugins\jxr\plugin.jelly At tag <taskdef>: line: 11
column: 42

Finally a useful error message I thought, but I had no luck working around it.
Even commenting the offending lines out did't help. I tried deleting everything
Maven, checkedout brand new source and trying again. Always fails.

--------------

Also using the build.xml file and just typing 'ant' I see:

 [get] Getting:
http://jakarta.apache.org/turbine/jars/commons-jelly-1.0-dev.20020628.033340.jar

during the jar fetch, and then

 [javac] Compiling 264 source files to
G:\cygwin\home\plynch\dev\apache\jakarta-turbine-maven\target\classes
    [javac]
G:\cygwin\home\plynch\dev\apache\jakarta-turbine-maven\src\java\org\apache\maven
\app\Maven.java:1317: cannot resolve symbol
    [javac] symbol  : method getFileName  ()
    [javac] location: class org.apache.commons.jelly.JellyException
    [javac]                     fileName    = jellyEx.getFileName();
    [javac]                                          ^
    [javac]
G:\cygwin\home\plynch\dev\apache\jakarta-turbine-maven\src\java\org\apache\maven
\app\Maven.java:1318: cannot resolve symbol
    [javac] symbol  : method getElementName  ()
    [javac] location: class org.apache.commons.jelly.JellyException
    [javac]                     elementName = jellyEx.getElementName();
    [javac]                                          ^
    [javac]
G:\cygwin\home\plynch\dev\apache\jakarta-turbine-maven\src\java\org\apache\maven
\app\Maven.java:1372: cannot resolve symbol
    [javac] symbol  : method getFileName  ()
    [javac] location: class org.apache.commons.jelly.JellyException
    [javac]             String fileName    = e.getFileName();
    [javac]                                   ^
    [javac]
G:\cygwin\home\plynch\dev\apache\jakarta-turbine-maven\src\java\org\apache\maven
\app\Maven.java:1373: cannot resolve symbol
    [javac] symbol  : method getElementName  ()
    [javac] location: class org.apache.commons.jelly.JellyException
    [javac]             String elementName = e.getElementName();
    [javac]                                   ^
    [javac]                                   ^
    [javac] 4 errors

BUILD FAILED
G:\cygwin\home\plynch\dev\apache\jakarta-turbine-maven\build.xml:9: Compile
failed; see the compiler error output for details.


--
I have no idea how it is fetching the incorrect jelly jar. All references I know
of ( project.xml, project-b5.xml, jars.list ) refer to

<dependency>
      <id>commons-jelly</id>
      <version>1.0-dev-4</version>
      <url>http://jakarta.apache.org/commons/sandbox/jelly/</url>
    </dependency>

***
I did notice maven.bat refers to forehead-1.0-beta-2.jar, the jars.list refers
to forehead-1.0-beta-2.jar and project.xml refers to 1.0-beta-1.jar
***

I did not fix that though as I wasn't sure what was goin' on. Either way it was
still broke for me.

I messed around trying to get past all this, but I had no luck.

I'm baffled, but the good news is I have a feeling its a classpath / jar /
lib.repo / maven.repo.local / ./lib / ${maven.home}/lib / maven.jar / maven.bat
/ maven-classpath reference issue for sure.

-Peter





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

Reply via email to