velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Revusky <revu...@wanadoo.es>
Subject Re: The Guardian website moves to Velocity
Date Sat, 12 May 2007 21:03:05 GMT
Robert Koberg wrote:
> On Sat, 2007-05-12 at 19:18 +0200, Jonathan Revusky wrote:
> 
>>It does need to be reproduceable. I have to be able to run it myself.
> 
> 
> I put the XSL here:
> 
> http://koberg.com/db.xsl
> 
> To run it, I created an 'xsl' directory in your src/transform dir. You
> will see some XSL commented out in <xsl:template name="output-page">
> with the xsltc namespace. If you want to try XSLTC, uncomment it and
> comment out the stuff in the saxon namespace.
> 
> I used the following for your Ant build in the transform target
> (commented out your taskdef and task)
> 
> 
>     <xslt in="${docgen.manualsrc.dir}/book.xml"
> out="${docgen.output.dir}/book.html"
>         style="${docgen.transformsrc.dir}/xsl/db.xsl" force="true">
>         <factory name="com.icl.saxon.TransformerFactoryImpl"/>
>         <!--
>             <factory
> name="org.apache.xalan.xsltc.trax.TransformerFactoryImpl"/>
>             <factory name="com.icl.saxon.TransformerFactoryImpl"/>
>         -->
>     </xslt>

ClassNotFoundException. What needs to be on the CLASSPATH to run this?


transform:
      [xslt] DEPRECATED - xalan processor is deprecated. Use trax instead.
      [xslt] DEPRECATED - xslp processor is deprecated. Use trax instead.
      [xslt] java.lang.ClassNotFoundException: 
org.apache.tools.ant.taskdefs.optional.XslpLiaison
      [xslt] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      [xslt] 	at java.security.AccessController.doPrivileged(Native Method)
      [xslt] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      [xslt] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      [xslt] 	at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
      [xslt] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      [xslt] 	at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      [xslt] 	at java.lang.Class.forName0(Native Method)
      [xslt] 	at java.lang.Class.forName(Class.java:164)
      [xslt] 	at 
org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:419)
      [xslt] 	at 
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:397)
      [xslt] 	at 
org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:619)
      [xslt] 	at 
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:212)
      [xslt] 	at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [xslt] 	at org.apache.tools.ant.Task.perform(Task.java:364)
      [xslt] 	at org.apache.tools.ant.Target.execute(Target.java:341)
      [xslt] 	at org.apache.tools.ant.Target.performTasks(Target.java:369)
      [xslt] 	at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
      [xslt] 	at 
org.apache.tools.ant.Project.executeTarget(Project.java:1185)
      [xslt] 	at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
      [xslt] 	at 
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
      [xslt] 	at org.apache.tools.ant.Main.runBuild(Main.java:668)
      [xslt] 	at org.apache.tools.ant.Main.startAnt(Main.java:187)
      [xslt] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
      [xslt] 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
      [xslt] java.lang.ClassNotFoundException: 
org.apache.tools.ant.taskdefs.optional.XalanLiaison
      [xslt] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      [xslt] 	at java.security.AccessController.doPrivileged(Native Method)
      [xslt] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      [xslt] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      [xslt] 	at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
      [xslt] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      [xslt] 	at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      [xslt] 	at java.lang.Class.forName0(Native Method)
      [xslt] 	at java.lang.Class.forName(Class.java:164)
      [xslt] 	at 
org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:419)
      [xslt] 	at 
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:402)
      [xslt] 	at 
org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:616)
      [xslt] 	at 
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:212)
      [xslt] 	at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [xslt] 	at org.apache.tools.ant.Task.perform(Task.java:364)
      [xslt] 	at org.apache.tools.ant.Target.execute(Target.java:341)
      [xslt] 	at org.apache.tools.ant.Target.performTasks(Target.java:369)
      [xslt] 	at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
      [xslt] 	at 
org.apache.tools.ant.Project.executeTarget(Project.java:1185)
      [xslt] 	at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
      [xslt] 	at 
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
      [xslt] 	at org.apache.tools.ant.Main.runBuild(Main.java:668)
      [xslt] 	at org.apache.tools.ant.Main.startAnt(Main.java:187)
      [xslt] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
      [xslt] 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message