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 16:20:45 GMT
Markus Schroeder wrote:
> 
> On Wed, Feb 14, 2001 at 10:06:50AM -0500, Berin Loritsch wrote:
> > 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?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
> 
> I need to recompile coocon.jar cause we want to add our own processor
> to cocoon .... and we r always looking for bugs in cocoon !
> And so it's important that we r able to rebuild cocoon if needed.
> 
> And about ANT i don't say it was hard to learn how to use ANT but i don't
> found the time to take a look at it yet.
> But at the mom it's easier for me to use the hard way an write a
> MAKEFILE before i can create a ANT install script which will do
> all the same steps we need =)

Just keep in mind that if the Java file is in the same path as the rest
of the files it will get compiled right along with them

Mime
View raw message