WebDSL in Eclipse (recommended)

Use the following instructions to install the WebDSL Eclipse plugin, the plugin also contains the compiler.

Eclipse with plugin pre-installed

For quick setup, zipped eclipse installations are available with the plugin pre-installed:

http://buildfarm.metaborg.org/view/WebDSL/job/webdsl-eclipsegen/lastSuccessfulBuild/artifact/dist/

Download, unzip, and start Eclipse. Right-click in the ‘navigator’/‘project explorer’/‘package explorer’ window and select ‘New WebDSL Project’ or ‘Example WebDSL Project’. Provide a project name and click ‘Finish’. Open the main ‘projectname’.app file and press ctrl+alt+b or cmd+alt+b to build and deploy the project. A browser window opens when the application is deployed.

Eclipse 3.5+ manual plugin installation

  • Go to Help -> Install New Software…
  • In the “Work with:” text area type:

    • http://webdsl.org/update

    Important: uncheck “Group items by category” to make the plugin visible (this works around a known issue)

  • Check “WebDSL Editor” and press “Install”, accept the license agreement, finish the installation, and finally restart Eclipse.
  • Change the eclipse.ini file to include the options -Xss8m -Xms256m -Xmx1024m -XX:MaxPermSize=256m -server to set a 8 MB stack size and 1024 MB of virtual memory. These options must be added below the line that contains -vmargs. On Mac OS X the eclipse.ini file is located at Eclipse.app/Contents/MacOS/eclipse.ini.

Using the Editor

see Using the Editor.