Jython with Python and Java in Pydev

I am trying to set up a development environment for a Jython project, specifically with PyDev in Eclipse. The environment is trying to emulate a custom jython call that has the following configuration file

java.mainclass=org/python/util/jython
java.classpath=C:\Program Files\Jython\jython.jar
java.classpath=C:\Program Files\BMC Software\BladeLogic\NSH\br
java.classpath=C:\Program Files\BMC Software\BladeLogic\NSH\br\stdlib
java.classpath=C:\Program Files\BMC Software\BladeLogic\NSH\br\deployments
java.classpath=<default>
jvm.arg=-Xmx1024M
jvm.arg=-Dblx.cmrootdir=C:\Program Files\BMC Software\BladeLogic\NSH\br
jvm.arg=-Dpython.home=C:\Program Files\Jython
jvm.arg=-Dcom.bladelogic.cli.xmldir=C:\Program Files\BMC Software\BladeLogic\NSH\br\xml\cli

PyDev is easy to emulate with the last four options through VM arguments in Run Configuration. But how can I get the classpath to be in the configuration file in a specific order?

Thank you for your time.

+3
source share
1 answer

This question was asked on another forum, the answer was given with a full demonstration of the video.

: : - BladeLogic c:\BMC\BladeLogic, . - Jython C:\jython - , - Eclipse H:\Development - .

( ) https://communities.bmc.com/message/401377#401377

+1

All Articles