It's all about the answers!

Ask a question

[closed] How to call/run DXL Script from java code?


Sabarna Balakrishnan (1111) | asked May 17 '18, 1:26 a.m.
edited May 17 '18, 3:23 a.m. by Ralph Schoon (63.1k33646)

I have written dxl script for exporting doors module to HTML. Now I need to integrate into java and call/run dxl script from java code.

Is it possible? If so, please help me with code snippet.

Thanks & Regards,
Sabarna B.

The question has been closed for the following reason: "Question is off-topic or not relevant" by rschoon May 17 '18, 3:22 a.m.

One answer



permanent link
Sean F (1.3k243149) | answered May 17 '18, 2:27 a.m.

The DXL forum is part of DOORS Classic which is over here

https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000001527

You need to make a system call from javascript and then run a DOORS session and pass it either a -dxl or a -batch command line parameter

e.g.

[DOORSHOME] doors.exe -user "Jim" - password "password" -batch "C:\DXL Scripts\My DXL Script.dxl"