WebOS IDE setup
These instructions will show how to set up an IDE for developing Palm webOS applications.
"Palm provides plugins to the Eclipse IDE to facilitate Palm application development."
Palm has provided very good instructions on setting up the Eclipse IDE and the accompanying plugins. See the Eclipse development page on Palm's developer site.
Once you have installed Eclipse and the plugins successfully, do the following to import an LDSTech webOS project with existing code in source control:
- Check-out the source code to your local hard-drive (ex. C:\Sources\LDSTech\webOS)
- Create a shortcut to eclipse.exe
- Set Target: <your future project parent folder> (ex. C:\Workspaces\)
- Set Start in: <same as above>
- Use your new shortcut to open Eclipse
- From the Menu select File>New>Other. In the resulting window select Palm webOS>Mojo Application (creates a new Mojo project with default settings)
- Once that is complete, from the Menu select File>Import. In the resulting window choose General>File System
- Browse to the directory of your source checkout, and check the box next to the source (at the level with App folder and appinfo.json file)
- Click Finish and overwrite the default files created with the new project
You now have a webOS project space in Eclipse.
Test the application
When you are ready to test your application in Eclipse, highlight the top level project folder, and go to Run>Run As>Mojo Application. You will be prompted to run it on the Emulator or a Device. If you choose Emulator you need to have the Emulator up and running before running the application. If you choose Device, you will need to have a Palm webOS device attached via USB, with development mode enabled.