Eclipse installations are available with the plugin pre-installed:
Download, unzip, and start Eclipse. Right-click in the
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
Unfortunately, building and deploying in Eclipse is currently slower than command-line builds, so command-line builds are recommended for development.
Download the zip file of the latest succesful build at: https://buildfarm.metaborg.org/job/webdsl-compiler/lastSuccessfulBuild/artifact/webdsl.zip
Extract the zip file, and add the webdsl/bin directory to your path.
A Java installation (minimal version 8) 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 (note: this will override existing application.ini file).
If there is already an application.ini file with configuration (see Application Configuration options), use
webdsl run instead.
ctrl + c stops the application.
You can avoid JVM startup overhead by keeping the WebDSL compiler process running.
This requires having the 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