How to setup Eclipse/RAP

From NetXMS Wiki
Revision as of 23:30, 20 March 2012 by AlexKirhenshtein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Eclipse and Target Platform setup

Is should be like this:

Error creating thumbnail: Unable to save thumbnail to destination
  • In trunk/src/java, run package.sh (or package.cmd on Windows)
  • Import existing projects from trunk/webui/webapp into workspace, it should build fine.

Run Configuration

  • Create new Run Configuration (of type "RAP Application")
  • Click "browse" and select Servlet Name (nxmc)
  • Click "browse" and select Entry Point (org.netxms.webui.core.nxmc)
  • Switch to "Bundles" tab, click on "Deselect All"
  • Add working set -> add your workspace with all WebUI projects
  • Filter for "http.jetty" and select "org.eclipse.equinox.http.jetty"
  • Filter for "design" and select "org.eclipse.rap.design.example"
  • Filter for "console" and select "org.eclipse.equinox.console"
  • Filter for "felix*shell" and select orf.apache.felix.gogo.shell
  • Clear filter field and click "Add Required Bundles"
  • Click on Validate
  • Apply and Run

If browser complains about too many redirects (seen that on Mac) - just refresh page.