NetBeans Installation
- Add the update center URL: https://codenameone.googlecode.com/svn/trunk/CodenameOne/repo/netbeans/updates.xml to NetBeans.
- For detailed installation Instructions click here. You can also get the NetBeans plugin directly from NetBeans here.
- Register in the build server in order to send your builds to the device.
- Get help in our discussion group!
Eclipse Installation
- The plugin for Eclipse IDE can be installed by adding this update site url to Eclipse: http://codenameone.googlecode.com/svn/trunk/CodenameOne/repo/eclipse/site.xml.
- For detailed installation Instructions click here.
- Register in the build server in order to send your builds to the device.
- Get help in our discussion group!
Warning: it seems the AVG anti-virus (and possibly others) has an issue with Eclipse update sites breaking the install of extensions. We suggest disabling your anti-virus software if you are running into difficulties when installing the Eclipse plugin.
Docs & Demos
|
_Demos & documentation for the Codename One platform. Notice that the demos are NetBeans projects to use them in Eclipse read bellow.
|
|
||||||
Running the Codename One Demos In Eclipse
To run the Codename One demos using Eclipse pick the project name you wish to run then:
- Create a new Codename One project in Eclipse and give it the exact name of the demo you wish to create.
- Open the file codenameone_settings.properties in a text editor and look for codename1.packageName use the value of that section as the package name in the wizard and use the demo name as the value of the main class create a blank manual project.
- Once finished delete all the source/resource files in the newly created Eclipse project and copy all the sources from the demo into the new projects source dir
- Copy the codenameone_settings.properties and icon.png files and override the ones in the Eclipse project