You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Peter Shipley <ps...@nomensa.com> on 2004/06/02 17:16:16 UTC

Using Ant with Eclipse to build Lenya

Just wondering if any of the experts have the answer...

I downloaded and installed (using cvs and the wiki page 
http://wiki.cocoondev.org/Wiki.jsp?page=GETlenya eclipse, cocoon-2.1, 
cocoon-lenya

Now I try and build lenya by using an external ant (1.6) and I get no 
further. The error is:
  BUILD FAILED: java.lang.NoSuchMethodError: 
org.apache.xerces.xni.parser.XMLComponent.getFeatureDefault(Ljava/lang/String;)Ljava/lang/Boolean;

I am specifying the external ant home directory which then populates the 
classpath with all the ant libraries.

Any joy from other people who have managed to set it up ? I know some 
people bypass eclipse for the building and go straight to the command 
line but I would prefer to do this in eclipse if I could.

Regards

Pete

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


Re: Using Ant with Eclipse to build Lenya

Posted by Mario Curcija <cu...@bison-soft.de>.
    So far so good ...

Peter Shipley wrote:

> Just wondering if any of the experts have the answer...
>
> I downloaded and installed (using cvs and the wiki page 
> http://wiki.cocoondev.org/Wiki.jsp?page=GETlenya eclipse, cocoon-2.1, 
> cocoon-lenya
>
  cocoon-2.1 HEAD went too far in development (after cocoon-2.1.5 I 
think you won't get lenya running). 

    Your startpoint:  http://wiki.cocoondev.org/Wiki.jsp?page=GETlenya 
definitely needs to be revised.  Don't  forget  to 
check prerequisites for Lenya install at 
http://cocoon.apache.org/lenya/installation/prerequisites.html. You 
should unpack 2.1.4 (please correct me if I'm wrong) from source tarball 
or zip and use cocoon-lenya's CVS to be in touch with latest 
development. Eclipse 3 M8 worked for me just fine after specifying 
external ant (version. 1.6.1) directory.

Best regards,
Mario Curcija


> Now I try and build lenya by using an external ant (1.6) and I get no 
> further. The error is:
>  BUILD FAILED: java.lang.NoSuchMethodError: 
> org.apache.xerces.xni.parser.XMLComponent.getFeatureDefault(Ljava/lang/String;)Ljava/lang/Boolean; 
>
>
> I am specifying the external ant home directory which then populates 
> the classpath with all the ant libraries.
>
> Any joy from other people who have managed to set it up ? I know some 
> people bypass eclipse for the building and go straight to the command 
> line but I would prefer to do this in eclipse if I could.
>
> Regards
>
> Pete
>
--------------------------------------------------------------------

> To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org