Skip to content

Commit

Permalink
use eclipse.dev domain
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Dietrich <[email protected]>
  • Loading branch information
cdietrich committed Jun 22, 2023
1 parent 8e740e8 commit 389bba9
Show file tree
Hide file tree
Showing 25 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Eclipse Xtext Website

This repository contains the websites [xtext.org](https://xtext.org) and [xtend-lang.org](https://xtend-lang.org). For general information about Xtext, see the [main repository](https://github.com/eclipse/xtext).
This repository contains the websites [xtext.org](https://eclipse.dev/Xtext) and [xtend-lang.org](https://eclipse.dev/Xtext/xtend). For general information about Xtext, see the [main repository](https://github.com/eclipse/xtext).

The [published](https://github.com/eclipse/xtext-website/tree/published) branch corresponds to what is published on the actual websites. Fixes that should be made visible immediately must be committed there. The [main](https://github.com/eclipse/xtext-website/tree/main) branch is used to write documentation and release notes for the next major or minor release of Xtext.
4 changes: 2 additions & 2 deletions xtend-website/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<li ><a href="{{ site.baseurl }}/download.html">Download</a></li>
<li ><a href="{{ site.baseurl }}/documentation/index.html">Documentation</a></li>
<li ><a href="{{ site.baseurl }}/community.html">Community</a></li>
<li ><a href="https://xtext.org">Xtext</a></li>
<li ><a href="https://eclipse.dev/Xtext">Xtext</a></li>
<li ><a href="https://www.eclipse.org">Eclipse.org</a></li>
</ul>
<!--div class="btn-group pull-right">
<div class="g-plusone" data-href="https://www.xtend-lang.org"></div>
<div class="g-plusone" data-href="https://eclipse.dev/Xtext/xtend"></div>
</div-->
</div>
<!--/.nav-collapse -->
Expand Down
2 changes: 1 addition & 1 deletion xtend-website/_layouts/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script>
function startSearch(event) {
if (event.keyCode == 13) {
var q = 'site:eclipse.org/xtend/documentation+' + event.target.value;
var q = 'site:eclipse.dev/Xtext/xtend/documentation+' + event.target.value;
window.open('https://www.google.com/search?q=' + q, "_self");
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Xtend version 2.11 comes with a new source repository and plenty of improvements

## New Source Repository

The Xtend code base has been moved to a dedicated repository [xtext-xtend](https://github.com/eclipse/xtext-xtend) in the course of the restructuring of Xtext (see the [Xtext 2.11.0 Release Notes](https://www.eclipse.org/Xtext/releasenotes.html)).
The Xtend code base has been moved to a dedicated repository [xtext-xtend](https://github.com/eclipse/xtext-xtend) in the course of the restructuring of Xtext (see the [Xtext 2.11.0 Release Notes](https://www.eclipse.dev/Xtext/releasenotes.html)).

## The Xtend Language and Library

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Xtend is now fully compliant with Java 11. Java 11 can be chosen as runtime VM a

One major pain point with past releases was that the xtend-maven-plugin used ranged dependencies. This lead sometimes to [problems with the plugin execution](https://github.com/eclipse/xtext/issues/1231), which had to be worked around by clients by explicit dependency management.

Solving this problem was one of the main motivations behind the [introduction of the new Maven BOM](https://www.eclipse.org/Xtext/releasenotes.html#/releasenotes/2019/03/05/version-2-17-0). With this BOM all external dependencies of Xtext and its Maven plugins are managed in compatible versions without room for interpretation of dependency version ranges.
Solving this problem was one of the main motivations behind the [introduction of the new Maven BOM](https://www.eclipse.dev/Xtext/releasenotes.html#/releasenotes/2019/03/05/version-2-17-0). With this BOM all external dependencies of Xtext and its Maven plugins are managed in compatible versions without room for interpretation of dependency version ranges.

### Upgrade to Maven 3 API

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ As you might have recognized, the number of people contributing to Xtext & Xtend

## Documentation

The [Xtend community website](https://www.eclipse.org/xtend/community.html) has been updated to list the recently published videos, presentations and blog posts around Xtend. The list is not yet complete, so feel free to contact us if you are also interested in listing your articles there.
The [Xtend community website](https://www.eclipse.dev/Xtext/xtend/community.html) has been updated to list the recently published videos, presentations and blog posts around Xtend. The list is not yet complete, so feel free to contact us if you are also interested in listing your articles there.

## Eclipse Integration

Expand Down
2 changes: 1 addition & 1 deletion xtend-website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h2 class="front-title">
<script type="text/javascript">
var base = "media/xtend_intro_";
if (location.hostname === "localhost" || location.hostname === "127.0.0.1") {
base = location.protocol+"//eclipse.org/xtend/media/xtend_intro_";
base = location.protocol+"//eclipse.dev/Xtext/xtend/media/xtend_intro_";
}
var videoList = new Array(base+"720p.mp4",base+"360p.mp4",base+"270p.mp4");
var video = document.getElementById('video');
Expand Down
2 changes: 1 addition & 1 deletion xtext-website/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<li><a href="https://www.typefox.io/language-engineering/" target="_blank">TypeFox</a></li>
</ul>
</li>
<li ><a href="https://xtend-lang.org">Xtend</a></li>
<li ><a href="https://eclipse.dev/Xtext/xtend">Xtend</a></li>
</ul>
<!--div class="nav pull-right">
<li ><a><iframe src="https://ghbtns.com/github-btn.html?user=eclipse&repo=xtext&type=star&count=true" frameborder="0" scrolling="0" width="170px" height="20px"></iframe></a></li>
Expand Down
2 changes: 1 addition & 1 deletion xtext-website/_includes/ribbon.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="ribbon-wrapper-red">
<div class="ribbon-red"><a href="https://www.eclipse.org/Xtext/news.html">Web and IntelliJ IDEA soon!</a></div>
<div class="ribbon-red"><a href="https://www.eclipse.dev/Xtext/news.html">Web and IntelliJ IDEA soon!</a></div>
</div>
2 changes: 1 addition & 1 deletion xtext-website/_layouts/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script>
function startSearch(event) {
if (event.keyCode == 13) {
var q = 'site:eclipse.org/Xtext/documentation+' + event.target.value;
var q = 'site:eclipse.dev/Xtext/documentation+' + event.target.value;
window.open('https://www.google.com/search?q=' + q, "_self");
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Check out [this tutorial](https://blogs.itemis.com/xtext/get-started-with-xtext-
## Run your Xtext Smart Editor in the Web

With Xtext you can now also have rich text editors for you language in the Web.
With Version 2.9.0 we already support three different javascript editor frameworks. For more details read the corresponding [section in the documentation](https://www.eclipse.org/Xtext/documentation/310_web_integration.html).
With Version 2.9.0 we already support three different javascript editor frameworks. For more details read the corresponding [section in the documentation](https://www.eclipse.dev/Xtext/documentation/310_web_integration.html).

## New Xtext Project Wizard

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Version 2.11.0 is the first release of Xtext after its big internal restructurin
Xtext and Xtend used to be one big Git repository containing all sources for Eclipse, IDEA, Web integration etc. As of 2.11, we split that into multiple smaller repository, such that you can choose yourself which ones you need. These are

- [xtext-core](https://github.com/eclipse/xtext-core): The core framework, [Language Server](https://github.com/Microsoft/vscode-languageserver-protocol) support
- [xtext-lib](https://github.com/eclipse/xtext-lib): Libraries for [Xbase]({{site.baseurl}}/documentation/305_xbase.html) and [Xtend](https://www.xtend-lang.org)
- [xtext-lib](https://github.com/eclipse/xtext-lib): Libraries for [Xbase]({{site.baseurl}}/documentation/305_xbase.html) and [Xtend](https://eclipse.dev/Xtext/xtend)
- [xtext-extras](https://github.com/eclipse/xtext-extras): Additional editor-independent features, mostly Java support
- [xtext-eclipse](https://github.com/eclipse/xtext-eclipse): Plug-ins for [Eclipse](https://eclipse.org)
- [xtext-idea](https://github.com/eclipse/xtext-idea): Plug-ins for [IntelliJ IDEA](https://www.jetbrains.com/idea/)
- [xtext-web](https://github.com/eclipse/xtext-web): Support for [Orion](https://eclipse.org/orion/), [Ace](https://ace.c9.io) and [CodeMirror](https://codemirror.net)
- [xtext-maven](https://github.com/eclipse/xtext-maven): Support for [Maven](https://maven.apache.org)
- [xtext-xtend](https://github.com/eclipse/xtext-xtend): The [Xtend](https://www.xtend-lang.org) language
- [xtext-xtend](https://github.com/eclipse/xtext-xtend): The [Xtend](https://eclipse.dev/Xtext/xtend) language
- [xtext-umbrella](https://github.com/eclipse/xtext-umbrella): Common Eclipse features and P2 update sites

In addition to that, we use Gradle now to build all non-Eclipse artifacts and Maven/Tycho for the Eclipse plug-ins. We have also set up a very sophisticated staged Jenkins build that allows to build from individual branches as well.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Xtext 2.12.0 brings several bug fixes and a new API for tracing generated code.

## New Tracing API for Generators

The new API in the `org.eclipse.xtext.generator.trace` package allows to generate text files along with trace files. These trace files can be used by generic UI such as the "Open Generated File" action as well as domain-specific features such as debugging. It's very easy to add such tracing information to a code generator, e.g. with [Xtend templates](https://www.eclipse.org/xtend/documentation/203_xtend_expressions.html#templates):
The new API in the `org.eclipse.xtext.generator.trace` package allows to generate text files along with trace files. These trace files can be used by generic UI such as the "Open Generated File" action as well as domain-specific features such as debugging. It's very easy to add such tracing information to a code generator, e.g. with [Xtend templates](https://www.eclipse.dev/Xtext/xtend/documentation/203_xtend_expressions.html#templates):

```xtend
class MyDslGenerator extends AbstractGenerator {
Expand Down Expand Up @@ -49,7 +49,7 @@ class MyDslGenerator extends AbstractGenerator {
}
```

Here `_name` and `_type` are [extension methods](https://www.eclipse.org/xtend/documentation/202_xtend_classes_members.html#extension-methods) that are generated for the metamodel of the specific language. They generate text and trace it to the respective part of the DSL source. You can find the [full example project on GitHub](https://github.com/TypeFox/tracing_codegen).
Here `_name` and `_type` are [extension methods](https://www.eclipse.dev/Xtext/xtend/documentation/202_xtend_classes_members.html#extension-methods) that are generated for the metamodel of the specific language. They generate text and trace it to the respective part of the DSL source. You can find the [full example project on GitHub](https://github.com/TypeFox/tracing_codegen).

## Bug Lists

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ With [Bug#544852](https://bugs.eclipse.org/bugs/show_bug.cgi?id=544852) a theore

## New Features in Xtend

Xtend has learned try-with-resources and the ternary operator. See the [Xtend Releasenotes](https://www.eclipse.org/xtend/releasenotes.html#/releasenotes/2019/06/04/version-2-18-0) for details.
Xtend has learned try-with-resources and the ternary operator. See the [Xtend Releasenotes](https://www.eclipse.dev/Xtext/xtend/releasenotes.html#/releasenotes/2019/06/04/version-2-18-0) for details.

## Credits

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ In compliance with general requirements by the Eclipse Foundation the license fo

## Documentation

The [Xtext community website](https://www.eclipse.org/Xtext/community.html) has been updated to list all the cool projects people are building around Xtext/Xtend.
The [Xtext community website](https://www.eclipse.dev/Xtext/community.html) has been updated to list all the cool projects people are building around Xtext/Xtend.
The list is not yet complete, so feel free to contact us if you are also interested in listing your project there.

The documentation about the [release process](https://github.com/eclipse/xtext/blob/master/dev-doc/MaintenanceTasks.md) was improved to enable more people to contribute to this process.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ As you might have recognized, the number of people contributing to Xtext on a re

## Documentation

The [Xtext community website](https://www.eclipse.org/Xtext/community.html) and the [Xtext documentation website](https://www.eclipse.org/Xtext/documentation/index.html) have been updated. New Xtext-based projects have been added, some editor features and the Unit testing / UI testing capabilities have been documented and the embedded code snippets have been updated as well.
The [Xtext community website](https://www.eclipse.dev/Xtext/community.html) and the [Xtext documentation website](https://www.eclipse.dev/Xtext/documentation/index.html) have been updated. New Xtext-based projects have been added, some editor features and the Unit testing / UI testing capabilities have been documented and the embedded code snippets have been updated as well.

We further enhanced the [Xtext Developer Documentation](https://github.com/eclipse/xtext/tree/master/dev-doc) to enable the community to easily contribute to Xtext.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ As you might have recognized, the number of people contributing to Xtext on a re

## Documentation

The [LSP Support](https://www.eclipse.org/Xtext/documentation/340_lsp_support.html) section has been added to the Xtext documentation.
The [LSP Support](https://www.eclipse.dev/Xtext/documentation/340_lsp_support.html) section has been added to the Xtext documentation.

## Upgrades

Expand Down
6 changes: 3 additions & 3 deletions xtext-website/documentation/102_domainmodelwalkthrough.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The wizard will automatically open the grammar file *Domainmodel.xtext* in the e
grammar org.example.domainmodel.Domainmodel with
org.eclipse.xtext.common.Terminals
generate domainmodel "https://www.example.org/domainmodel/Domainmodel"
generate domainmodel "http://www.example.org/domainmodel/Domainmodel"
Model:
greetings+=Greeting*;
Expand All @@ -84,7 +84,7 @@ Let's now just replace that grammar definition with the one for our entities lan
grammar org.example.domainmodel.Domainmodel with
org.eclipse.xtext.common.Terminals
generate domainmodel "https://www.example.org/domainmodel/Domainmodel"
generate domainmodel "http://www.example.org/domainmodel/Domainmodel"
Domainmodel:
(elements+=Type)*;
Expand Down Expand Up @@ -271,7 +271,7 @@ That's all for the grammar. It should now read as
grammar org.example.domainmodel.Domainmodel with
org.eclipse.xtext.common.Terminals
generate domainmodel "https://www.example.org/domainmodel/Domainmodel"
generate domainmodel "http://www.example.org/domainmodel/Domainmodel"
Domainmodel:
(elements+=AbstractElement)*;
Expand Down
4 changes: 2 additions & 2 deletions xtext-website/documentation/103_domainmodelnextsteps.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ After you have developed your first own DSL, the question arises how the behavio

## Writing a Code Generator With Xtend {#tutorial-code-generation}

As soon as you generate the Xtext artifacts from the grammar, a code generator stub is put into the runtime project of your language. Let's dive into [Xtend](https://www.eclipse.org/xtend/) and see how you can integrate your own code generator with Eclipse.
As soon as you generate the Xtext artifacts from the grammar, a code generator stub is put into the runtime project of your language. Let's dive into [Xtend](https://www.eclipse.dev/Xtext/xtend/) and see how you can integrate your own code generator with Eclipse.

In this lesson you will generate Java Beans for entities that are defined in the domainmodel DSL. For each *Entity*, a Java class is generated and each *Feature* will lead to a private field in that class including public getters and setters. For the sake of simplicity, we will use fully qualified names all over the generated code.

Expand Down Expand Up @@ -317,7 +317,7 @@ This tutorial is about testing the parser, the linker, the validator and the gen
}
```
You can further simplify the code by injecting `ParseHelper` and `ValidationTestHelper` as extensions. This feature of Xtend allows to add new methods to a given type without modifying it. You can read more about extension methods in the [Xtend documentation](https://www.eclipse.org/xtend/documentation/202_xtend_classes_members.html#extension-methods). You can rewrite the code as follows:
You can further simplify the code by injecting `ParseHelper` and `ValidationTestHelper` as extensions. This feature of Xtend allows to add new methods to a given type without modifying it. You can read more about extension methods in the [Xtend documentation](https://www.eclipse.dev/Xtext/xtend/documentation/202_xtend_classes_members.html#extension-methods). You can rewrite the code as follows:
```xtend
@Inject extension ParseHelper<Domainmodel>
Expand Down
Loading

0 comments on commit 389bba9

Please sign in to comment.