passing system variable to DSX file
Hi,
we use RPE2.1.2 here.
I have a working RPE template in windows and the corresponding DSX specification use an stylesheet for the PDF:
<property name="stylesheet" type="URI" editable="true" visible="true" required="false" value="C:\Program Files\ibm\Rational\Publishing Engine\utils\word\rpe.dot"/>
this works fine, in windows.
now, some users will run this under Linux and of course the path to the stylesheet is different
... value="/opt/IBM/Rational/Publishing Engine/utils/word/rpe.dot"/>
is there any way to have a generic DSX file for both Windows and Linux?
I was thinking on use %RPE_HOME%utils\word\rpe.dot and $RPE_HOME/utils/word/rpe.dot
(still not very generic, but we could pre process the DSX file...)
otherwise, quick fix is to have 2 DSX files, 1 for windows and 1 for Linux, which is so bad...
hopefully somebody knows a better way?
thanks in advance,
Best Regards,
Pablo
|
Accepted answer
You can think of multiple options. How about placing the stylesheet and the .dsx file in the same directory and using the relative path?
Pablo K selected this answer as the correct answer
|
2 other answers
Hi,
|
You can redistribute the sample .dot file as the users have RPE license.
Comments Hi,
thanks for reply, at the end your previous proposal seems to be more practical for now, as the redistribution seems to be not a problem.
thanks.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.