[
https://issues.jboss.org/browse/FORGE-378?page=com.atlassian.jira.plugin....
]
Max Rydahl Andersen commented on FORGE-378:
-------------------------------------------
"What would happen if someone starts working with a specific version of EE, then sets
the "environment" to a different version?" - you mean like you target
JavaEE6 explicitly and then targets Wildfly 8 (which would default to JavaEE7?)
I would just expect forge to ask something like:
Current project is targeting JavaEE-6, the default type for Wildfly 8 is JavaEE-7. Do you
wish to use JavaEE-7 or continue to use JavaEE-6 ?
Add "environments" as a first class construct
---------------------------------------------
Key: FORGE-378
URL:
https://issues.jboss.org/browse/FORGE-378
Project: Forge
Issue Type: Feature Request
Components: UI - Shell, Usability
Reporter: Pete Muir
For example:
{code}
set environment JBOSS_AS7 --version 7.1.0.Final
{code}
Where JBOSS_AS7 is a built in profile that contains necessary info on various versions of
JBoss AS 7.
For example, the persistence plugin could read from this, changing
{code}
persistence setup --provider HIBERNATE --container JBOSS_AS7
{code}
to
{code}
persistence setup
{code}
Or, when setting up CDI, this would remove the need to ask ask which API to use (always
use the Java EE BOM with JBoss AS), and as the metadata builds, remove the need to ask the
version of the spec BOM to use.
Lot's of other places where this could provide better defaulting, or remove the need
to ask questions.
This also seems fairly consistent with the Forge approach - good understanding of the
project in question.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira