cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Cocoon blues under the Sun
Date Tue, 01 Feb 2000 23:18:25 GMT
Toby Ferguson wrote:
> 
> Mike Engelhart wrote:
> 
> > Toby Ferguson wrote:
> >
> > > I've tried compiling Cocoon 'cos I couldn't get it to run (see my previous
> > > post "Running Xalan & Cocoon under JDK 1.2.3 on a Sun" for details).
> > >
> > > Now I get the following error from Ant:
> > >
> > > BUILD CONFIG ERROR: Configuration property "fork" does not have a setMethod
> > > in class org.apache.tools.ant.taskdefs.Java
> > > org.apache.tools.ant.BuildException: Configuration property "fork" does not
> > > have a setMethod in class org.apache.tools.ant.taskdefs.Java
> > >
> > > If someone has a quick solution to this I'd appreciate it -  I really don't
> > > want to go down the path of having to learn all about Ant just to get Cocoon
> > > up and running, but if I need to I shall.
> > >
> > > TIA
> > >
> > > Toby Ferguson
> > Did you get the latest build of Ant?  I heard there were some changes to Ant
> > that made compiling Cocoon require the latest version.
> >
> 
> Yup - I downloaded ant again this morning, just to make sure, and it still blows
> up in my face.
> 
> I've also tried deleting the 'fork="yes" portion which seems to be causing the
> trouble. Once I do that then I get the following error:
> 
> "BUILD CONFIG ERROR: Could not create task of type: javadoc
>  due to java.lang.NullPointerException"
> 
> Which is actually addressed in build.xml as point 4):
> 
> "4) why does Ant replies with the following message?
> 
> "BUILD CONFIG ERROR: Could not create task of type: javadoc
>  due to java.lang.NullPointerException"
> 
> This is because you need to upgrade your installed Ant, major improvements
> in the build process make older versions obsolete and Cocoon requires these
> new improvements in order to build correctly."
> 
> trouble is, I HAVE upgraded and it still isn't working!
> 
> Clues?

Ant is now located on its own CVS module called "jakarta-ant" what's
found in jakarta-tools is old stuff.

Make sure you get _that_ ant and everything will work just fine.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Come to the first official Apache Software Foundation Conference!  
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message