Details
-
Bug
-
Status: Resolved
-
Resolution: Incomplete
-
1.4b4
-
None
-
None
-
Operating System: Windows NT/2K
Platform: PC
-
19497
Description
Tried to build jetspeed.war but this fails.
for 1.4b3, I had created a windows batch file to build as follows
set JAVA_HOME=D:\java\j2sdk1.4.1_01
build war
this built the war file, no problemo,
downloaded 1.4b4, and did exactly the same thing, fails with an error (see
below):
D:\java\jetspeed14b4\build>set JAVA_HOME=D:\java\j2sdk1.4.1_01
D:\java\jetspeed14b4\build>rem build war
D:\java\jetspeed14b4\build>cmd
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
D:\java\jetspeed14b4\build>build war
Buildfile: build.xml
init:
[echo] ---------- Jetspeed Portal Implementation 1.4-b4 ----------
[echo] java.class.path = D:\WDSC\WSSD\plugins\com.ibm.etools.iseries.webtoo
ls\lib\wdt400ut.jar;D:\WDSC\WSSD\plugins\com.ibm.etools.iseries.webtools\lib\swi
ngall.jar;d:\WDSC\JAVA;D:\java\j2sdk1.4.1_01\lib\tools.jar;;..\lib\activation.ja
r;..\lib\castor-0.9.3.jar;..\lib\commons-beanutils-1.4.1.jar;..\lib\commons-coll
ections-2.0.jar;..\lib\commons-configuration-1.0-dev.jar;..\lib\commons-dbcp-1.0
-dev-20020806.jar;..\lib\commons-lang-1.0.jar;..\lib\commons-logging-1.0.2.jar;.
.\lib\commons-pool-1.0.jar;..\lib\ecs-1.4.1.jar;..\lib\fulcrum-3.0-b2-dev.jar;..
\lib\jakarta-oro-2.0.6.jar;..\lib\jakarta-regexp-1.2.jar;..\lib\jcs-1.0-dev.jar;
..\lib\jdbc-se2.0.jar;..\lib\log4j-1.2.6.jar;..\lib\mail.jar;..\lib\ojb-0.7.343.
jar;..\lib\servlet_2_2.jar;..\lib\soap.jar;..\lib\stratum-1.0-b4-dev.jar;..\lib\
torque-3.0.jar;..\lib\turbine-2.2.jar;..\lib\uddi4j.jar;..\lib\velocity-1.3.jar;
..\lib\village-1.5.3.jar;..\lib\xalan-2.3.1.jar;..\lib\xerces-2.0.2.jar;..\lib\x
ercesImpl.jar;..\lib\xml-apis.jar;..\build\lib\ant-1.5-optional.jar;..\build\lib
\ant-1.5.jar;..\build\lib\cactus-22-1.2.jar;..\build\lib\cactus-23-1.2.jar;..\bu
ild\lib\cactus-ant-1.2.jar;..\build\lib\httpclient.jar;..\build\lib\junit.jar;..
\build\lib\log4j-core.jar;..\build\lib\xercesImpl.jar;..\build\lib\xml-apis.jar
[echo] java.home = D:\java\j2sdk1.4.1_01\jre
[echo] ant.home = build
[echo] user.home = C:\WINNT\Profiles\Administrator
[echo] basedir = D:\java\jetspeed14b4
[echo] cactus-22.jar = build/lib/cactus-22-1.2.jar
[echo] cactus-23.jar = build/lib/cactus-23-1.2.jar
[echo] cactus.ant.jar = build/lib/cactus-ant-1.2.jar
[echo] junit.jar = build/lib/junit.jar
[echo] build.compiler = ${build.compiler}
[echo] locale.default = en
prepare_apis:
apis:
[delete] Deleting 16 files from D:\java\jetspeed14b4\src\java\org\apache\jets
peed\xml\api\jcm
[java] – Suppressing non fatal warnings.
[javac] Compiling 16 source files to D:\java\jetspeed14b4\bin\classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
check_om:
om:
main:
[unjar] Expanding: D:\java\jetspeed14b4\lib\torque-3.0.jar into D:\java\jets
peed14b4\build\torque\templates.scratch
init-tasks:
sql:
BUILD FAILED
java.lang.VerifyError: (class: org/apache/torque/task/TorqueJDBCTransformTask, m
ethod: generateXML signature: ()V) Incompatible object argument for function cal
l
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
at java.lang.Class.getDeclaredConstructors(Class.java:1152)
at org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja
va:482)
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:162)
at org.apache.tools.ant.helper.ProjectHelperImpl$TaskHandler.finished(Pr
ojectHelperImpl.java:821)
at org.apache.tools.ant.helper.ProjectHelperImpl$AbstractHandler.endElem
ent(ProjectHelperImpl.java:300)
at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1310)
at org.apache.xerces.framework.XMLParser.callEndElement(XMLParser.java:1
950)
at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumen
tScanner.java:1834)
at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
atch(XMLDocumentScanner.java:1223)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1208)
at org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl
.java:155)
at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:117)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:353)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Total time: 15 seconds
java.lang.VerifyError: (class: org/apache/torque/task/TorqueJDBCTransformTask, m
ethod: generateXML signature: ()V) Incompatible object argument for function cal
l
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
at java.lang.Class.getDeclaredConstructors(Class.java:1152)
at org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja
va:482)
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:162)
at org.apache.tools.ant.helper.ProjectHelperImpl$TaskHandler.finished(Pr
ojectHelperImpl.java:821)
at org.apache.tools.ant.helper.ProjectHelperImpl$AbstractHandler.endElem
ent(ProjectHelperImpl.java:300)
at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1310)
at org.apache.xerces.framework.XMLParser.callEndElement(XMLParser.java:1
950)
at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumen
tScanner.java:1834)
at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
atch(XMLDocumentScanner.java:1223)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1208)
at org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl
.java:155)
at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:117)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:353)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
(class: org/apache/torque/task/TorqueJDBCTransformTask, method: generateXML sign
ature: ()V) Incompatible object argument for function call
D:\java\jetspeed14b4\build>