|
From: David S. <ds...@st...> - 2002-01-29 23:52:26
|
Hey Bob, Probably not official answers. But as someone who's been following pretty closely, I'll help where I can. 1. ExecuteXComponent.py will execute an X Component. It's main method looks like mainly a test driver so you would have to launch a jython interpreter and then "from ExecuteXComponent import ExecuteXComponent" Then you can call ExecuteXComponent() while in the interpreter. Just look in ExecuteXComponent for the arguments. This will work for JavaClass, Jython, and XSLT XComponents. No support for execute yet. Doing this directly will allow you to use whatever input and output files you like. I have been trying to mirror some of the XComponent development in Java and this provides an alternative means to execute an XComponent. If interested see here from the list archives: http://www.geocrawler.com/lists/3/SourceForge/17817/0/7615048/ 2. The Big Aspirational Plan is probably not the best resource for the short term stages. http://xpipe.sourceforge.net/Articles/Documentation/fog0000000039.html Lists the short term deliverables. XPipes come in the anxiously awaited 0.6. 3. Split, Scatter, and Gather are functions of the XRig, a level above the XPipe. I wrote one XCOmponent that mimics the Jython program that generates HTML documentation of an XComponent. YOu can fetch it from http://www.starrconnect.com/xpipe/doc.xco . Note that my web server doesn't deliver it with the proper MIME type so to fetch it use something like wget or in a browser 'view source' then 'save as'. I believe that Sean hopes others my contribute some valuable XComponents. David -----Original Message----- From: xpi...@li... [mailto:xpi...@li...]On Behalf Of DuCharme, Bob (LNG) Sent: Tuesday, January 29, 2002 4:20 PM To: 'xpi...@li...' Subject: [Xpipe-developers] questions about using 0.4 Hello XPipers! I downloaded xpipe0.4.zip and ran the xc0 - xc3 tests fine using Windows 98 and Sun's Java HotSpot Client VM build 1.3.0_01. I have four questions (and I apologize if the answers were under my nose somewhere): 1. How do we tell an XComponent to use some input other than the test input, e.g. a foobar.xml file sitting on the hard disk? 2. Although the Big Aspirational Plan document says that XPipes are the focus of the 0.4 release, and Schemas\XPipe.dtd does show me the proper structure of an XPipe, I don't see anything in the 0.4 distribution about running a pipeline. How do I use the output from one XComponent as the input of the next one? 3. The FAQ mentions XComponents split, scatter, gather, triggers etc., but I don't see these anywhere in XPipe 0.4 distribution. Where can I see XComponents other than xc0 - xc3? 4. Tell me more about executing Code with type="Exec". For example, if it's an Omnimark script, where would I say that Omnimark is the executable to run? Two points about the README file: In Step 2, "XComponentUnitTest.py" should say "jython XComponentUnitTester.py" In "jython InstallXComponent.py XComponents/xc2.xco /test" in the readme, I would lose the / before test throughout. Why put the test file off the root? A subdirectory of the installation directory makes more sense. (Or at least add a note in step 1 that that's the path name--this isn't obvious, especially to us old folk who remember the forward slash used to indicate switches in DOS--and that you might want to install it elsewhere.) Bob DuCharme www.snee.com/bob <bob@ snee.com> see http://www.snee.com/bob/xsltquickly for info on book "XSLT Quickly" from Manning Publications. _______________________________________________ Xpipe-developers mailing list Xpi...@li... https://lists.sourceforge.net/lists/listinfo/xpipe-developers |