I added it but it doesn't change anything :-(   ...

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 13 août 2003 10:49
À : Maven Users List
Objet : Re: XSLT transformation problem


You'll need:
        <dependency>
            <groupId>xalan</groupId>
            <artifactId>xalan</artifactId>
            <version>2.5.1</version>
            <properties>
              <classloader>root</classloader>
            </properties>
        </dependency>

For xalan I think.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


"Nicolas FRANK" <[EMAIL PROTECTED]> wrote on 13/08/2003 06:10:55 
PM:

> First, I just moved to beta10 and I was happily surprised that the 
> speed
has
> really improve (my build goes almost 50% faster!). I also enjoy the
<type>
> support that allows me to remove a lot of my hacks.
> 
> So thank's for the great job everybody is doing...
> 
> 
> I still have problem with XSLT even with the hack can you help me ?
> 
> 
> Here is my maven script:
>    <goal name="gen-ruledoc">
>         <!-- Major hack - set jaxp properties as they are foobared -->
> 
> 
${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apach
> e.xalan.processor.TransformerFactoryImpl')}
> 
>         <xslt
basedir="${basedir}/../../server/xml/analyses/rulesets/drools"
>                 destdir="${maven.build.dir}/docs/rulesets"
>                 extension=".html"
> 
> style="${basedir}/src/documentation/moteurDeRegles/regles.xslt"
>                 processor="trax"
>             />
>     </goal>
> 
> I have the following dependancies into my project.xml
> 
>  <!-- ==parsers XML est XSL== -->
>         <dependency>
>             <groupId>xerces</groupId>
>             <artifactId>xerces</artifactId>
>             <version>2.4.0</version>
>             <properties>
>                 <ejb.manifest.classpath>true</ejb.manifest.classpath>
>             </properties>
>         </dependency>
> 
>         <dependency>
>             <groupId>xalan</groupId>
>             <artifactId>xalan</artifactId>
>             <version>2.5.1</version>
>         </dependency>
> 
>         <dependency>
>             <groupId>xml-apis</groupId>
>             <artifactId>xml-apis</artifactId>
>             <version>2.0.2</version>
>             <properties>
>                 <ejb.manifest.classpath>true</ejb.manifest.classpath>
>             </properties>
>         </dependency>
> 
> 
> Here what I get :
> 
> C:\JAVA\maven-1.0-beta-10\bin\maven.bat gen-ruledoc
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
> 
> gen-ruledoc:
>             [xslt] Transforming into 
> D:\Developpement\Projets\J2EE\ear\ejb\target\docs\rulesets
>     [xslt] Processing
> 
D:\Developpement\Projets\J2EE\server\xml\analyses\rulesets\drools\ruleset-tes
> t_drools.drl to
> 
D:\Developpement\Projets\J2EE\ear\ejb\target\docs\rulesets\ruleset-test_drool
> s.html
>     [xslt] Loading stylesheet
> 
D:\Developpement\Projets\J2EE\ear\ejb\src\documentation\moteurDeRegles\regles
> .xslt
> 
> BUILD FAILED
> File...... file:/D:/Developpement/Projets/J2EE/ear/ejb/
> Element... xslt
> Line...... 112
> Column.... 15
> Provider org.apache.xalan.processor.TransformerFactoryImpl not found 
> Total time:  4 seconds
> 
> 
> Thank's.
> 
> Nicolas FRANK.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to