Antonio Goncalves created FORGE-2316:
----------------------------------------
Summary: Brainstorming on introducing "Stacks"
Key: FORGE-2316
URL:
https://issues.jboss.org/browse/FORGE-2316
Project: Forge
Issue Type: Task
Reporter: Antonio Goncalves
Fix For: 2.x Future
At the moment Forge generates code without having a real notion of a technical stack. For
example, creating a JPA Entity for a Java EE 6 application could be different from a Java
EE 7 application :
* The {{persistence.xml}} version if different (2.0 / 2.1)
* The {{properties}} are different (e.g. schema generation in 2.1)
* The syntax is different ({{List<MyEntity> m = new ArrayList<MyEntity>}}
while it could use diamond syntax for a Java EE 7 stack)
The stack could be choosen when the project is created :
* {{project-new --named myproj}} : let's the developper use Forge without any special
stack
* {{project-new --named myproj --stack JavaEE7}} : the generated code will follow Java EE
7
h3. Possible stacks
A stack would bundle certain facets. Therefore we could have as many stacks as needed.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)