Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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


0 votes


Accepted answer

Permanent link

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

0 votes


2 other answers

Permanent link

Hi,

Thanks for replying... We considered that option but have 2 issues with that at least:

- the stylesheet dot file is provided along rpe installation. It is legally redistributable?do you have a link for that? We don't want to have that kind of problems...
- even if possible, we might end up having different stylesheet versions around, which is worst (been there on the past..)

You mentioned there are other options?

Regards,
Pablo

0 votes


Permanent link

You can redistribute the sample .dot file as the users have RPE license.
Another option is to use the asset (stylesheet) from RPE Document Builder. The templates and stylesheets from Document Builder are available in Studio / Launcher.
https://www.ibm.com/support/knowledgecenter/SS6RHZ_6.0.5/com.ibm.rational.pe.install.doc/topics/c_web_rpeng.html
https://www.ibm.com/support/knowledgecenter/SS6RHZ_6.0.5/com.ibm.rational.pe.publishing.doc/topics/t_rpeng_connect.html


0 votes

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

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,125

Question asked: Jan 08 '18, 12:26 p.m.

Question was seen: 2,148 times

Last updated: Jan 09 '18, 8:39 a.m.

Confirmation Cancel Confirm