Problem with external FO processor in eclipse

Having trouble installing Oxygen? Got a bug to report? Post it all here.
DavidT
Posts: 1
Joined: Thu Apr 21, 2005 5:56 pm

Problem with external FO processor in eclipse

Post 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
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Problem with external FO processor in eclipse

Post 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
Post Reply