joergreichert / spray

Automatically exported from code.google.com/p/spray
1 stars 2 forks source link

Use xtend-maven-plugin, remove xtend-gen sources from repository, #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Xtext 2.2.0 introduces a Maven plugin to compile Xtend sources. This allows 
finally to remove xtend-gen sources from the repository and let them generate 
during the build.

For more details see
http://www.eclipse.org/Xtext/xtend/documentation/index.html#MavenSupport
http://kthoms.wordpress.com/2011/12/08/xtext-2-2-finally-brings-maven-support-fo
r-xtend/

TODO:
Evaluate the plugin for Spray and introduce it in the build. Delete generated 
Java classes from the repository when possible.

Original issue reported on code.google.com by karsten....@googlemail.com on 9 Dec 2011 at 7:10

GoogleCodeExporter commented 9 years ago
The Xtend Maven Plugin 2.2.1 could not handle multiple source directories. This 
was fixed for Xtend 2.3.0, but the plugin is closely tied to the Xtend version 
and is also not available yet on any public repository.

I have backported the current development state to Xtend 2.2.1 and named the 
version 2.2.2. This version has been deployed to the Fornax repository.

The build now uses the Maven plugin for all plugins with xtend-gen folders. 
Generated files have been removed from the repository and .gitignore files have 
been placed into the folder.

The build now runs without any generated sources checked in.

Original comment by karsten....@googlemail.com on 1 Apr 2012 at 10:37