Thanks. I will do that. c
On Monday 21 March 2005 21:22, Arnaud HERITIER wrote: > This is certainly the same bug as : > > http://jira.codehaus.org/browse/MPPDF-16 > > You must contact the scarab team to replace the ant:style > task. > > They can use the diff attached to this issue to see what > they should do. > > Cheers. > > Arnaud > > > -----Message d'origine----- > > De : Kenney Westerhof [mailto:[EMAIL PROTECTED] > > Envoy� : lundi 21 mars 2005 17:48 > > � : Maven Users List > > Objet : Re: problems with xdoc and xalan > > > > On Mon, 21 Mar 2005, Caoilte O'Connor wrote: > > > > Argh, I need to learn how to read better :) > > > > I think the problem is that you're using jdl 1.5. I've > > had a lot of trouble myself getting my old projects > > (using xalan/xerces) to work using jdk 1.5. > > > > In jdk 1.4, xerces and xalan are embedded in the jdk. > > In jdk 1.5 too, but the packages are under com/sun (so > > com.sun.org.apache....). > > The original TransformerFactoryImpl seems to have > > disappeared, but I could find this one: > > > > com.sun.org.apache.xalan.internal.xsltc.trax.Transforme > >rFactoryImpl > > > > Maybe that works using -D. > > > > I currently use jdk 1.4, and the -D option works there. > > But according to your log output (hence my 'argh!' > > above) the property was already set correctly. So I > > guess the only solution left is either hack the jelly > > script to use another transformer (if -D doesn't work) > > or go back to jdk 1.4. > > > > Greetings, > > > > Kenney Westerhof > > > > > On Monday 21 March 2005 15:32, Kenney Westerhof wrote: > > > > 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? > > > > > > Hi, > > > It's not my project so I would rather just use the -D > > > property and email the devs about your maven.xml > > > suggest. How would I set the property correctly? > > > > > > I tried, > > > maven xdoc:transform > > > > -Djavax.xml.transform.TransformerFactory=org.apache.xal > >an.processor.Tr > > > > > ansformerFactoryImpl > > > > > > but obviously I'm not understanding something because > > > that didn't work. > > > > > > c > > > > > > > > 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/gene > > > > >rated- xdocs [style] > > > > > Processing > > > > > /home/caoilte/work/java/scarab/scarab/xdocs/scara > > > > >b_prop erties.xml to > > > > > /home/caoilte/work/java/scarab/scarab/target/gene > > > > >rated- xdocs/scarab_properties.xml [style] Loading > > > > > stylesheet > > > > > /home/caoilte/work/java/scarab/scarab/xdocs/prope > > > > >rties. xsl > > > > > > > > > > BUILD FAILED > > > > > File...... > > > > > /home/caoilte/work/java/scarab/scarab/maven.xml > > > > > Element... > > > > > 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] > > > > ------------------------------------------------------- > >-------------- > > > > > 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] > > --------------------------------------------------------- >------------ 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]
