Known bug, add the following to your goal:
-- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Martin Jaeger <[EMAIL PROTECTED]> wrote on 07/08/2003 02:41:14 AM: > Hi together > > I have to do a xslt tranformation in a maven goal. > I tried to implement this by using the ant xslt task. > > My maven.xml looks like this: > > <project default="XMLToProperties" xmlns:ant="jelly:ant"> > <goal name="XMLToProperties"> > <echo>XSLT tranformation started</echo> > <ant:xslt > style="${basedir} > /resources/ch/netcetera/vega/service/config/propertiestool.xsl" > in="${basedir}/resources/ch/netcetera/vega/service/config/10_config-texts.xml" > out="${basedir} > /resources/ch/netcetera/vega/service/config/10_config-texts_1.properties"> > <param name="lc" expression="1"/> > <param name="status" expression="all"/> > <param name="context" expression="0"/> > <param name="sc" expression="="/> > </ant:xslt> > </goal> > </project> > > The path to the in, out and style files is correct (Tested with the -X > flag). I read somewhere that I have to download Xalan.jar if I'm not using > JDK 1.4. But I'm using JDK 1.4 and building on Win XP. > > Do you have any ideas? > > The result when I try to build the goal is this: > > Provider for javax.xml.transform.TransformerFactory cannot be found > com.werken.werkz.UnattainableGoalException: Unable to obtain goal > [XMLToProperti > es] -- file:/H:/projects/tkf-014-4/:5:262: <ant:xslt> Provider for > javax.xml.tra > nsform.TransformerFactory cannot be found > at com.werken.werkz.Goal.fire(Goal.java:646) > at com.werken.werkz.Goal.attain(Goal.java:575) > at > org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: > 434) > at > org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) > at org.apache.maven.cli.App.doMain(App.java:525) > at org.apache.maven.cli.App.main(App.java:1088) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at com.werken.forehead.Forehead.run(Forehead.java:543) > at com.werken.forehead.Forehead.main(Forehead.java:573) > org.apache.commons.jelly.JellyTagException: > file:/H:/projects/tkf-014-4/:5:262: > <ant:xslt> Provider for javax.xml.transform.TransformerFactory cannot be > found > at > org.apache.commons.jelly.impl.TagScript.handleException(TagScript.jav > > > Thanks a lot > Martin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
