- Configure version and property 'failIfNoTests' in parent pom and
removing from test project poms
- Makes tycho-surefire-plugin configuration in runtime test project
obsolete.
- Also suppress plugin management for maven-surefire-plugin when in a
Tycho build.
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
Adds a dependency on org.junit.jupiter:junit-jupiter-engine:5.1.0 with
scope testRuntime.
Enum Scope extended by TESTRUNTIME literal.
Inline additional gradle code in runtime project for inlined tests.
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
Moved surefire configuration from build config of the test project to
pluginManagement of the parent pom. Previous did not work with Maven
source layout, where no separate test module is created.
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
- Use Tycho 1.2 for JUnit 5
- Removed adding of org.junit as imported package - test projects are
already created with a bundle dependency
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
- Added enum JUnitVersion
- Create JUnitFragment from Junit4Fragment2
- provide setter for JUnit version
- Deprecated Junit4Fragment2 and extend from JUnitFragment
- changed StandardLanguage#junitSupport type to JUnitFragment
- Extended JUnitFragment to produce JUnit version specific code
- Added junitVersion property to WizardConfiguration
- generate JUnit 5 specific configuration to workflow when JUnit 5 is
configured
- TestProjectDescriptor: Configure JUnit 5 dependencies
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
Remove IDEA from the new project wizard. IDE plugins are not well
maintained any more, no need to bother new users with not working stuff.
Set version of xtext-gradle-plugin to 1.0.21.
Update test projects according to removed IDEA support.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
The tycho-surefire-plugin is managed in the parent pom.xml and
configures argLine by a set of properties. The properties are declared
empty and will be redfined by profiles or overriding by system
properties.
Profiles 'macos' and 'jdk9-or-newer' are declared. Profile 'macos' will
add the required '-XstartOnFirstThread' arg and 'jdk9-or-newer' defines
the '--add-modules=ALL-SYSTEM' setting.
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
- updated the wizard to use maven-assembly-plugin version 3.1.0
- updated the assembly descriptors to version 2.0.0
- updated the wizard to use maven-war-plugin version 3.2.0
- updated the tests to these versions, as well
Signed-off-by: Florian Stolte <fstolte@itemis.de>
On windows the generated classpath in start scripts might become too
long. This can be avoided by additional configuration of the
appassembler-maven-plugin plugin:
- added option repositoryLayout=flat
- added option useWildcardClassPath=true
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
The IDE project's build can be extended to create an executable Language
Server. The Language Server can be configured to be built either as a
distribution with seperate jars or as a fat jar.
Due to a limitation of the maven-shade-plugin in a Maven/Tycho
environment the build must be tweaked a bit to materialize dependencies
with the maven-dependencies-plugin and attached for inclusion with the
addjars-maven-plugin.
Extended the test suite for the different configurations with language
server support:
- plain Maven
- Maven/Tycho
- Gradle
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
The IDE project's build can be extended to create an executable Language
Server. The Language Server can be configured to be built either as a
distribution with seperate jars or as a fat jar.
Due to a limitation of the maven-shade-plugin in a Maven/Tycho
environment the build must be tweaked a bit to materialize dependencies
with the maven-dependencies-plugin and attached for inclusion with the
addjars-maven-plugin.
Extended the test suite for the different configurations with language
server support:
- plain Maven
- Maven/Tycho
- Gradle
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
The IDE project's build can be extended to create an executable Language
Server. The Language Server can be configured to be built either as a
distribution with seperate jars or as a fat jar.
Due to a limitation of the maven-shade-plugin in a Maven/Tycho
environment the build must be tweaked a bit to materialize dependencies
with the maven-dependencies-plugin and attached for inclusion with the
addjars-maven-plugin.
Extended the test suite for the different configurations with language
server support:
- plain Maven
- Maven/Tycho
- Gradle
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
* consolidated version of 'org.junit' with our reference in 'gradle/versions.gradle' (currently 4.12)
* added dependency to 'junit:junit:4.12' with scope 'testCompile' to templates of 'pom.xml' + 'build.gradle'
Signed-off-by: Christian Schneider <christian.schneider@typefox.io>
The Xtend compiler was optimized to minimize the usage of synthetic variables for member feature calls and right-hand assignments
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
For comparison with null the triple (not) equal operator should be used.
Resolved compiler warnings
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
For comparison with null the triple (not) equal operator should be used. Resolved compiler warnings
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
see https://github.com/eclipse/xtext-umbrella/issues/3
Remove org.eclipse.buildship.core.prefs
Files are generated on Gradle project import or by Oomph setup
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
connection.project.dir changed to composite build location in new
umbrella project
value 'containers' added by Buildship
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
Add 'lineDelimiter' to project configuration and generate it to the
'code' configuration in the workflow.
Adjusted test expectations.
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
- Launch config for Runtime Eclipse is only generated when the runtime
project is a plugin project.
- Launch config for Xtext workflow is dependent on the build system. For
plain Maven projects the launch config uses the m2e launcher, for Gradle
builds buildship is launched.
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
- the runtime project excludes .mwe2 and .xtend files
- the feature sdk project excludes nothing
- all other Eclipse projects exclude .xtend
- add test case WizardConfigurationTest#binExcludes
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>