cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: compliation error
Date Wed, 14 Feb 2001 15:06:50 GMT
Markus Schroeder wrote:
> 
> 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 !

What's there to experience.  Just type "build webapp" and the magic
starts.  The docs for Ant are excellent, and it is alot easier to
understand than a Makefile.

What are you trying to build that you need Cocoon for compilatrion?

Mime
View raw message