tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Albretch Mueller <lbrt...@gmail.com>
Subject Re: tomcat deps on ant which deps on junit ... BUILD FAILED
Date Tue, 01 May 2012 03:13:27 GMT
 Now, I think this error relates to java
~
$ export _DT=`date +%Y%m%d%H%M%S`knoppix@Microknoppix:/media/sdb1/prjx
$ ant -verbose -debug -f build.xml > "apache-tomcat-7.0.27"$_DT".inst.log" 2>&1
$ cat "apache-tomcat-7.0.27"$_DT".inst.log"
Apache Ant(TM) version 1.8.2 compiled on May 19 2011
Buildfile: /media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.6 in: /usr/lib/jvm/java-6-openjdk/jre
Detected OS: Linux
Adding reference: ant.ComponentHelper
Setting ro project property: ant.file ->
/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml
Setting ro project property: ant.file.type -> file
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile
/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml
with URI = file:/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml
Setting ro project property: ant.project.name -> Tomcat 7.0
Adding reference: Tomcat 7.0
Setting ro project property: ant.project.default-target -> deploy
Setting ro project property: ant.file.Tomcat 7.0 ->
/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml
Setting ro project property: ant.file.type.Tomcat 7.0 -> file
Project base dir set to:
/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src
 +Target:
...
build-manifests:
Skipped because property 'manifests.uptodate' set.

build-tomcat-dbcp:
fileset: Setup scanner in dir
/media/sdb1/inst/sw/jdk/commons-pool-1.5.7-src with patternSet{
includes: [**/*.java] excludes: [**/test/**] }
fileset: Setup scanner in dir
/media/sdb1/inst/sw/jdk/commons-dbcp-1.4-src with patternSet{
includes: [**/*.java] excludes: [**/test/**, **/managed/**] }
     [copy] src/java/org/apache/commons/pool/BaseKeyedObjectPool.java
added as src/java/org/apache/commons/pool/BaseKeyedObjectPool.java
doesn't exist.
...
    [javac] javac: invalid target release: 1.7
    [javac] Usage: javac <options> <source files>
    [javac] use -help for a list of possible options
  [antcall] Exiting
/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml.

BUILD FAILED
/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml:2321:
The following error occurred while executing this line:
/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml:2409:
Compile failed; see the compiler error output for details.
	at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1150)
	at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:912)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.Main.runBuild(Main.java:809)
	at org.apache.tools.ant.Main.startAnt(Main.java:217)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 3 seconds

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


Mime
View raw message