ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Piterman <rpiter...@gmx.net>
Subject xmlcatalog to resolve document() in xslt task
Date Mon, 08 Aug 2005 14:53:03 GMT
Hi,
Inside an xslt task I define an xmlcatalog.
In the xsl file I call document(ff.xml)
the file is on the classpath, but I keep getting a NoFileFound Exception.

What did I do wrong?

Cheers,
Ron


<project name="port" default="default">
     <description>
             description
     </description>
	
	<property
		name="t.context"
		value="/home/ron/workspace/Portal/context"
		/>
	
	<property
		name="t.context.lib"
		value="${t.context}/WEB-INF/lib/"
		/>
	
	<property
		name="t.context.classes"
		value="${t.context}/WEB-INF/classes/"
		/>
		
	
	<path id="t.classpath">
		<pathelement location="${t.context.classes}"/>
		<fileset dir="${t.context.lib}">
			<include name="*.jar"/>
		</fileset>
	</path>

     <!-- =================================
           target: default
          ================================= -->
     <target name="default" depends="xsl" description="--> description">
     	
         <echo>Build Successfull.</echo>
     </target>
	
	<target name="xsl">
		<xslt style="tcomdoc.xsl"
			in="tcomdoc.xml"
			out="documentation.xml"
			>
			<xmlcatalog>
				<classpath path="t.classpath"/>
			</xmlcatalog>
		</xslt>
	</target>

</project>



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


Mime
View raw message