Duplication of Transformation Scenario leads to Errors
Posted: Sun Nov 22, 2015 3:21 pm
Hi,
i have made my own document type called "einzelabruf" as a framework at the global level. There is a directory called "einzelabruf" in the OXYGEN_HOME/frameworks directory. My framework is an extension of the DocBook 5 framework. Everything is fine so far. (By the way, extension of existing frameworks is an awesome feature).
There is also a project file in the framework directory for the purpose of administration, development and documentation of the new framework. My documentation is written in DocBook, i'd like to generate WebHelp from the Manual. When i apply the Standard WebHelp Transformation for DocBook 5, everything is fine. But i'd like to customize it.
So i've made a Copy of the WebHelp Scenario at the project level ("Scenarios / Duplicate"). When i try to apply the fresh copy to my manual, it will stop immediately whit the following message:
The german message means something like there is no such directory.
Further investigation shows that there is a problem with the parameters of the transformation scenario which have an explicit given value. For example, the value of admon.graphics is 0 in the original scenario (DocBook).
The same parameter in my copy of this scenario is ${frameworksDir}/einzelabruf/0. Every Parameter gets this ${frameworksDir}/einzelabruf prefix when copied from the original webhelp Transformation Scenario from the ${baseFramework}.
As a workaround, i'v made a copy of my project file and removed manually the unwanted prefix. The duplicated scenarion seems to work when applied within this Project file.
Sincerely,
Frank Steimke
i have made my own document type called "einzelabruf" as a framework at the global level. There is a directory called "einzelabruf" in the OXYGEN_HOME/frameworks directory. My framework is an extension of the DocBook 5 framework. Everything is fine so far. (By the way, extension of existing frameworks is an awesome feature).
There is also a project file in the framework directory for the purpose of administration, development and documentation of the new framework. My documentation is written in DocBook, i'd like to generate WebHelp from the Manual. When i apply the Standard WebHelp Transformation for DocBook 5, everything is fine. But i'd like to customize it.
So i've made a Copy of the WebHelp Scenario at the project level ("Scenarios / Duplicate"). When i try to apply the fresh copy to my manual, it will stop immediately whit the following message:
Code: Select all
System-ID: C:\Program Files (x86)\Oxygen XML Editor 17\frameworks\einzelabruf\manual\db5\manual-db5.xml
Umwandlung: DocBook WebHelp - Kopie
Build-Datei: C:\Program Files (x86)\Oxygen XML Editor 17\frameworks/docbook/xsl/com.oxygenxml.webhelp/build_docbook.xml
Programmname: ANT
Fehlerlevel: fatal
Beschreibung: Cannot run program "c:\program files (x86)\oxygen xml editor 17\jre/bin/java" (in directory "C:\Program Files (x86)\Oxygen XML Editor 17\frameworks\einzelabruf\C:\Program Files (x86)\Oxygen XML Editor 17\frameworks\einzelabruf\manual\db5"): CreateProcess error=267, Der Verzeichnisname ist ungültig
Further investigation shows that there is a problem with the parameters of the transformation scenario which have an explicit given value. For example, the value of admon.graphics is 0 in the original scenario (DocBook).
The same parameter in my copy of this scenario is ${frameworksDir}/einzelabruf/0. Every Parameter gets this ${frameworksDir}/einzelabruf prefix when copied from the original webhelp Transformation Scenario from the ${baseFramework}.
As a workaround, i'v made a copy of my project file and removed manually the unwanted prefix. The duplicated scenarion seems to work when applied within this Project file.
Sincerely,
Frank Steimke