ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Bailliez" <sbaill...@apache.org>
Subject Re: 1.4 Beta2 is available
Date Sun, 19 Aug 2001 18:08:47 GMT
----- Original Message -----
From: "Conor MacNeill" <conor@cortexebusiness.com.au>
To: <ant-dev@jakarta.apache.org>
Sent: Sunday, August 19, 2001 6:45 PM
Subject: 1.4 Beta2 is available


> I have put up Beta2 build
> http://jakarta.apache.org/builds/jakarta-ant/release/v1.4Beta2/

Cool ! Thanks for all the tremendous work you did !

> No readme yet - I have run out of time right now. I'll add that tomorrow
> and then announce on ant-user et al. Let me know if there are any
problems.

> Stephane, I've built with xalan2 + compat jar. Can you check it out to
make
> sure it is OK?

I'm starting to wondering what OK means with xml related stuff... :)
junitreport works ok, I'm detecting for xalan2 in priority anyway and
xalanj1compat needs xalan2, so now I'm saved :)

XalanLiaison does not work with xalanj1compat...it gives me a Verify error
(see below)...it works with Xalan 1.2.2 (+xerces).
The verify error is not that clear... but....if I compile ant 1.4 with
xalanj1compat (no xalan 1.2.2)...and replace the optional.jar from the beta2
I don't get this error.

Try simply with a:
<style processor="xalan" in="dummy.xml" out="./dummy.html"
style="./dummy.xsl"/>


logs below are with the beta2 optional.jar...they all pass using my own
compiled optional jar.

-------------- Xalan 1.2.2 only
run-xalan:
     [echo] classpath:
d:\jdk\jdk1.3.1\lib\tools.jar;D:\jakarta-ant-1.4beta2\lib
\xalan122.jar;D:\jakarta-ant-1.4beta2\lib\optional.jar;D:\jakarta-ant-1.4bet
a2\l
ib\bsf.jar;D:\jakarta-ant-1.4beta2\lib\xerces.jar;D:\jakarta-ant-1.4beta2\li
b\an
t.jar;D:\jakarta-ant-1.4beta2\lib\jakarta-regexp-1.2.jar;D:\jakarta-ant-1.4b
eta2
\lib\antlr.jar;D:\jakarta-ant-1.4beta2\lib\junit.jar;D:\jakarta-ant-1.4beta2
\lib
\jakarta-oro-2.0.4.jar;D:\jakarta-ant-1.4beta2\lib\jaxp.jar;D:\jakarta-ant-1
.4be
ta2\lib\crimson.jar;
    [style] Using class org.apache.tools.ant.taskdefs.optional.XalanLiaison

BUILD SUCCESSFUL


------ Xalan2 + Xalanj1compat (2.2D9 from cvs)

run-xalan:
     [echo] classpath:
d:\jdk\jdk1.3.1\lib\tools.jar;D:\jakarta-ant-1.4beta2\lib
\xalanj1compat.jar;D:\jakarta-ant-1.4beta2\lib\xalan.jar;D:\jakarta-ant-1.4b
eta2
\lib\optional.jar;D:\jakarta-ant-1.4beta2\lib\bsf.jar;D:\jakarta-ant-1.4beta
2\li
b\xerces.jar;D:\jakarta-ant-1.4beta2\lib\ant.jar;D:\jakarta-ant-1.4beta2\lib
\jak
arta-regexp-1.2.jar;D:\jakarta-ant-1.4beta2\lib\antlr.jar;D:\jakarta-ant-1.4
beta
2\lib\junit.jar;D:\jakarta-ant-1.4beta2\lib\jakarta-oro-2.0.4.jar;D:\jakarta
-ant
-1.4beta2\lib\jaxp.jar;D:\jakarta-ant-1.4beta2\lib\crimson.jar;

BUILD FAILED

java.lang.VerifyError: (class:
org/apache/tools/ant/taskdefs/optional/XalanLiais
on, method: transform signature: (Ljava/io/File;Ljava/io/File;)V)
Incompatible o
bject argument for function call
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:
289)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProces
s.java:275)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java
:393)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:14
1)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:164)
        at org.apache.tools.ant.Target.performTasks(Target.java:182)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at org.apache.tools.ant.Main.runBuild(Main.java:454)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)

Total time: 2 seconds
(class: org/apache/tools/ant/taskdefs/optional/XalanLiaison, method:
transform s
ignature: (Ljava/io/File;Ljava/io/File;)V) Incompatible object argument for
func
tion call



Mime
View raw message