Skip to content

Commit

Permalink
Merge pull request eclipse-xtext#3291 from eclipse-xtext/cd-regen-mwe…
Browse files Browse the repository at this point in the history
…-move

regen docs
  • Loading branch information
cdietrich authored Dec 13, 2024
2 parents f8e43ba + 380dfd1 commit fc87d52
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 14 deletions.
4 changes: 2 additions & 2 deletions org.eclipse.xtend.doc/contents/204_activeannotations.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,13 +238,13 @@ <h2 id="active-annotation-classpath">Class Path Setup and Testing</h2>
<pre><code>&lt;dependency&gt;
&lt;groupId&gt;org.eclipse.xtend&lt;/groupId&gt;
&lt;artifactId&gt;org.eclipse.xtend.core&lt;/artifactId&gt;
&lt;version&gt;2.37.0&lt;/version&gt;
&lt;version&gt;2.38.0&lt;/version&gt;
&lt;scope&gt;test&lt;/scope&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.eclipse.xtext&lt;/groupId&gt;
&lt;artifactId&gt;org.eclipse.xtext.xbase.testing&lt;/artifactId&gt;
&lt;version&gt;2.37.0&lt;/version&gt;
&lt;version&gt;2.38.0&lt;/version&gt;
&lt;scope&gt;test&lt;/scope&gt;
&lt;/dependency&gt;
</code></pre>
Expand Down
10 changes: 5 additions & 5 deletions org.eclipse.xtext.doc/contents/302_configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h1 id="configuration">Configuration</h1>

<h2 id="short-intro-to-mwe">A Short Introduction to MWE2</h2>

<p>MWE2 (Modeling Workflow Engine) allows to compose object graphs declaratively in a very compact manner. The nice thing about it is that it just instantiates Java classes and the configuration is done through public setter and adder methods as known from Java Beans encapsulation principles. More in-depth information can be found in the <a href="https://github.com/eclipse/mwe/blob/master/documentation/mwe2.md">MWE2 documentation</a>.</p>
<p>MWE2 (Modeling Workflow Engine) allows to compose object graphs declaratively in a very compact manner. The nice thing about it is that it just instantiates Java classes and the configuration is done through public setter and adder methods as known from Java Beans encapsulation principles. More in-depth information can be found in the <a href="https://github.com/eclipse-mwe/mwe/blob/master/documentation/mwe2.md">MWE2 documentation</a>.</p>

<p>Given the following simple Java class (POJO):</p>

Expand Down Expand Up @@ -90,14 +90,14 @@ <h2 id="short-intro-to-mwe">A Short Introduction to MWE2</h2>
}
</code></pre>

<p>Although arbitrary Java classes can be used, the standard root element for MWE2 files is <a href="https://github.com/eclipse/mwe/blob/v2.12.1/plugins/org.eclipse.emf.mwe2.runtime/src/org/eclipse/emf/mwe2/runtime/workflow/Workflow.java">Workflow</a>, which is part of the very slim runtime model shipped with MWE2. It accepts <em>beans</em> and <em>components</em>.</p>
<p>Although arbitrary Java classes can be used, the standard root element for MWE2 files is <a href="https://github.com/eclipse-mwe/mwe/blob/master/plugins/org.eclipse.emf.mwe2.runtime/src/org/eclipse/emf/mwe2/runtime/workflow/Workflow.java">Workflow</a>, which is part of the very slim runtime model shipped with MWE2. It accepts <em>beans</em> and <em>components</em>.</p>

