[forge-issues] [JBoss JIRA] (FORGE-1381) Being able to clear parts of the generated code (or all the project)

George Gastaldi (JIRA) issues at jboss.org
Sat Dec 28 22:54:32 EST 2013


    [ https://issues.jboss.org/browse/FORGE-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933260#comment-12933260 ] 

George Gastaldi commented on FORGE-1381:
----------------------------------------

The implementation of these commands should preferably uninstall project facets (calling project.getFacet(XXX.class).uninstall())
                
> 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


More information about the forge-issues mailing list