On Mon, 21 Mar 2005, Caoilte O'Connor wrote: Hi,
You need to set the transformerfactory property before running ant:style. Execute the following jelly script before you call ant:style: ${systemScope.setProperty( 'javax.xml.transform.TransformerFactory', 'org.apache.xalan.processor.TransformerFactoryImpl' )} You can do this as a preGoal to xdoc:transform in maven.xml. Alternatively you can specify the property using -D on the commandline, but I wouldn't recommend that - where would you document it? Greetings, Kenney Westerhof > Hi, > I'm just starting out with a mavenized project (scarab). I'm > familiar with Maven and was just trying to generate > documentation (xdoc:transform) but got a pretty nasty error > straight off the bat. > > I'm thinking my JDK setup (Sun 1.5.0) is probably wrong (or > possibly my debian/sid ant: 1.6.2) > > any pointers? I thing I need to replace a xalan.jar file > somewhere, but I'm not sure where or how (shouldn't maven > handle this?) > > c > > > maven xdoc:transform > > generates :- > > xdoc:init: > [style] Transforming > into /home/caoilte/work/java/scarab/scarab/target/generated-xdocs > [style] > Processing /home/caoilte/work/java/scarab/scarab/xdocs/scarab_properties.xml > to > /home/caoilte/work/java/scarab/scarab/target/generated-xdocs/scarab_properties.xml > [style] Loading > stylesheet /home/caoilte/work/java/scarab/scarab/xdocs/properties.xsl > > BUILD FAILED > File...... /home/caoilte/work/java/scarab/scarab/maven.xml > Element... ant:style > Line...... 573 > Column.... 76 > Provider org.apache.xalan.processor.TransformerFactoryImpl > not found > Total time: 5 seconds > Finished at: Mon Mar 21 12:57:41 GMT 2005 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]