<ul>
<li>
<p>The method Workflow.addBean(Object) provides a means to apply global side-effects, which unfortunately is required sometimes. For instance, <a href="https://github.com/eclipse/mwe/blob/v2.12.1/plugins/org.eclipse.emf.mwe.utils/src/org/eclipse/emf/mwe/utils/StandaloneSetup.java">StandaloneSetup</a> can be used to initialize global EMF metadata such as the <a href="https://git.eclipse.org/r/plugins/gitiles/emf/org.eclipse.emf/+/refs/tags/R2_20_0/plugins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/EPackage.java">EPackage.Registry</a>.</p>
<p>The method Workflow.addBean(Object) provides a means to apply global side-effects, which unfortunately is required sometimes. For instance, <a href="https://github.com/eclipse-mwe/mwe/blob/master/plugins/org.eclipse.emf.mwe.utils/src/org/eclipse/emf/mwe/utils/StandaloneSetup.java">StandaloneSetup</a> can be used to initialize global EMF metadata such as the <a href="https://git.eclipse.org/r/plugins/gitiles/emf/org.eclipse.emf/+/refs/tags/R2_20_0/plugins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/EPackage.java">EPackage.Registry</a>.</p>
</li>
<li>
<p>The method Workflow.addComponent(..) accepts instances of <a href="https://github.com/eclipse/mwe/blob/v2.12.1/plugins/org.eclipse.emf.mwe2.runtime/src/org/eclipse/emf/mwe2/runtime/workflow/IWorkflowComponent.java">IWorkflowComponent</a>, which is the primary concept of the workflow model of MWE2. The language generator component itself is an instance of IWorkflowComponent and can therefore be used within MWE2 workflows.</p>
<p>The method Workflow.addComponent(..) accepts instances of <a href="https://github.com/eclipse-mwe/mwe/blob/master/plugins/org.eclipse.emf.mwe2.runtime/src/org/eclipse/emf/mwe2/runtime/workflow/IWorkflowComponent.java">IWorkflowComponent</a>, which is the primary concept of the workflow model of MWE2. The language generator component itself is an instance of IWorkflowComponent and can therefore be used within MWE2 workflows.</p>
</li>
</ul>

Expand Down Expand Up @@ -295,7 +295,7 @@ <h3 id="importing-metamodels">Importing Existing Metamodels</h3>

<p>If you are importing more than one metamodel, you can add more <code>referencedResource</code> declarations as required.</p>

<p>In some occasions this simple way of referencing metamodels is not sufficient; you can then use the <a href="https://github.com/eclipse/mwe/blob/v2.12.1/plugins/org.eclipse.emf.mwe.utils/src/org/eclipse/emf/mwe/utils/StandaloneSetup.java">StandaloneSetup</a> as a Workflow bean for fine-tuning your EMF setup. Example:</p>
<p>In some occasions this simple way of referencing metamodels is not sufficient; you can then use the <a href="https://github.com/eclipse-mwe/mwe/blob/master/plugins/org.eclipse.emf.mwe.utils/src/org/eclipse/emf/mwe/utils/StandaloneSetup.java">StandaloneSetup</a> as a Workflow bean for fine-tuning your EMF setup. Example:</p>

