On Thursday, Jan 16, 2003, at 19:31 US/Pacific, Nau, Michael wrote:

Does anyone know of a way to load an xsl stylesheet from a jar file
rather than a path off the basedir?
Here's what we do:

			<unjar src="jar_with_xsls.jar" dest="build/jar">
				<patternset>
					<include name="**/*.xsl"/>
				</patternset>
			</unjar>
    <xslt
      in="${build.lib.dir}/exception-javancss.xml"
      out="${build.lib.dir}/exception-javancss.html"
      style="build/jar/com/xyz/javancss2html.xsl"
    />
Not exactly high tech but it gets the job done. Can anyone comment if there will be a cleaner solution in a future ant release?

Dwayne


Use the right kind of glue
http://colle.sf.net


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to