You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Michael Schupp <Mi...@crosslinks.com> on 2001/12/18 18:14:04 UTC
xalan-java 1.x
hi list,
it has recently come to my attention that Xalan-java 1.x has
been deprecated and discontinued..
it appears however that the latest release versio of Ant (1.4.1 as of
this writing) is still using the deprecated (and no longer extant) API(s).
im currently running into an issue compiling struts because of this:
..
mschupp@schupp03 /home/mschupp/java/struts/jakarta-struts-1.0-src
6> ant
Buildfile: build.xml
init:
[echo] --------- jakarta-struts 1.0 ---------
[echo]
[echo] java.class.path =
/home/mschupp/java/ant/jakarta-ant-1.4.1/lib/jaxp.jar:/home/mschupp/java/ant/jakarta-ant-1.4.1/lib/jakarta-ant-1.4.1-optional.jar:/home/mschupp/java/ant/jakarta-ant-1.4.1/lib/crimson.jar:/usr/java/jdk1.3.1_01/jre/lib/rt.jar:/home/mschupp/java/lib/junit.jar:/home/mschupp/java/lib/ant.jar:/home/mschupp/java/lib/optional.jar:/home/mschupp/java/lib/crimson.jar:/home/mschupp/java/lib/jdbc2_0-stdext.jar:/home/mschupp/java/lib/xerces.jar:/home/mschupp/java/lib/servlet.jar:/home/mschupp/java/lib/cactus-ant.jar:/home/mschupp/java/lib/cactus.jar:/home/mschupp/java/lib/jaxp.jar:/usr/java/jdk1.3.1_01/lib/tools.jar
[echo] java.home = /usr/java/jdk1.3.1_01/jre
[echo] user.home = /home/mschupp
prepare.library:
compile.library:
[style] DEPRECATED - xslp processor is deprecated. Use trax or
xalan instead.
[style] java.lang.NoClassDefFoundError:
org/apache/xalan/xslt/XSLTProcessorFactory
[style] at
org.apache.tools.ant.taskdefs.optional.XalanLiaison.<init>(XalanLiaison.java:82)
[style] at java.lang.Class.newInstance0(Native Method)
[style] at java.lang.Class.newInstance(Class.java:237)
[style] at
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:278)
[style] at
org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:406)
[style] at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:141)
[style] at org.apache.tools.ant.Task.perform(Task.java:217)
[style] at org.apache.tools.ant.Target.execute(Target.java:184)
[style] at
org.apache.tools.ant.Target.performTasks(Target.java:202)
[style] at
org.apache.tools.ant.Project.executeTarget(Project.java:601)
[style] at
org.apache.tools.ant.Project.executeTargets(Project.java:560)
[style] at org.apache.tools.ant.Main.runBuild(Main.java:454)
[style] at org.apache.tools.ant.Main.start(Main.java:153)
[style] at org.apache.tools.ant.Main.main(Main.java:176)
[style] java.lang.NoClassDefFoundError: com/kvisco/xsl/XSLProcessor
[style] at
org.apache.tools.ant.taskdefs.optional.XslpLiaison.<init>(XslpLiaison.java:77)
[style] at java.lang.Class.newInstance0(Native Method)
[style] at java.lang.Class.newInstance(Class.java:237)
[style] at
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:274)
..
at first pass, it appears that
org.apache.tools.ant.taskdefs.optional.XalanLiaison is possibly the
guilty party.
this isnt specifically a plea for help as much as it is simply a
heads-up. if i have misunderstood the error any response would be
appreciated.
m
--
there are many things in life you can be fashionably late to,
but the MGM Grand Buffet is not one of them..
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: xalan-java 1.x
Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 18 Dec 2001, Michael Schupp <Mi...@crosslinks.com>
wrote:
> im currently running into an issue compiling struts because of
> this:
If you want to use Xalan-J2 in <style>, you have to say
processor="trax", not "xalan" (which is the support for Xalan 1).
Stefan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>