ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russ Freeman" <r...@freesoft.co.uk>
Subject Overriding the default XSLT processor w/o using CLASSPATH
Date Fri, 03 May 2002 17:41:36 GMT
WinXP / jdk1.3 / Ant 1.5beta1

Since hearing that I don't need to setup CLASSPATH before call my Ant
script with a <style> task, I've since tried to use the <classpath>
element to specify the location of a xalan install without success,
i.e:-

<style 
	in="${component.root}/Test/Scratch/testresults.xml"
	extension="html"
	style="${components.root}/Build/Code/Scripts/testresults.xsl"
	out="${build}/testresults.html">
	<classpath>
		<pathelement location="${xalan.api}/bin/xalan.jar"/> 
		<pathelement location="${xalan.api}/bin/xml-apis.jar"/> 
		<pathelement
location="${xalan.api}/bin/xercesImpl.jar"/> 
	</classpath>
</style> 

No matter what I try the style task seems unable to see the XSLT
processor. 
It works if I setup CLASSPATH beforehand though.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 19/04/2002
 


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message