ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Schupp <Michael.Sch...@crosslinks.com>
Subject xalan-java 1.x
Date Tue, 18 Dec 2001 17:14:04 GMT

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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message