This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
start [2016/07/22 14:41] chrisgerken |
start [2017/01/16 21:38] (current) chrisgerken [Eclipse Support] |
||
---|---|---|---|
Line 13: | Line 13: | ||
Read about the [[Gramar_Development_Process]]. | Read about the [[Gramar_Development_Process]]. | ||
- | === Background === | + | ==== Background ==== |
Gramar is a next-generation greenfield implementation of Eclipse Model-to-Text JET and, before that, the Design Pattern Toolkit from IBM. A gramar can be applied not just in Eclipse, but in IntelliJ, as a stand-alone java application, within a web application or in any other environment with a Java runtime. | Gramar is a next-generation greenfield implementation of Eclipse Model-to-Text JET and, before that, the Design Pattern Toolkit from IBM. A gramar can be applied not just in Eclipse, but in IntelliJ, as a stand-alone java application, within a web application or in any other environment with a Java runtime. | ||
- | == Getting started == | + | ==== Getting started ==== |
* [[http://github.com/chrisgerken/gramar|Source code]] | * [[http://github.com/chrisgerken/gramar|Source code]] | ||
Line 25: | Line 25: | ||
* [[techniques|Techniques]] | * [[techniques|Techniques]] | ||
- | === Eclipse Support === | + | ==== Eclipse Support ==== |
- | There are several Eclipse plugins providing support for Gramar in Eclipse. To install those plugins, | + | As of the latest release of Eclipse support for Gramar, there is only one plugin to load for full Eclipse support. We've also learned the hard way that as Eclipse 3.8 doesn't really play well with Java 1.8, it's probably best to work with Eclipse Neon and Java 1.8. |
+ | |||
+ | To install Gramar into Eclipse Neon... | ||
* In Eclipse, goto `Help -> Install new software...` | * In Eclipse, goto `Help -> Install new software...` | ||
* **Add...** a new update site with the <nowiki> URL http://gramar.org/eclipse/gramar </nowiki> | * **Add...** a new update site with the <nowiki> URL http://gramar.org/eclipse/gramar </nowiki> | ||
- | * Install all features on the site. | + | * Install all features on the site (ought to be just one for now). |
- | * Repeat with update site <nowiki> URL http://gramar.org/eclipse/xaa </nowiki> | + | * Restart Eclipse. |
- | * Repeat with update site <nowiki> URL http://gramar.org/gramars/xaa </nowiki> | + | |
+ | Note that there is a known problem getting started in general with Eclipse on Ubuntu. Details can be found [[http://askubuntu.com/questions/761604/eclipse-not-working-in-16-04|here]]. | ||
+ | ==== Walkthroughs ==== | ||
+ | |||
+ | There is an end-to-end [[org.gramar.storm.gramar:walkthrough|walkthrough]] for a gramar that generates almost 98% of the complete implementation of an Apache Storm topology. | ||
+ | |||
+ | More walkthroughs for other gramars are coming soon. | ||
- | == Gramar in Maven Central Repository == | + | ==== Gramar in Maven Central Repository ==== |
Version 1.0.0 of gramar is now in the maven central repo. In order to access gramar function from within your Java code or gramar, use: | Version 1.0.0 of gramar is now in the maven central repo. In order to access gramar function from within your Java code or gramar, use: |