Eclipse JARs and AppletHarness

I do the majority of my development with Eclipse so I would like to be able to write Jme3 software for Android and the Web in Eclipse (which at this stage is a much better IDE to support Android development). So far, to be able to generate a Jme3 applet, I’ve been switching from Eclipse to Jme3 IDE, which is quite a pain. I believe that people must be able to create Jme3 applets with Eclipse - right?



I’ve been trying to use the LWJGL loader to load Jme3 applications into an AppletHarness, which works very well when the JARs are produced with Jme3. I thought that if I use the basic structure of what is generated by Jme3 IDE, I could just plug in my Eclipse generated JARs, edit the HTML settings for the LWJGL loader (to use my SimpleApplication class, correct JARs, unique title to support LWJGL caching, etc.) and run it. I have tried simple JARs and executable JARs. It does not work - the applet either is not loading, or it hangs or I have an error when ‘Switching applets’. The same sources, with the same assests, using exactly the same libraries work fine when deployed with Jme3 IDE.



I wonder what is different between Eclipse and Jme3 JARs - I cannot detect any major differences. Splitting a single JAR into two JARs with code and assets is not that important. There are some maven and services directories in the code META-INF but copying these does not help. I keep all odd bits and pieces with native libraries. So what is different?

Just set up the project in jMP, then use Eclipse to code if you have to so much. Creating a lwjgl applet is described on the lwjgl homepage as well but its a bit complicated thats why we offer this option to you so everybody can improve it and not have to reinvent the wheel for every IDE and build system out there… Using eclipse myself for web dev I must ask you what is so painful switching between the two? Theres absolutely no difference except that eclipse crashes way too often on mac.