Yes and no... If <style> accepted a URL instead of a file name, and you started Ant with an ANT_OPTS that adds -Djava.protocol.handler.pkgs=com.lgc.java.net.protocol (for example), and you have a com.lgc.java.net.protocol.resource.Handler custom URL protocol handler like us (or the equivalent class in JBoss or ClassWorlds), then you could specify the stylesheet as
"resource://com/acme/style/SuperTransform.xsl". Unfortunately, many Ant tasks accept only file names instead of URLs, just like <style>... I think I saw a recent BugZilla entry along the same line, probably for another specific task. --DD -----Original Message----- From: Nau, Michael [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:32 PM To: [EMAIL PROTECTED] Subject: Loading stylesheets from a jar file (<xslt> task) Does anyone know of a way to load an xsl stylesheet from a jar file rather than a path off the basedir? I would like to repackage the javancss stuff to include the stylesheets in the javancss.jar then load the stylesheet from the jar in ant. This would ease the issues of having to keep track of both the stylesheets and the jars separately. Any ideas? Thanks, Mike. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>