ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Richardson <e...@milagrosoft.com>
Subject style task errors
Date Wed, 30 May 2001 00:43:07 GMT
Hi,

The style task doesn't seem to load xalan even when I ask it to.
Any help would be appreciated.

Please reply directly,
Eric

$ ant -version
Ant version 1.3 compiled on March 2 2001


  <target name="foo" description="">
    <style basedir="." 
	   destdir="." 
	   style="${fo.driver}"
	   processor="xalan"
	   in="${test.doc}.xml"
	   out="${test.doc}.html"/>
  </target>


$ ant foo
Buildfile: build.xml

foo:

BUILD FAILED

/home/maxwell/ozonedoc/build.xml:132: java.lang.ClassNotFoundException:
org.apahe.tools.ant.taskdefs.optional.XalanLiaison
--- Nested Exception ---
java.lang.ClassNotFoundException:
org.apache.tools.ant.taskdefs.optional.XalanLaison
	at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:286)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:282)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:243)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:120)
	at
org.apache.tools.ant.taskdefs.XSLTProcess.setProcessor(XSLTProcess.jva:237)
	at java.lang.reflect.Method.invoke(Native Method)
	at
org.apache.tools.ant.IntrospectionHelper$3.set(IntrospectionHelper.jva:352)
	at
org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHlper.java:227)
	at org.apache.tools.ant.ProjectHelper.configure(ProjectHelper.java:619)
at
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfiurable.java:134)
	at org.apache.tools.ant.Task.maybeConfigure(Task.java:220)
	at org.apache.tools.ant.Target.execute(Target.java:152)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.Project.executeTargets(Project.java:510)
	at org.apache.tools.ant.Main.runBuild(Main.java:421)
	at org.apache.tools.ant.Main.main(Main.java:149)

Total time: 2 seconds

Mime
View raw message