You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/08/27 03:42:42 UTC

DO NOT REPLY [Bug 30883] - Cocoon 2.1.5.1 build fails with JDK1.5.0-beta2

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30883>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30883

Cocoon 2.1.5.1 build fails with JDK1.5.0-beta2





------- Additional Comments From alexfarberov@hotmail.com  2004-08-27 01:42 -------
trying to compile via ant --verbose:


[root@www1 cocoon-2.1.5.1]# ant -verbose
Apache Ant version 1.6.2 compiled on August 26 2004
Buildfile: build.xml
Detected Java version: 1.5 in: /usr/java/jdk1.5.0/jre
Detected OS: Linux
parsing buildfile /home/sonic/rpm/cocoon-2.1.5.1/build.xml with URI =
file:///home/sonic/rpm/cocoon-2.1.5.1/build.xml
Project base dir set to: /home/sonic/rpm/cocoon-2.1.5.1
Importing file tools/targets/init-build.xml from
/home/sonic/rpm/cocoon-2.1.5.1/build.xml
parsing buildfile /home/sonic/rpm/cocoon-2.1.5.1/tools/targets/init-build.xml
with URI = file:///home/sonic/rpm/cocoon-2.1.5.1/tools/targets/init-build.xml
Importing file tools/targets/compile-build.xml from
/home/sonic/rpm/cocoon-2.1.5.1/build.xml
parsing buildfile /home/sonic/rpm/cocoon-2.1.5.1/tools/targets/compile-build.xml
with URI = file:///home/sonic/rpm/cocoon-2.1.5.1/tools/targets/compile-build.xml
Importing file tools/targets/validate-build.xml from
/home/sonic/rpm/cocoon-2.1.5.1/build.xml
parsing buildfile
/home/sonic/rpm/cocoon-2.1.5.1/tools/targets/validate-build.xml with URI =
file:///home/sonic/rpm/cocoon-2.1.5.1/tools/targets/validate-build.xml
Importing file tools/targets/samples-build.xml from
/home/sonic/rpm/cocoon-2.1.5.1/build.xml
parsing buildfile /home/sonic/rpm/cocoon-2.1.5.1/tools/targets/samples-build.xml
with URI = file:///home/sonic/rpm/cocoon-2.1.5.1/tools/targets/samples-build.xml
Importing file tools/targets/webapp-build.xml from
/home/sonic/rpm/cocoon-2.1.5.1/build.xml
parsing buildfile /home/sonic/rpm/cocoon-2.1.5.1/tools/targets/webapp-build.xml
with URI = file:///home/sonic/rpm/cocoon-2.1.5.1/tools/targets/webapp-build.xml
Importing file tools/targets/ide-build.xml from
/home/sonic/rpm/cocoon-2.1.5.1/build.xml
parsing buildfile /home/sonic/rpm/cocoon-2.1.5.1/tools/targets/ide-build.xml
with URI = file:///home/sonic/rpm/cocoon-2.1.5.1/tools/targets/ide-build.xml
Importing file tools/targets/test-build.xml from
/home/sonic/rpm/cocoon-2.1.5.1/build.xml
parsing buildfile /home/sonic/rpm/cocoon-2.1.5.1/tools/targets/test-build.xml
with URI = file:///home/sonic/rpm/cocoon-2.1.5.1/tools/targets/test-build.xml
Importing file tools/targets/docs-build.xml from
/home/sonic/rpm/cocoon-2.1.5.1/build.xml
parsing buildfile /home/sonic/rpm/cocoon-2.1.5.1/tools/targets/docs-build.xml
with URI = file:///home/sonic/rpm/cocoon-2.1.5.1/tools/targets/docs-build.xml
Importing file tools/targets/dist-build.xml from
/home/sonic/rpm/cocoon-2.1.5.1/build.xml
parsing buildfile /home/sonic/rpm/cocoon-2.1.5.1/tools/targets/dist-build.xml
with URI = file:///home/sonic/rpm/cocoon-2.1.5.1/tools/targets/dist-build.xml
Importing file tools/targets/admin-build.xml from
/home/sonic/rpm/cocoon-2.1.5.1/build.xml
parsing buildfile /home/sonic/rpm/cocoon-2.1.5.1/tools/targets/admin-build.xml
with URI =
file:///home/sonic/rpm/cocoon-2.1.5.1/tools/targets/admin-build.xmlImporting
file tools/targets/standalone-demo-build.xml from
/home/sonic/rpm/cocoon-2.1.5.1/build.xml
parsing buildfile
/home/sonic/rpm/cocoon-2.1.5.1/tools/targets/standalone-demo-build.xml with URI
= file:///home/sonic/rpm/cocoon-2.1.5.1/tools/targets/standalone-demo-build.xml
Importing file tools/targets/instrumentation-build.xml from
/home/sonic/rpm/cocoon-2.1.5.1/build.xml
parsing buildfile
/home/sonic/rpm/cocoon-2.1.5.1/tools/targets/instrumentation-build.xml with URI
= file:///home/sonic/rpm/cocoon-2.1.5.1/tools/targets/instrumentation-build.xml
Importing file tools/targets/upgrade-build.xml from
/home/sonic/rpm/cocoon-2.1.5.1/build.xml
parsing buildfile /home/sonic/rpm/cocoon-2.1.5.1/tools/targets/upgrade-build.xml
with URI = file:///home/sonic/rpm/cocoon-2.1.5.1/tools/targets/upgrade-build.xml
Importing file tools/targets/tools-build.xml from
/home/sonic/rpm/cocoon-2.1.5.1/build.xml
parsing buildfile /home/sonic/rpm/cocoon-2.1.5.1/tools/targets/tools-build.xml
with URI =
file:///home/sonic/rpm/cocoon-2.1.5.1/tools/targets/tools-build.xmlImporting
file tools/targets/forrest-build.xml from /home/sonic/rpm/cocoon-2.1.5.1/build.xml
parsing buildfile /home/sonic/rpm/cocoon-2.1.5.1/tools/targets/forrest-build.xml
with URI = file:///home/sonic/rpm/cocoon-2.1.5.1/tools/targets/forrest-build.xml
Build sequence for target `webapp' is [init, init-tasks, prepare, compile-core,
compile-deprecated, compile-tests, compile, prepare-blocks, blocks, block-roles,
package-core, package-deprecated, package-testcase, package, prepare-webapp,
samples, block-samples, prepare-webapp-samples, prepare-docs, validate-xdocs,
validate-jars, prepare-webapp-docs, javadocs, prepare-webapp-javadocs,
prepare-webapp-test-suite, prepare-webapp-deprecated, validate-config,
custom-conf, webapp]
Complete build sequence is [init, init-tasks, prepare, compile-core,
compile-deprecated, compile-tests, compile, prepare-blocks, blocks, block-roles,
package-core, package-deprecated, package-testcase, package, prepare-webapp,
samples, block-samples, prepare-webapp-samples, prepare-docs, validate-xdocs,
validate-jars, prepare-webapp-docs, javadocs, prepare-webapp-javadocs,
prepare-webapp-test-suite, prepare-webapp-deprecated, validate-config,
custom-conf, webapp, dist, forrest.checkenv, block-anteater-tests,
validate-stylesheets, junit-report, forrest.loadenv,
Woody2CocoonForms-do-not-copy-files, Woody2CocoonForms-copy-files,
forrest.check-build.properties, forrest.checkhome,
forrest.check-project.properties, forrest.check-ant.properties,
forrest.check-.ant.properties, forrest.sethome, forrest.home.defined,
forrest.init, forrest.validate, emacs-project, forrest,
eclipse-webapp-delete-jars, eclipse-webapp-restore-roles,
eclipse-webapp-prepare, generate-blocks.properties, anteater-tests,
correctLinefeed, site, announcement, junit-prepare, junit-tests,
start-instrumentation-client, Woody2CocoonForms, docs_check, docs_done, docs,
junit-test-debug, gump-block, gump-core, clean-cocoon, clean-webapp,
clean-standalone-demo, clean, clean-dist, forrest.webapp, block-tests, test,
standalone-demo, call-block-target, forrest.war,
Woody2CocoonForms-repeater-syntax, validate-sitemaps, war, eclipse-project, ]
 
init:
Override ignored for property DSTAMP
Override ignored for property TSTAMP
Override ignored for property TODAY
 [property] Loading
/home/sonic/rpm/cocoon-2.1.5.1/src/java/org/apache/cocoon/cocoon.properties
[available] Found: /usr/java/jdk1.5.0/lib/tools.jar
 [property] Loading /root/cocoon.build.properties
 [property] Unable to find property file: /root/cocoon.build.properties
 [property] Loading /home/sonic/rpm/cocoon-2.1.5.1/local.build.properties
 [property] Unable to find property file:
/home/sonic/rpm/cocoon-2.1.5.1/local.build.properties
 [property] Loading /home/sonic/rpm/cocoon-2.1.5.1/build.properties
 [property] Loading /root/cocoon.blocks.properties
 [property] Unable to find property file: /root/cocoon.blocks.properties
 [property] Loading /home/sonic/rpm/cocoon-2.1.5.1/local.blocks.properties
 [property] Unable to find property file:
/home/sonic/rpm/cocoon-2.1.5.1/local.blocks.properties
 [property] Loading /home/sonic/rpm/cocoon-2.1.5.1/blocks.properties
Property ${exclude.webapp.documentation} has not been set
Property ${exclude.javadocs} has not been set
Property ${exclude.webapp.javadocs} has not been set
Property ${exclude.webapp.samples} has not been set
Property ${exclude.deprecated} has not been set
Property ${exclude.javadocs} has not been set
Property ${exclude.validate.jars} has not been set
Property ${exclude.validate.config} has not been set
Property ${exclude.validate.xdocs} has not been set
Property ${exclude.documentation} has not been set
 
init-tasks:
    [javac] DocumentCache.java added as DocumentCache.class doesn't exist.
    [javac] ManifestToolTask.java added as ManifestToolTask.class doesn't exist.
    [javac] PoolSetterTask.java added as PoolSetterTask.class doesn't exist.
    [javac] SitemapTask.java added as SitemapTask.class doesn't exist.
    [javac] XConfToolTask.java added as XConfToolTask.class doesn't exist.
    [javac] Compiling 5 source files to
/home/sonic/rpm/cocoon-2.1.5.1/tools/anttasks
    [javac] Using modern compiler
dropping /home/sonic/rpm/cocoon-2.1.5.1/build/cocoon-2.1.5.1/mocks from path as
it doesn't exist
dropping /home/sonic/rpm/cocoon-2.1.5.1/build/cocoon-2.1.5.1/classes from path
as it doesn't exist
    [javac] Compilation arguments:
    [javac] '-nowarn'
    [javac] '-deprecation'
    [javac] '-d'
    [javac] '/home/sonic/rpm/cocoon-2.1.5.1/tools/anttasks'
    [javac] '-classpath'
    [javac]
'/home/sonic/rpm/cocoon-2.1.5.1/tools/anttasks:/home/sonic/rpm/cocoon-2.1.5.1/lib/endorsed/jakarta-bcel-20040329.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/endorsed/jakarta-regexp-1.3.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/endorsed/xalan-2.6.0.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/endorsed/xercesImpl-2.6.2.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/endorsed/xml-apis.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/avalon-framework-api-4.1.5.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/avalon-framework-impl-4.1.5.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/commons-cli-1.0.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/commons-collections-3.0.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/commons-httpclient-2.0-final.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/commons-jexl-1.0-beta-1-20040113.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/commons-jxpath-20030909.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/commons-lang-2.0.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/excalibur-component-1.2.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/excalibur-event-api-1.1.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/excalibur-event-impl-1.1.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/excalibur-i18n-1.1.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/excalibur-instrument-1.0.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/excalibur-instrument-manager-1.0.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/excalibur-instrument-manager-interfaces-1.0.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/excalibur-io-1.1.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/excalibur-logger-1.1.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/excalibur-monitor-1.0.2.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/excalibur-naming-1.0.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/excalibur-pool-1.2.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/excalibur-sourceresolve-1.1.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/excalibur-store-1.0.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/excalibur-testcase-1.2.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/excalibur-xmlutil-1.0.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/javacApi-0.9.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/javacImpl-0.9.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/jcs-1.0-dev-20040516.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/jisp-2.5.1.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/logkit-1.2.2.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/rhino1.5r4-continuations-20040228.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/util.concurrent-1.3.3.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/core/xml-commons-resolver-1.1.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/optional/altrmi-common-0.9.2.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/optional/altrmi-registry-0.9.2.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/optional/altrmi-server-impl-0.9.2.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/optional/altrmi-server-interfaces-0.9.2.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/optional/castor-0.9.5.3-xml.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/optional/commons-logging-1.0.3.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/optional/jakarta-oro-2.0.8.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/optional/jdtcore-2.1.3.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/optional/log4j-1.2.8.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/optional/pizza-1.1.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/optional/servlet_2_2.jar:/home/sonic/rpm/cocoon-2.1.5.1/lib/optional/xreporter-expression-20030725.jar:/home/sonic/rpm/cocoon-2.1.5.1/tools/lib/ant-contrib-0.6.jar:/home/sonic/rpm/cocoon-2.1.5.1/tools/lib/ant-junit.jar:/home/sonic/rpm/cocoon-2.1.5.1/tools/lib/ant-launcher.jar:/home/sonic/rpm/cocoon-2.1.5.1/tools/lib/ant-trax.jar:/home/sonic/rpm/cocoon-2.1.5.1/tools/lib/ant.jar:/home/sonic/rpm/cocoon-2.1.5.1/tools/lib/jing-20030619.jar:/home/sonic/rpm/cocoon-2.1.5.1/tools/lib/junit.jar:/home/sonic/rpm/cocoon-2.1.5.1/tools/lib/qdox-1.3.jar:/home/sonic/rpm/cocoon-2.1.5.1/tools/lib/xmlunit0.8.jar:/usr/local/ant/curr/lib/ant-launcher.jar:/usr/local/ant/curr/lib/ant-jmf.jar:/usr/local/ant/curr/lib/ant-junit.jar:/usr/local/ant/curr/lib/ant-apache-regexp.jar:/usr/local/ant/curr/lib/ant-starteam.jar:/usr/local/ant/curr/lib/ant-netrexx.jar:/usr/local/ant/curr/lib/ant-apache-resolver.jar:/usr/local/ant/curr/lib/ant-apache-oro.jar:/usr/local/ant/curr/lib/ant-nodeps.jar:/usr/local/ant/curr/lib/ant-javamail.jar:/usr/local/ant/curr/lib/ant-swing.jar:/usr/local/ant/curr/lib/ant-stylebook.jar:/usr/local/ant/curr/lib/ant-jai.jar:/usr/local/ant/curr/lib/ant-trax.jar:/usr/local/ant/curr/lib/ant.jar:/usr/local/ant/curr/lib/ant-commons-net.jar:/usr/local/ant/curr/lib/ant-antlr.jar:/usr/local/ant/curr/lib/ant-commons-logging.jar:/usr/local/ant/curr/lib/ant-apache-bcel.jar:/usr/local/ant/curr/lib/ant-vaj.jar:/usr/local/ant/curr/lib/ant-apache-bsf.jar:/usr/local/ant/curr/lib/ant-jsch.jar:/usr/local/ant/curr/lib/ant-xslp.jar:/usr/local/ant/curr/lib/ant-jdepend.jar:/usr/local/ant/curr/lib/ant-apache-log4j.jar:/usr/local/ant/curr/lib/ant-icontract.jar:/usr/local/ant/curr/lib/ant-weblogic.jar:/usr/local/ant/curr/lib/ant-xalan1.jar:/usr/local/ant/curr/lib/xml-apis.jar:/usr/local/ant/curr/lib/xercesImpl.jar:/usr/java/jdk1.5.0/lib/tools.jar'
    [javac] '-sourcepath'
    [javac] '/home/sonic/rpm/cocoon-2.1.5.1/tools/src/anttasks'
    [javac] '-target'
    [javac] '1.3'
    [javac] '-g:none'
    [javac] '-O'
    [javac]
    [javac] The ' characters around the executable and arguments are
    [javac] not part of the command.
    [javac] Files to be compiled:
    [javac]     /home/sonic/rpm/cocoon-2.1.5.1/tools/src/anttasks/DocumentCache.java
    [javac]    
/home/sonic/rpm/cocoon-2.1.5.1/tools/src/anttasks/ManifestToolTask.java
    [javac]    
/home/sonic/rpm/cocoon-2.1.5.1/tools/src/anttasks/PoolSetterTask.java
    [javac]     /home/sonic/rpm/cocoon-2.1.5.1/tools/src/anttasks/SitemapTask.java
    [javac]     /home/sonic/rpm/cocoon-2.1.5.1/tools/src/anttasks/XConfToolTask.java
    [javac] javac: target release 1.3 conflicts with default source release 1.5
 
BUILD FAILED
/home/sonic/rpm/cocoon-2.1.5.1/tools/targets/init-build.xml:159: Compile failed;
see the compiler error output for details.
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:938)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
        at org.apache.tools.ant.Main.runBuild(Main.java:673)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
 
Total time: 2 seconds