| Summary: | [Xtend] maven plugin should use target/generated-classes | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Mark Derricutt <mark> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | sven.efftinge |
| Version: | 2.2.0 | Flags: | sven.efftinge:
juno+
|
| Target Milestone: | M4 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
pushed to master. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
Currently the maven plugin uses src/main/xtend-gen and src/test/xtend-gen as the default directory for generated .java files during compilation. The standard behavior for Maven is to use target/generated-sources/xxxx for generated source files. IntelliJ IDEA and (I believe) Netbeans automatically detect these directories as source directories and use them for auto-completion and static analysis of the rest of a project. As it's often frowned upon to generate source code into version control managed directories, and it improves integration with non-eclipse development tools, it would be good to change the default configuration to use the following output directories: <configuration> <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory> <testOutputDirectory>${project.build.directory}/generated-sources/test-xtend</testOutputDirectory> </configuration>