The Xtext/RAP Generator produces now 3 projects. For example, if you have the following RCP plugins:
The generator outputs 3 projects:
The web plugin to package with RAP, a Maven/Tycho project to actually build and package the editor as a web application archive (war), and the target platform on top of which to compile and build the web application.
4 Steps to get your DSL deployed on the web!
Step 1: Generate a web editor from an existing Xtext grammar.
Step 2: Set up the debug configuration and launch the web application from Eclipse.
Step 3: run the Maven build to get a web application archive ready to be deployed.
Step 4: Deploy the web archive on Tomcat
Xbase is out of scope for now, as its adherence to the JDT cannot be satisfied in the current scenario. Moreover, Xtext grammar inheritence is not yet translated into ANTLR grammar inheritence, so if your grammar imports other grammars, generate the editor from the main grammar then copy the rules from the original Xtext files to the ANTLR file. Contact the professional support for additional details.
Download P2 Sites
Get the Source Code