You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Antoine Lévy-Lambert <an...@antbuild.com> on 2004/02/20 00:46:08 UTC

build of avalon on gump

Hey gumpers,

the build of avalon fails on gump, but I have the impression that it is 
failing for the wrong reason :
attempting to compile source files which *should not be there in the 
first place*

Can whoever has access to lsd clean this directory :

/data3/gump/avalon/framework/api/src/test/org/apache/avalon/framework/test/

My guess is that it should not exist any more, the web cvs access shows the directory as empty.

Or do I miss something ?

Cheers,

Antoine



[1] http://lsd.student.utwente.nl/gump/avalon/avalon.html
[2] 
http://cvs.apache.org/viewcvs.cgi/avalon/framework/src/test/org/apache/avalon/framework/test/Attic/


Re: build of avalon on gump

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 20 Feb 2004, Leo Simons <le...@apache.org> wrote:

> There's a classloader issue of some kind.

Note that it passes on "traditional" Gump.  Both on my installation
and on gump.covalent.net.

I'm trying to figure out the difference in CLASSPATH here.  This is
what "traditional" Gump uses:

export CLASSPATH=$CP:$JAVA_HOME/lib/tools.jar
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/avalon/framework/target/classes
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/avalon/framework/target/api-classes
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/avalon/framework/target/impl-classes
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/avalon/framework/target/test-classes
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/ant/dist/lib/ant.jar
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/ant/dist/lib/ant-launcher.jar
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/ant/dist/lib/ant-jmf.jar
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/ant/dist/lib/ant-junit.jar
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/ant/dist/lib/ant-stylebook.jar
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/ant/dist/lib/ant-swing.jar
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/ant/dist/lib/ant-trax.jar
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/ant/dist/lib/ant-xalan2.jar
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/ant/dist/lib/ant-nodeps.jar
export CLASSPATH=/home/bodewig/dev/gump/xml-xalan/java/build/xalan-unbundled.jar:$CLASSPATH
export CLASSPATH=/home/bodewig/dev/gump/xml-xerces2/java/build/xercesImpl.jar:$CLASSPATH
export CLASSPATH=/home/bodewig/dev/gump/xml-xerces2/java/build/xmlParserAPIs.jar:$CLASSPATH
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/dist/junit/junit.jar
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/jakarta-log4j/log4j-20040219.jar
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/jakarta-log4j/log4j-lf5-20040219.jar
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/jakarta-log4j/log4j-chainsaw-20040219.jar
export CLASSPATH=$CLASSPATH:/home/bodewig/dev/gump/avalon-logkit/build/lib/logkit.jar
export CLASSPATH=/home/bodewig/dev/gump/xml-commons/java/external/build/xml-apis.jar:$CLASSPATH

and

-Xbootclasspath/p:/home/bodewig/dev/gump/xml-xalan/java/build/xalan-unbundled.jar:/home/bodewig/dev/gump/xml-xerces2/java/build/xercesImpl.jar:/home/bodewig/dev/gump/xml-xerces2/java/build/xmlParserAPIs.jar:/home/bodewig/dev/gump/xml-commons/java/external/build/xml-apis.jar

The only difference I can see compared to the LSD result page is the
order of the Ant and Log4J jars as well as the order of the
bootclasspath (and the bootclasspath stuff is not repeated in
CLASSPATH on LSD).

CascadingError should be picked up from
avalon/framework/target/classes, I don't see why it doesn't.

Wait, maybe we need a <mkdir> for it?  I can't really say under which
circumstances one needs a <mkdir> for <work> and when it is optional,
but this is something we should try.

Stefan

Re: build of avalon on gump

Posted by Leo Simons <le...@apache.org>.
Antoine Lévy-Lambert wrote:
> Stefan Bodewig wrote:
> 
>> Hmm, there are six files in that directory and according to WebCVS
>> they are supposed to be there as well.
>>
> 
> The culprit file can be viewed here :

the testcase is correct. When you run it manually (ie on 
lsd.student.utwente.nl, the exact same testcase), it works. There's a 
classloader issue of some kind. Bu I am no doubt the culprit :D

-- 
cheers,

- Leo Simons

-----------------------------------------------------------------------
Weblog              -- http://leosimons.com/
IoC Component Glue  -- http://jicarilla.org/
Articles & Opinions -- http://articles.leosimons.com/
-----------------------------------------------------------------------
"We started off trying to set up a small anarchist community, but
  people wouldn't obey the rules."
                                                         -- Alan Bennett



Re: build of avalon on gump

Posted by Antoine Lévy-Lambert <an...@antbuild.com>.
Stefan Bodewig wrote:

>Hmm, there are six files in that directory and according to WebCVS
>they are supposed to be there as well.
>
>Stefan
>
>  
>
Sorry, pilot error, I had looked at the wrong CVS directory

The culprit file can be viewed here :

http://cvs.apache.org/viewcvs.cgi/*checkout*/avalon/framework/api/src/test/org/apache/avalon/framework/test/ValuedEnumTestCase.java?content-type=text%2Fplain&rev=1.1

Author : Leo Simons (sounds familiar on the gump mailing list).

Antoine

Re: build of avalon on gump

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 20 Feb 2004, Antoine Lévy-Lambert <an...@antbuild.com>
wrote:

> the build of avalon fails on gump, but I have the impression that it
> is failing for the wrong reason :
> attempting to compile source files which *should not be there in the
> first place*

rsync sometimes doesn't work as expected, I've come accross situations
where I had to manually clean out the workspace Gump uses myself more
than once.

All the excalibur builds failed on my installation last night since
the build files now contain the license in comments before the XML
declaration which is not valid according to Xerces.

> Can whoever has access to lsd clean this directory :
> 
> /data3/gump/avalon/framework/api/src/test/org/apache/avalon/framework/test/

I wouldn't want to do that while Gumpy is running.

Hmm, there are six files in that directory and according to WebCVS
they are supposed to be there as well.

Stefan