|
From: David S. <ds...@st...> - 2002-01-22 03:57:40
|
I have replaced the .zip file at http://www.starrconnect.com/xpipe/JavaXComponent.zip The only change is addition of the ability to execute Java and Python code. Now these plus XSLT XComponents can be executed directly from the .xco file without extracting to a file. Python code is run by instantiating a Jython interpreter. Java code is instantiated through a custom class loader used to load the class data from .xco files. There is a test driver for the XComponentFactory class that can be used to execute .xco file directly. You can invoke it as: java XComponentFactory <xco file> <in file> <out file> <log file> The following need to be in the classpath: JDOM A JAXP parser Jython 2.1 Coming soon: 1) Handling of error conditions. 2) Invoking unit tests 3) Checking of preconditions and postconditions It may be a few days until I get to them. David David Starr 18 Winthrop Terrace Wayland, MA 01778 (508) 358-2975 da...@st... |