문제

I want to have a custom Addin menu in DOORS, and want to invoke some JAVA code from there. Is it possible to invoke an executable jar file within DXL?

도움이 되었습니까?

해결책

It depends on if you can run it from a command prompt. If you can, then all you need to do is call it with the following command:

system('C:\\Users\\USERNAME\\Desktop\\JARFILE.exe')

This specific example would run a file from the user's desktop. You may need to reference the file differently depending on where it lives.

For more information, search system in the DXL Reference Manual inside of DOORS.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top