Difference between revisions of "How to setup Eclipse/RAP"

no edit summary
 
Line 1: Line 1:
== Eclipse and Target Platform setup ==
= Eclipse and Target Platform setup =


* Download Eclipse 4.2M5 from http://download.eclipse.org/eclipse/downloads/drops4/S-4.2M5-201201271145/
* Download Eclipse 4.2M5 from http://download.eclipse.org/eclipse/downloads/drops4/S-4.2M5-201201271145/
Line 23: Line 23:
* Import existing projects from trunk/webui/webapp into workspace, it should build fine.
* Import existing projects from trunk/webui/webapp into workspace, it should build fine.


== Run Configuration ==
= Run Configuration =


* Create new Run Configuration (of type "RAP Application")
* Create new Run Configuration (of type "RAP Application")
Line 39: Line 39:


If browser complains about too many redirects (seen that on Mac) - just refresh page.
If browser complains about too many redirects (seen that on Mac) - just refresh page.
= WAR export =
* From "juno" software site install "WAR Products (Incubator)"
* Open "nxmc.warproduct" and click on "Export"
= Possible fixes if Eclipse acting weird =
* Refresh sources
* Clean and rebuild all
* Repeat refresh / clean once more
* Refresh platform (Preferences -> Target Platform -> (select it) -> Reload
* Go to "Edit platform", select each Update site's URL and click on "Update"