You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by david <da...@davidwbrown.name> on 2007/07/02 17:55:12 UTC

tomcat compile failure on debian build.xml base.path for JDT eclipse jars et. al.

Hello Tomcat dev, gurus, ranters and ravers, I have downloaded the TC source (apache-tomcat-6.0.13-src.tar.gz) and the ant (1.6) build attempt fails with the following error condition (one of 67 errors):

/usr/local/apache-tomcat-6.0.13-src/java/org/apache/jasper/compiler/JDTCompiler.java:86: cannot find symbol
[javac] symbol  : class ICompilationUnit


I suspect the error message further upstream is the root cause of the error above:


[javac] /usr/local/apache-tomcat-6.0.13-src/java/org/apache/jasper/compiler/JDTCompiler.java:47: package org.eclipse.jdt.internal.compiler.env does not exist [javac] import org.eclipse.jdt.internal.compiler.env.ICompilationUnit;

I have examined the build.xml and the base.path variable needs to point to the location for the jars named above. I cannot find the reference to these packages on my system so the source must be elsewhere. Particulars follow:

OS: Debian 3.1

JAVA: java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

ANT: java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

Please advise, David.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: tomcat compile failure on debian build.xml base.path for JDT eclipse jars et. al.

Posted by Gregor Schneider <rc...@googlemail.com>.
Hm, strange, why does Tomcat need Eclipse-classes for compilation?
Maybe that's a classpath-problem (do you have Eclipse installed on your box?)

Btw. why are your compiling anyway? Tomcat is all Java, therefore it's
ok to download the binaries from tomcat.apache.org, untar them, set
the appropriate exports and off you go.

We're running a few Sarge-boxes here and found no problem using the binaries.

HTH

Gregor
-- 
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: tomcat compile failure on debian build.xml base.path for JDT eclipse jars et. al.

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
try compiling with JDK 1.5, we've heard that there have been problems 
compiling with 1.6

Filip

david wrote:
> Hello Tomcat dev, gurus, ranters and ravers, I have downloaded the TC source (apache-tomcat-6.0.13-src.tar.gz) and the ant (1.6) build attempt fails with the following error condition (one of 67 errors):
>
> /usr/local/apache-tomcat-6.0.13-src/java/org/apache/jasper/compiler/JDTCompiler.java:86: cannot find symbol
> [javac] symbol  : class ICompilationUnit
>
>
> I suspect the error message further upstream is the root cause of the error above:
>
>
> [javac] /usr/local/apache-tomcat-6.0.13-src/java/org/apache/jasper/compiler/JDTCompiler.java:47: package org.eclipse.jdt.internal.compiler.env does not exist [javac] import org.eclipse.jdt.internal.compiler.env.ICompilationUnit;
>
> I have examined the build.xml and the base.path variable needs to point to the location for the jars named above. I cannot find the reference to these packages on my system so the source must be elsewhere. Particulars follow:
>
> OS: Debian 3.1
>
> JAVA: java version "1.6.0_01"
> Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
> Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
>
> ANT: java version "1.6.0_01"
> Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
> Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
>
> Please advise, David.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org