[Biojava-dev] ant xslt task

Martin Szugat Martin.Szugat at GMX.net
Mon Jan 23 05:54:39 EST 2006


Hi Mark,

Download the version 6.5.2 of Saxon: 

http://prdownloads.sourceforge.net/saxon/saxon6_5_2.zip?download

Next, set the TransformerFactory property:

javax.xml.transform.TransformerFactory=com/icl/saxon/TransformerFactoryImpl.
class  

The saxon.jar library must be included in the ant classpath.

Best regards

Martin

> -----Original Message-----
> From: mark.schreiber at novartis.com 
> [mailto:mark.schreiber at novartis.com] 
> Sent: Monday, January 23, 2006 10:33 AM
> To: Martin Szugat
> Cc: biojava-dev at biojava.org; biojava-dev-bounces at portal.open-bio.org
> Subject: RE: [Biojava-dev] ant xslt task
> 
> Unfortunately that makes the Ant build dependant on some kind 
> of Unix/ Linux environment which is not ideal.
> 
> Any other ideas??
> 
> - Mark
> 
> 
> 
> 
> 
> "Martin Szugat" <Martin.Szugat at GMX.net>
> Sent by: biojava-dev-bounces at portal.open-bio.org
> 01/20/2006 10:42 PM
> 
>  
>         To:     <biojava-dev at biojava.org>
>         cc:     Mark Schreiber/GP/Novartis at PH
>         Subject:        RE: [Biojava-dev] ant xslt task
> 
> 
> Hi Mark,
> 
> I tried it using XMLSpy. It didn't work. Next I used the 
> xslt-proc command, and now it worked. Finally, I tried Saxon, 
> and it didn't work. So my proposal is using the xslt-proc 
> command within the Ant script.
> 
> Best regards
> 
> Martin
> 
> > -----Original Message-----
> > From: biojava-dev-bounces at portal.open-bio.org
> > [mailto:biojava-dev-bounces at portal.open-bio.org] On Behalf Of 
> > mark.schreiber at novartis.com
> > Sent: Friday, January 20, 2006 10:38 AM
> > To: biojava-dev at biojava.org
> > Subject: [Biojava-dev] ant xslt task
> > 
> > Hi -
> > 
> > I'm trying to add an ant xslt task to the build.xml file to convert 
> > the BioJavaX.xml into html.
> > 
> > When I run it I always seem to get a
> > javax.xml.transform.TransformerException.
> > 
> > I am using:
> > 
> > jdk 1.5.0.03
> > ant 1.6.2
> > dockbook-xsl 1.6.9.1
> > 
> > Has anyone managed to get this to work in the past?
> > 
> > - Mark
> > 
> > Mark Schreiber
> > Research Investigator (Bioinformatics)
> > 
> > Novartis Institute for Tropical Diseases (NITD) 10 Biopolis Road
> > #05-01 Chromos
> > Singapore 138670
> > www.nitd.novartis.com
> > 
> > phone +65 6722 2973
> > fax  +65 6722 2910
> > 
> > _______________________________________________
> > biojava-dev mailing list
> > biojava-dev at biojava.org
> > http://biojava.org/mailman/listinfo/biojava-dev
> > 
> > 
> 
> _______________________________________________
> biojava-dev mailing list
> biojava-dev at biojava.org
> http://biojava.org/mailman/listinfo/biojava-dev
> 
> 
> 



More information about the biojava-dev mailing list