Halogen‎ > ‎

Running Halogen from Eclipse


You will need these working applications :

Setting SVN Repository

  • Start your Eclipse IDE
  • In the menu bar, select Window | Open Perspective | Other ...
  • Choose "SVN Repository Exploring" perspective

  • From "SVN Repository" view pane, click button "Add SVN Repository"

  • From add repository dialog, enter the URL of Halogen project : http://halogen.googlecode.com/svn/trunk/

  • Click Finish button and the repository will fetch SVN information
  • You will see the added repository location in SVN Repository pane. Try to drill into the folder structure.

  • Done

Checking out the source

  • Select halogen folder from our newly created repository. And from the folder's context menu choose checkout.

  • From Checkout from SVN dialog, enter halogen as your Project Name (you can specify other name if you like)
  • Click on Finish button

  • Wait for the checkout process to finish

Running Halogen

  • Switch to Java perspective.
    • From the menu toolbar choose Window | Open Perspective | Other...
    • Choose Java (default).
  • Change library reference to GWT library.
    • Goto Project | Properties and choose Java Build Path
  • Remove gwt-user.jar and add it again using your installed gwt-user.jar location. Usually it is located under the root folder of our extracted GWT package.
  • Add GWT development library for your operating system (gwt-dev-windows.jar, gwt-dev-mac.jar or gwt-dev-linux.jar)
  • Choose OK button if you have finished adding the libraries

  • From your package explorer pane, edit Halogen.launch by double clicking it

  • Remove these two lines
    • <listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry externalArchive=&quot;/Developer/Java/gwt-mac-1.4.61/gwt-dev-mac.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
    • <stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-XstartOnFirstThread"/>
  • If you are not sure which lines to edit, you can download the edited Halogen.launch file from the attachment located at the end of the article.
  • Still selecting Halogen.launch, from the menu toolbar choose Run | Run As | 1 Halogen
  • Halogen should start immediately after this.

Related Articles

Feris Thia,
Aug 30, 2008, 4:18 AM