cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Schroeder <mschroe...@rationalizer.com>
Subject Re: compliation error
Date Wed, 14 Feb 2001 14:59:31 GMT
On Tue, Feb 13, 2001 at 01:56:29PM -0500, Donald Ball wrote:
> On Tue, 13 Feb 2001, Markus Schroeder wrote:
> 
> > its a little bit strange but hey it works =)
> > ok normally i try to compile the cocoon sources this way
> >
> > generall classpath was set to:
> >
> > - echo $CLASSPATH
> > - .:/home/staff/mschroeder/jar-bin/xerces/xerces_1_3_0.jar:/home/staff/mschroeder/jar-bin/xalan/xalan_1_2D02.jar:/home/staff/mschroeder/jar-bin/turbine/turbine-pool.jar:/home/staff/mschroeder/jar-bin/servlet/servlet_2_2.jar:/home/staff/mschroeder/jar-bin/fop/fop_0_15_0.jar:/home/staff/mschroeder/jar-bin/ant/ant_1_1.jar:/home/staff/mschroeder/jar-bin/w3c/w3c.jar:/home/staff/mschroeder/jar-bin/stylebook/stylebook_1_0_b2.jar:/home/staff/mschroeder/jar-bin/tools/tools.jar:/home/staff/mschroeder/jar-bin/openxml/openxml.jar
> >
> > then i try to compile with:
> >
> > - cd cocoon/src/
> > - javac -d bin/ org/apache/cocoon/Cocoon.java
> >
> > this has produce the errormessage above ....
> > then after some hour of searching & trying ...
> > ok maybe more trying than searching !
> >
> > but finally i try this:
> >
> > - javac -classpath $CLASSPATH -d bin/ org/apache/cocoon/Cocoon.java
> >
> > AND IT WORKS .... dont ask we why u need to declare the classpath
> > to the compiler directly when its allready set in ur system config
> > but this way it works fine ;)
> 
> why in the world do you try to compile it this way instead of using the
> ant build scripts? they're significantly faster and help you avoid
> classpath issues like the ones you ran into. *sigh*
> 
> - donald

The reason is that i want to make a MAKEFILE first cause i dont have any
exp. with ANT yet but i'll take a closer look to ANT soon !

-- 
Schroeder, Markus
mschroeder@rationalizer.com
The Ratonalizer Intelligent Software AG
Rudower Chausee 29, 12489 Berlin, Germany

Mime
View raw message