ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: XSLT problem
Date Wed, 19 Feb 2003 15:12:50 GMT
Ggrr - wrong key ...

Ok, again: manual to <xslt> attribute "processor" sais:
"name of the XSLT processor to use. Permissible values are "trax" for a TraX
compliant processor (ie JAXP interface implementation such as Xalan 2 or
Saxon), "xslp" for the XSL:P processor, "xalan" for the Apache XML Xalan
(version 1) processor the name of an arbitrary XSLTLiaison class. Defaults
to trax, followed by xalan and then xslp (in that order). The first one
found in your class path is the one that is used. "

So maybe the following fits for your system: you don´t have a TraX compliant
parser in your classpath. More special: you don´t have any xml parser in
your cp? 


Jan Matèrne 

> -----Ursprüngliche Nachricht-----
> Von: Michael Rauh [mailto:michael.rauh@mindmatics.de]
> Gesendet am: Mittwoch, 19. Februar 2003 15:52
> An: user@ant.apache.org
> Betreff: XSLT problem
> 
> Hi,
> 
> since I use ant 1.5.1 I get this error:
> 
>      [xslt] DEPRECATED - xslp processor is deprecated. Use 
> trax or xalan
> instead.
>      [xslt] java.lang.NoClassDefFoundError: 
> com/kvisco/xsl/XSLProcessor
>      [xslt] 	at
> org.apache.tools.ant.taskdefs.optional.XslpLiaison.<init>(Xslp
> Liaison.java:8
> 0)
>      [xslt] 	at java.lang.Class.newInstance0(Native Method)
>      [xslt] 	at java.lang.Class.newInstance(Class.java:237)
>      [xslt] 	at
> org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSL
> TProcess.java:
> 376)
>      [xslt] 	at
> org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProce
> ss.java:557)
>      [xslt] 	at
> org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.
> java:195)
>      [xslt] 	at org.apache.tools.ant.Task.perform(Task.java:319)
>      [xslt] 	at org.apache.tools.ant.Target.execute(Target.java:309)
>      [xslt] 	at 
> org.apache.tools.ant.Target.performTasks(Target.java:336)
>      [xslt] 	at
> org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>      [xslt] 	at
> org.apache.tools.ant.Project.executeTargets(Project.java:1250)
>      [xslt] 	at org.apache.tools.ant.Main.runBuild(Main.java:610)
>      [xslt] 	at org.apache.tools.ant.Main.start(Main.java:196)
>      [xslt] 	at org.apache.tools.ant.Main.main(Main.java:235)
>      [xslt] java.lang.NoClassDefFoundError:
> org/apache/xalan/xslt/XSLTProcessorFactory
>      [xslt] 	at
> org.apache.tools.ant.taskdefs.optional.XalanLiaison.<init>(Xal
> anLiaison.java
> :84)
>      [xslt] 	at java.lang.Class.newInstance0(Native Method)
>      [xslt] 	at java.lang.Class.newInstance(Class.java:237)
>      [xslt] 	at
> org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSL
> TProcess.java:
> 379)
>      [xslt] 	at
> org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProce
> ss.java:554)
>      [xslt] 	at
> org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.
> java:195)
>      [xslt] 	at org.apache.tools.ant.Task.perform(Task.java:319)
>      [xslt] 	at org.apache.tools.ant.Target.execute(Target.java:309)
>      [xslt] 	at 
> org.apache.tools.ant.Target.performTasks(Target.java:336)
>      [xslt] 	at
> org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>      [xslt] 	at
> org.apache.tools.ant.Project.executeTargets(Project.java:1250)
>      [xslt] 	at org.apache.tools.ant.Main.runBuild(Main.java:610)
>      [xslt] 	at org.apache.tools.ant.Main.start(Main.java:196)
>      [xslt] 	at org.apache.tools.ant.Main.main(Main.java:235)
> 
> BUILD FAILED
> file:D:/Tools/anthill/work/mindmatics/sms/SMSBatchPKG/../../..
/../test.xml:6
1: javax.xml.transform.TransformerFactoryConfigurationError: Provider for
javax.xml.transform.TransformerFactory cannot be found


this is my target

	<xslt basedir="${deployDir}/checkstyle"
          destdir="${deployDir}/checkstyle"
          extension=".html"
		  style="../checkstyle.xsl"
		 >
	 <classpath>
        <fileset dir="D:\Tools\anthill\lib" includes="**/*.jar"/>
    </classpath>

    </xslt>

Thanks

Michael


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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message