tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albretch Mueller" <lbrt...@gmail.com>
Subject BUILD FAILED ...
Date Wed, 26 Nov 2008 20:58:21 GMT
 Hi,
~
 I installed java and ant in my box:
~
sh-3.1# which java
/media/hda3/jdk1.6.0_07/bin/java
~
sh-3.1# java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
~
sh-3.1# echo $JAVA_HOME
/media/hda3/jdk1.6.0_07
~
sh-3.1# which ant
/media/hda3/inst/sw/java/JARs/ant-1.7.1/bin/ant
sh-3.1# ant -version
Apache Ant version 1.7.1 compiled on June 27 2008
~
 then I downloaded tomcat sources
~
sh-3.1# wget http://mirror.candidhosting.com/pub/apache/tomcat/tomcat-6/v6.0.18/src/apache-tomcat-6.0.18-src.tar.gz
--12:58:10--  http://mirror.candidhosting.com/pub/apache/tomcat/tomcat-6/v6.0.18/src/apache-tomcat-6.0.18-src.tar.gz
           => `apache-tomcat-6.0.18-src.tar.gz'
Resolving mirror.candidhosting.com... 66.230.217.253
Connecting to mirror.candidhosting.com|66.230.217.253|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,484,249 (3.3M) [application/x-gzip]

100%[===================================================================>]
3,484,249    131.14K/s    ETA 00:00

12:58:36 (137.48 KB/s) - `apache-tomcat-6.0.18-src.tar.gz' saved
[3484249/3484249]

~
sh-3.1# ls -l apache*
-rw-r--r-- 1 root root 3484249 Jul 30 05:51 apache-tomcat-6.0.18-src.tar.gz
-rw-r--r-- 1 root root     197 Aug 11 08:25 apache-tomcat-6.0.18-src.tar.gz.asc
-rw-r--r-- 1 root root      67 Jul 30 05:51 apache-tomcat-6.0.18-src.tar.gz.md5
~
sh-3.1# md5sum apache-tomcat-6.0.18-src.tar.gz
9bdbb1c1d79302c80057a70b18fe6721  apache-tomcat-6.0.18-src.tar.gz
~
sh-3.1# cat apache-tomcat-6.0.18-src.tar.gz.md5
9bdbb1c1d79302c80057a70b18fe6721
 *apache-tomcat-6.0.18-src.tar.gz
~
sh-3.1# gpg --import KEYS
gpg: directory `/home/root/.gnupg' created
gpg: can't open `/gnupg/options.skel': No such file or directory
gpg: keyring `/home/root/.gnupg/secring.gpg' created
gpg: keyring `/home/root/.gnupg/pubring.gpg' created
gpg: /home/root/.gnupg/trustdb.gpg: trustdb created
gpg: key F22C4FED: public key "Andy Armstrong <andy@tagish.com>" imported
gpg: key 86867BA6: public key "Jean-Frederic Clere (jfclere)
<JFrederic.Clere@fujitsu-siemens.com>" imported
gpg: key E86E29AC: public key "kevin seguin <seguin@apache.org>" imported
gpg: key 307A10A5: public key "Henri Gomez
<hgomez@users.sourceforge.net>" imported
gpg: key 564C17A3: public key "Mladen Turk (*** DEFAULT SIGNING KEY
***) <mturk@apache.org>" imported
gpg: key 7C037D42: public key "Yoav Shapira <yoavs@apache.org>" imported
gpg: key 33C60243: public key "Mark E D Thomas <markt@apache.org>" imported
gpg: key 288584E7: public key "Rémy Maucherat <remm@apache.org>" imported
gpg: key 0D811BBE: public key "Yoav Shapira <yoavs@computer.org>" imported
gpg: Total number processed: 9
gpg:               imported: 9
gpg: no ultimately trusted keys found
~
sh-3.1# gpg --verify apache-tomcat-6.0.18-src.tar.gz.asc
gpg: Signature made Mon Aug 11 08:21:37 2008 EDT using DSA key ID 288584E7
gpg: Good signature from "Rémy Maucherat <remm@apache.org>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 541F BE7D 8F78 B25E 055D  DEE1 3C37 0389 2885 84E7
~
 and tried to compile them, but the build failed and it is complaining
about some eclipse classes. I cannot believe you must have eclipse
installed if you want to run java. What is going on here?
~
sh-3.1# ls -l b*.xml
-rw-r--r-- 1 root root 30284 Jul 21 20:01 build.xml
sh-3.1# ant
Buildfile: build.xml

build-prepare:
    [mkdir] Created dir: /media/hda3/tc/tc-6.0.18/output/classes
    [mkdir] Created dir: /media/hda3/tc/tc-6.0.18/output/build
    [mkdir] Created dir: /media/hda3/tc/tc-6.0.18/output/build/bin
    [mkdir] Created dir: /media/hda3/tc/tc-6.0.18/output/build/conf
    [mkdir] Created dir: /media/hda3/tc/tc-6.0.18/output/build/lib
    [mkdir] Created dir: /media/hda3/tc/tc-6.0.18/output/build/temp
    [mkdir] Created dir: /media/hda3/tc/tc-6.0.18/output/build/webapps


compile:
    [javac] Compiling 1047 source files to
/media/hda3/tc/tc-6.0.18/output/classes
    [javac] /media/hda3/tc/tc-6.0.18/java/org/apache/jasper/compiler/JDTCompiler.java:38:
package org.eclipse.jdt.core.compiler does not exist
    [javac] import org.eclipse.jdt.core.compiler.IProblem;
    [javac]                                     ^
    [javac] /media/hda3/tc/tc-6.0.18/java/org/apache/jasper/compiler/JDTCompiler.java:39:
package org.eclipse.jdt.internal.compiler does not exist
    [javac] import org.eclipse.jdt.internal.compiler.ClassFile;
    [javac]                                         ^
    [javac] /media/hda3/tc/tc-6.0.18/java/org/apache/jasper/compiler/JDTCompiler.java:40:
package org.eclipse.jdt.internal.compiler does not exist
    [javac] import org.eclipse.jdt.internal.compiler.CompilationResult;
    [javac]                                         ^
    [javac] /media/hda3/tc/tc-6.0.18/java/org/apache/jasper/compiler/JDTCompiler.java:41:
package org.eclipse.jdt.internal.compiler does not exist
    [javac] import org.eclipse.jdt.internal.compiler.Compiler;
    [javac]                                         ^
    [javac] /media/hda3/tc/tc-6.0.18/java/org/apache/jasper/compiler/JDTCompiler.java:42:
package org.eclipse.jdt.internal.compiler does not exist
    [javac] import
org.eclipse.jdt.internal.compiler.DefaultErrorHandlingPolicies;
    [javac]                                         ^
    [javac] /media/hda3/tc/tc-6.0.18/java/org/apache/jasper/compiler/JDTCompiler.java:43:
package org.eclipse.jdt.internal.compiler does not exist
    [javac] import org.eclipse.jdt.internal.compiler.ICompilerRequestor;
...
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 67 errors
    [javac] 2 warnings

BUILD FAILED
/media/hda3/tc/tc-6.0.18/build.xml:109: Compile failed; see the
compiler error output for details.

Total time: 16 secondsa

---------------------------------------------------------------------
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


Mime
View raw message