test of DSL does not run with maven [message #1691760] |
Thu, 09 April 2015 13:59 |
peter luthardt Messages: 22 Registered: March 2014 |
Junior Member |
|
|
In my testcase I parse a DSL-text where I refer to an Enumeration wich is defined in the same package as the testCase.
src/com/lutte/test/TestCase.xtend
src/com/lutte/test/TestEnum.java
import java.util.List
import java.util.LinkedHashMap
import com.lutte.test.TestEnum
When I run the test in eclipse everything works fine, But when I buil with maven the build fails as the text could not be parsed
issue: Couldn't resolve reference to JvmType 'TestEnum'.
issue: Couldn't resolve reference to JvmDeclaredType 'com.lutte.test.TestEnum'.
It seems that this es a class path issue but I have no idea where to start.
When I remove the import of the Enumeration the build does not fail.
Xtext 2.8.1
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03706 seconds