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

Lincoln Baxter III (JIRA) issues at jboss.org
Mon Jan 27 11:07:29 EST 2014


     [ https://issues.jboss.org/browse/FORGE-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lincoln Baxter III closed FORGE-1381.
-------------------------------------

    Resolution: Won't Fix


This is what the resource transaction API is for.

{code}
transaction-start

// do some commands
jpa-setup
jpa-new-entity

// OOPS did it wrong

transaction-rollback
{code}

Energy should be spent making this transaction API as robust and comprehensive as possible.
                
> 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