Download

Eclipse with plugin pre-installed

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.

For manual installation in Eclipse, the updatesite is http://webdsl.org/update

Unfortunately, building and deploying in Eclipse is currently slower than command-line builds, so command-line builds are recommended for development.

Command-line build

Download the zip file of the latest succesful build at: http://webdsl-test.ewi.tudelft.nl/compiler/webdsl.zip

Extract the zip file, and add the webdsl/bin directory to your path.

A Java installation (minimal version 6) and Apache Ant (http://ant.apache.org/bindownload.cgi) are required to run the compiler.

Go to the directory of your application and execute webdsl run appname.app. This generates an application.ini file configured for testing with an H2 in-memory database.

If there is already an application.ini file with configuration (see Application Configuration options), use webdsl run instead.

Pressing ctrl + c stops the application.

Faster compilation on command-line

You can avoid JVM startup overhead by keeping the WebDSL compiler process running.

This requires having the http://www.martiansoftware.com/nailgun/ client installed. For example, on Mac you can use brew install nailgun to install the client.

webdsl start starts the server process

Add to the application.ini configuration file of your project usecompileserver=true to use the compile server for all the commands like webdsl run.

Download