You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Martyn Steele <ma...@thirdspace.tv> on 2002/08/06 12:23:45 UTC
Directing XSLTC output to jars....
Has anybody out there tried using the outputToJar() method of the
org.apache.xalan.xsltc.compiler.XSLTC class?
I am attempting to do the transform and redirect output directly into a jar,
by first using the setJarFileName(String) method. The jar file is being
created along with a default manifest but both are empty!!
Here's a sample of what I was trying:
....
XSLTC xsltc = new XSLTC();
xsltc.init();
xsltc.setDestDirectory(path);
xsltc.setJarFileName("translets");
xsltc.outputToJar();
xsltc.compile(new File(XSLFile).toURL());
.....
I cant find any docs for this method or even anyone else who has used it,
any help would be greatly appreciated...
Cheers
Martyn.