Community
Participate
Working Groups
The increased validation that occurs as a consequence of EMF EAnnotation validation (Bug 529257) highlights that Xtext provides no way to inhibit validation of *.ecore / DSL files copied to the Maven/Tycho "target" folder. All errors reported against a source file are re-reported against the "target" copy. This is a visual pain in the Problems View and an unnecessary waste of validation time. The Java nature uses the classpath to filter files and the "target/classes" folder is not on the classpath; no duplicate compilation. Perhaps the Xtext nature needs to provide included/excluded regexes analoguous to the Java to-bin copy for the classpath. - Suggest include/exclude in the xtextBuilder .project buildCommand. Perhaps an Xtext preference to treat .gitignore as an exclusion Perhaps support a .xtextignore to define exclusions Suggest a warning for projects with a pom.xml or ../pom.xml and no exclusion.