Page 1 of 1

Problem with external FO processor in eclipse

Posted: Fri Apr 22, 2005 11:15 am
by DavidT
Hi!

I'm having trouble using an external fo processor from the eclipse plugin v5.1.

This is the error message:

Code: Select all


Started: C:\Program\Antenna\XSLFormatterV3\XSLCmd.exe -d D:\Dev\Eclipse\Workspace\XML\test.fo_fo -o D:\Dev\Eclipse\Workspace\XML\test.pdf
CreateProcess: C:\Program\Antenna\XSLFormatterV3\XSLCmd.exe -d D:\Dev\Eclipse\Workspace\XML\test.fo_fo -o D:\Dev\Eclipse\Workspace\XML\test.pdf error=267
Process ended with exit code: -1234567
The exact same settings works just fine from the oXygen standalone application, so maybe there is some bug in the eclipse plugin. Error 267 is ERROR_DIRECTORY - The directory name is invalid.

Is this a known problem? I've been looking through the forums but haven't found anything on this topic.

/David

Posted: Fri Apr 22, 2005 11:43 pm
by george
Hi David,

Thanks for reporting this problem, we were able to reproduce it and we logged it on our bugzilla. It appears indeed only in the Eclipse plugin distribution. We will investigate it and let you know our findings.

Best Regards,
George

Re: Problem with external FO processor in eclipse

Posted: Tue Apr 26, 2005 1:42 pm
by sorin_ristache
DavidT wrote:The exact same settings works just fine from the oXygen standalone application, so maybe there is some bug in the eclipse plugin. Error 267 is ERROR_DIRECTORY - The directory name is invalid.

Is this a known problem? I've been looking through the forums but haven't found anything on this topic.
It is not a bug in the Eclipse plugin. I used exactly the same settings as in the standalone distribution and the transformation worked the same:

Code: Select all


Started: "C:\Program Files\Antenna\XSLFormatterV3\XSLCmd.exe" -d "C:\current projects\eXml\samples\docbook\sample.xml_xslt" -o "C:\current projects\eXml\samples\docbook\sample.pdf"
XSLCmd : XSL Formatter V3.2 MR4 Copyright (c) 1999-2005 Antenna House, Inc.

---------------------------------------
This is an EVALUATION version.
Prohibits the use of evaluation version
for the real business activity.
Expire Date : Jul 24, 2005
---------------------------------------

XSLCmd :Formatting finished normally
Process ended with exit code: 0
If you have a working transformation scenario in <oXygen/> standalone just copy and paste the command line string from the External FO processor edit dialog in standalone (Options - Preferences - XSLT/FO - FO processors - the Edit button) to the same dialog in the Eclipse plugin, in my case:

Code: Select all

"C:\Program Files\Antenna\XSLFormatterV3\XSLCmd.exe" -d ${fo} -o ${out}
As working directory in this dialog use the <oXygen/> start directory: . (a dot).

Best Regards,
Sorin