开源软件名称(OpenSource Name):xtext/maven-xtext-example开源软件地址(OpenSource Url):https://github.com/xtext/maven-xtext-example开源编程语言(OpenSource Language):Java 53.3%开源软件介绍(OpenSource Introduction):An Xtext Language Built with MavenA small example to show how to configure a Maven build for an Xtext language and how to use it from Maven and Gradle. Language BuildIf you use Xtext 2.9 or higher, the Maven build for your language is auto-generated. Just skip ahead to the usage section.
Language Usage
Try it out! Steps1. Increase memory export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=256m" 2. Build the language mvn clean install 3. Build the example projects cd ../example-project/
mvn clean install cd ../example-project-gradle/
./gradlew build BuildsWe now have automatic builds: https://github.com/xtext/maven-xtext-example/actions?query=workflow%3ABuild Maven ArchetypeThere is also a Maven Archetype available that automatically creates your new project based on this example: https://github.com/fuinorg/emt-xtext-archetype Known Issues1. Build fails due to version conflictsThe build will fail immediately because of version conflicts. A possible error might look similar to the following:
Even if the specified version (see pom) is available on the central maven repository, updating related snapshots will most likely help the problem.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论