[
https://issues.jboss.org/browse/FORGE-1381?page=com.atlassian.jira.plugin...
]
Antonio Goncalves commented on FORGE-1381:
------------------------------------------
What do you mean be uninstalling facets ? Does this also mean deleting the code that has
been generated ? I'm using Forge to do some quick prototyping and sometimes just want
to erase and start everything again, something like :
{code}
jpa-new-entity Customer
jpa-new-field string name
# got it wrong
jpa-clear
{code}
Being able to clear parts of the generated code (or all the project)
--------------------------------------------------------------------
Key: FORGE-1381
URL:
https://issues.jboss.org/browse/FORGE-1381
Project: Forge
Issue Type: Feature Request
Components: UI - Shell
Affects Versions: 2.0.0.Beta3
Reporter: Antonio Goncalves
When prototyping using a Forge script, sometimes I would like to have a command that
would delete parts of a project (or everything) from dependencies in the {{pom.xml}} to
source code. Something like :
{code}
jpa-clear # deletes the code of the entities and the JPA dependencies
jsf-clear # deletes the backing bean and pages
...
project-clear # deletes everything (source code, and pom dependencies) leaving
empty directories and artifactId and groupId
{code}
And then I would be able to start again from scratch without leaving the CLI.
--
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