<pre><code class="language-mwe2">bean = StandaloneSetup {
platformUri = "${rootPath}"
Expand Down
2 changes: 1 addition & 1 deletion org.eclipse.xtext.doc/contents/304_ide_concepts.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Support &amp; Trainings<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="https://www.itemis.com/en/xtext/support-and-team/" target="_blank">itemis</a></li>
<li><a href="https://info.itemis.com/professional-xtext-support" target="_blank">itemis</a></li>
<li><a href="https://www.typefox.io/language-engineering/" target="_blank">TypeFox</a></li>
</ul>
</li>
Expand Down
2 changes: 1 addition & 1 deletion org.eclipse.xtext.doc/contents/310_web_integration.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Support &amp; Trainings<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="https://www.itemis.com/en/xtext/support-and-team/" target="_blank">itemis</a></li>
<li><a href="https://info.itemis.com/professional-xtext-support" target="_blank">itemis</a></li>
<li><a href="https://www.typefox.io/language-engineering/" target="_blank">TypeFox</a></li>
</ul>
</li>
Expand Down
18 changes: 13 additions & 5 deletions org.eclipse.xtext.doc/contents/350_continuous_integration.html
Original file line number Diff line number Diff line change
Expand Up @@ -313,17 +313,25 @@ <h2 id="maven-tycho-hints">Maven Tycho Hints</h2>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.38.0/">2.38.0</a></td>
<td><a href="https://download.eclipse.org/modeling/emf/emf/builds/release/2.41.0">2.41.0</a> (2.29.0)</td>
<td><a href="https://download.eclipse.org/modeling/emft/mwe/updates/releases/2.21.0/">2.21.0</a> (2.9.1)</td>
<td>no longer supported</td>
<td><a href="https://download.eclipse.org/releases/2025-03">4.35.0</a> (4.30)</td>
<td><a href="https://download.eclipse.org/releases/2025-03">2025-03</a></td>
</tr>
<tr>
<td><a href="https://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.37.0/">2.37.0</a></td>
<td><a href="https://download.eclipse.org/modeling/emf/emf/builds/release/2.39.0">2.39.0</a> (2.29.0)</td>
<td><a href="https://download.eclipse.org/modeling/emf/emf/builds/release/2.40.0">2.40.0</a> (2.29.0)</td>
<td><a href="https://download.eclipse.org/modeling/emft/mwe/updates/releases/2.20.0/">2.20.0</a> (2.9.1)</td>
<td>no longer supported</td>
<td><a href="https://download.eclipse.org/releases/2024-12">4.34.0</a> (4.24)</td>
<td><a href="https://download.eclipse.org/releases/2024-12">2024-12</a></td>
</tr>
<tr>
<td><a href="https://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.36.0/">2.36.0</a></td>
<td><a href="https://download.eclipse.org/modeling/emf/emf/builds/release/2.38.0">2.38.0</a> (2.29.0)</td>
<td><a href="https://download.eclipse.org/modeling/emf/emf/builds/release/2.39.0">2.39.0</a> (2.29.0)</td>
<td><a href="https://download.eclipse.org/modeling/emft/mwe/updates/releases/2.19.0/">2.19.0</a> (2.9.1)</td>
<td>no longer supported</td>
<td><a href="https://download.eclipse.org/releases/2024-09">4.33.0</a> (4.23)</td>
Expand Down Expand Up @@ -572,15 +580,15 @@ <h2 id="maven-tycho-hints">Maven Tycho Hints</h2>
</tbody>
</table>

<p>The following is an example target platform definition for Xtext 2.37.0 and Eclipse 4.34 alias 2024-12.</p>
<p>The following is an example target platform definition for Xtext 2.38.0 and Eclipse 4.35 alias 2025-03.</p>

<pre><code class="language-xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
&lt;?pde version="3.8"?&gt;
&lt;target name="org.xtext.myxtextlanguage.target" sequenceNumber="1"&gt;
&lt;locations&gt;
&lt;location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="false" type="InstallableUnit"&gt;
&lt;unit id="org.eclipse.xtext.sdk.feature.group" version="0.0.0"/&gt;
&lt;repository location="https://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.37.0/"/&gt;
&lt;repository location="https://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.38.0/"/&gt;
&lt;/location&gt;
&lt;location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="false" type="InstallableUnit"&gt;
&lt;unit id="org.eclipse.jdt.feature.group" version="0.0.0"/&gt;
Expand All @@ -589,7 +597,7 @@ <h2 id="maven-tycho-hints">Maven Tycho Hints</h2>
&lt;unit id="org.eclipse.draw2d.feature.group" version="0.0.0"/&gt;
&lt;unit id="org.eclipse.emf.sdk.feature.group" version="0.0.0"/&gt;
&lt;unit id="org.eclipse.emf.mwe2.launcher.feature.group" version="0.0.0"/&gt;
&lt;repository location="https://download.eclipse.org/releases/2024-12/"/&gt;
&lt;repository location="https://download.eclipse.org/releases/2025-03/"/&gt;
&lt;/location&gt;
&lt;/locations&gt;
&lt;/target&gt;
Expand Down

0 comments on commit fc87d52

Please sign in to comment.