Any Java IDE that can quickly set up a local project based on a remote JNLP file for instant debugging?

For a remote JNLP that works (all banks are available, etc.), but you need to start a debugging session in code.

Is there any tool that easily allows you to create a local project in ANY reasonably modern IDE that consists of a local copy of the resources specified in JNLP and can run the specified code in debug mode? Suppose a decompiler is available, so you just need to start a debugging session.

Are there any IDEs (Eclipse, Netbeans, IntelliJ, JDeveloper, etc. etc. - even a commercial offer) that can do this only taking into account the JNLP URL?

+8
java java-web-start ide
source share
2 answers

I have a predefined project in Eclipse that is empty, with the exception of a utility that parses the JNLP file and loads all the banks specified in the jnlp code base. If you wish, you can replace any banks with an updated code that you want to check here. It uses reflection to add all the banks to the class path (which is a hack), and then reflexively calls the main class method specified as the main class in JNLP, with any arguments.

Unfortunately, I cannot share the source for this, but it took me only one day to launch it.

Access to the hack class is available here: How can I load Jars dynamically at runtime?

Works well with any debugging.

+3
source share

I ran into a similar problem with the JNLP program. The only way I found to debug the program is to debug in Eclipse (I have a project and a source of code) and copy all the parameters passed by the JNLP file on the "Arguments" tab to the Debug configuration in Eclipse. I don’t know if this is related because my problem arose from the arguments passed to the application through the JNLP file.

I don’t understand something ... Why do you want to debug directly compiled code from the final location?

0
source share

All Articles