I'd like to walk through this, to share information, and perhaps find the
problem...

1) We have these two Maven projects (in SVN):

http://svn.apache.org/repos/test/gump-test/maven-project1/project.xml
http://svn.apache.org/repos/test/gump-test/maven-project2/project.xml

2) We describe these to Gump:

http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-gump/project/gump-test.xml?content-type=text%2Fplain&rev=1.7

3) And during the run we get some way, but not all the way:

http://gump.dotnot.org/buildLog.html

3.1) Project1 builds, producing a jar:

http://gump.dotnot.org/jakarta-gump-test/gump-test-maven1.html

3.2) Gump references that jar (by id) to pass to project2:

Note: We have a bug in Gump's xdoc generation for work (two works with same
name on two projects become same file under module.) I'll fix this, but for
now trust me that this does show the contents of project2/build.properties.
[I manually checked, and ran maven by hand.]

http://gump.dotnot.org/jakarta-gump-test/work/display_file_cat_build.properties.html

3.2) Project2 fails to build...

http://gump.dotnot.org/jakarta-gump-test/work/build_jakarta-gump-test_gump-test-maven2.html

... it doesn't seem to find the class MavenTest1 that I put into project1.

/var/gump/jakarta-gump-test/maven-project2/src/java/org/apache/gump/test/Mav
enTest2.java:11: cannot resolve symbol
symbol  : class MavenTest1
location: class org.apache.gump.test.MavenTest2
MavenTest1 test1;
        ^
2 errors

Anybody see anything in here? I turned on debug and see some things that
look promising:

[DEBUG] Adding reference: maven.dependency.classpath ->
/var/gump/jakarta-gump-test/maven-project1/target/gump-test-maven1-0.1.jar

Looking in the Jar:

[EMAIL PROTECTED] maven-project2]$ jar tvf !-3$
jar tvf ../maven-project1/target/gump-test-maven1-0.1.jar
    [...]
   297 Wed Feb 11 16:05:26 CST 2004 org/apache/gump/test/MavenTest1.class

Any thoughts?

regards

Adam
--
Experience the Unwired Enterprise:
http://www.sybase.com/unwiredenterprise
Try Sybase: http://www.try.sybase.com


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

Reply via email to