You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Frank Herrmann <fr...@gmx.de> on 2002/05/23 17:54:07 UTC

Build question

Hello!

I'm trying to build the slide webapp from the cvs repository with the 
build.xml - ant-file.
I get an error while executing the build-file:
...
webdav-client:
java.lang.NoClassDefFoundError: antlr/Tool
Exception in thread "main"
build.xml [549] java failed with return code 1
BUILD FAILED

I know, that antl.jar archive is located in /lib. 
Could anyone please give me a hint, because I want to use the 
deltaV-extension within slide.

Thanks in advance

Frank



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Build question

Posted by Michael Nash <mi...@jglobalonline.com>.
Hello All:

I'm also getting build errors - but not Antlr related (the fix below worked for me).

I'm getting:

/home/slide/jakarta-slide/src/wrappers/catalina/BaseHostConfig.java:112: Can't subclass final classes: class org.apache.catalina.startup.HostConfig

Do I have the wrong release of Tomcat? I'm using 4.04-b3.

Also, below that are some complaints about missing JMX classes, specifically wrappers.jmx.SlideJMX;.

Apologies if these are known already! I'm doing an ant full-dist, incidentally, from the most recent CVS.

Regards,

Michael Nash
JGlobal Ltd.
http://www.jglobalonline.com

On Fri, 24 May 2002 10:07:05 +0200
"Thomas Schüppel" <t....@bit-side.com> wrote:

> On 23 May 2002 at 17:54, Frank Herrmann wrote:
> 
> Send reply to:  	"Slide Users Mailing List" <sl...@jakarta.apache.org>
> Date sent:      	Thu, 23 May 2002 17:54:07 +0200
> From:           	Frank Herrmann <fr...@gmx.de>
> To:             	slide-user@jakarta.apache.org
> Subject:        	Build question
> 
> > Hello!
> > 
> > I'm trying to build the slide webapp from the cvs repository with the 
> > build.xml - ant-file.
> > I get an error while executing the build-file:
> > ...
> > webdav-client:
> > java.lang.NoClassDefFoundError: antlr/Tool
> > Exception in thread "main"
> > build.xml [549] java failed with return code 1
> > BUILD FAILED
> > 
> > I know, that antl.jar archive is located in /lib. 
> > Could anyone please give me a hint, because I want to use the 
> > deltaV-extension within slide.
> 
> 	I know this ain't the proposed way to do it but this
> 	worked for me:
> 	add antlr.jar and antlr-tools.jar to the classpath,
> 	then start ant.
> 	I.E. for windows:
> 	> set CLASSPATH=/pathtojars/antlr.jar;/pathtojars/antlr-tools.jar
> 	> ant full-dist
> 
> 	Regards
> 		Thomas
> 
> --
> Thomas Schüppel, bit~side GmbH   Fon:   +49+30+394054-28
> Salzufer 14a, 10587 Berlin     Fax:   +49+30+394054-51
> http://www.bit-side.com        Email: t.schueppel@bit-side.com
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


Michael Nash
JGlobal Ltd.
http://www.jglobalonline.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Build question

Posted by Thomas Schüppel <t....@bit-side.com>.
On 23 May 2002 at 17:54, Frank Herrmann wrote:

Send reply to:  	"Slide Users Mailing List" <sl...@jakarta.apache.org>
Date sent:      	Thu, 23 May 2002 17:54:07 +0200
From:           	Frank Herrmann <fr...@gmx.de>
To:             	slide-user@jakarta.apache.org
Subject:        	Build question

> Hello!
> 
> I'm trying to build the slide webapp from the cvs repository with the 
> build.xml - ant-file.
> I get an error while executing the build-file:
> ...
> webdav-client:
> java.lang.NoClassDefFoundError: antlr/Tool
> Exception in thread "main"
> build.xml [549] java failed with return code 1
> BUILD FAILED
> 
> I know, that antl.jar archive is located in /lib. 
> Could anyone please give me a hint, because I want to use the 
> deltaV-extension within slide.

	I know this ain't the proposed way to do it but this
	worked for me:
	add antlr.jar and antlr-tools.jar to the classpath,
	then start ant.
	I.E. for windows:
	> set CLASSPATH=/pathtojars/antlr.jar;/pathtojars/antlr-tools.jar
	> ant full-dist

	Regards
		Thomas

--
Thomas Schüppel, bit~side GmbH   Fon:   +49+30+394054-28
Salzufer 14a, 10587 Berlin     Fax:   +49+30+394054-51
http://www.bit-side.com        Email: t.schueppel@bit-side.com





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>