WebOS IDE setup

These instructions will show how to set up an IDE for developing Palm webOS applications.


Install plugins

"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.

Configure project

Once you have installed Eclipse and the plugins successfully, do the following to import an LDSTech webOS project with existing code in source control:

  1. Check-out the source code to your local hard-drive (ex. C:\Sources\LDSTech\webOS)
  2. Create a shortcut to eclipse.exe
    • Set Target: <your future project parent folder> (ex. C:\Workspaces\)
    • Set Start in: <same as above>
  3. Use your new shortcut to open Eclipse
  4. From the Menu select File>New>Other. In the resulting window select Palm webOS>Mojo Application (creates a new Mojo project with default settings)
  5. Once that is complete, from the Menu select File>Import. In the resulting window choose General>File System
  6. 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)
  7. 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.

This page was last modified on 25 February 2011, at 16:37.

Note: Content found in this wiki may not always reflect official Church information. See Terms of Use.