[JBoss JIRA] (FORGE-1449) Copy/pasting several line in the Forge only pastes and executes the 1st line
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1449?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1449:
-------------------------------------
Summary: Copy/pasting several line in the Forge only pastes and executes the 1st line (was: Copy/pasting several line in the Forge shell hangs)
> Copy/pasting several line in the Forge only pastes and executes the 1st line
> ----------------------------------------------------------------------------
>
> Key: FORGE-1449
> URL: https://issues.jboss.org/browse/FORGE-1449
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR1
> Environment: OS X Mavericks (10.9.1).
> JDK version "1.7.0_51"
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> I have a few commands in a text file :
> {code}
> jpa-new-entity --named Book ;
> jpa-new-field --named isbn ;
> jpa-new-field --named title ;
> jpa-new-field --named author ;
> jpa-new-field --named description --length 2000 ;
> {code}
> When I copy paste these 5 lines in the Forge shell I get :
> {code}
> [Book.java]$ jpa-new-field --named isbn ;
> ***SUCCESS*** Field isbn created
> [Book.java]$
> {code}
> The first two lines have been executed and then the shell hangs. CTRL+C doesn't work, I can't type anything (e.g. exit) so I need to kill the process
--
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
12 years, 3 months
[JBoss JIRA] (FORGE-1444) jpa-new-field --entity disapearing on TAB completion
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1444?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1444:
-------------------------------------
Parent Issue: FORGE-1491 (was: FORGE-1387)
> jpa-new-field --entity disapearing on TAB completion
> ----------------------------------------------------
>
> Key: FORGE-1444
> URL: https://issues.jboss.org/browse/FORGE-1444
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.Beta4
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> I want to create a One-to-Many relationship. When I type the following and hit TAB, I get the {{--entity}} parameter
> {code}
> [Talk.java]$ jpa-new-field --named speakers --
> --typeName --lob --relationshipType --entity --length --primitive
> {code}
> But if I set the relationship first, and then hit TAB, the {{--entity}} parameter doesn't show
> {code}
> [Talk.java]$ jpa-new-field --named speakers --relationshipType One-to-Many --
> --inverseFieldName --cascadeType --fetchType --required
> {code}
> Looks like there is an order on the parameters (e.g. if you enter one, then something else doesn't show up), but it's not very clear
--
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
12 years, 3 months
[JBoss JIRA] (FORGE-1398) Being able to create embeddables
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1398?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1398:
-------------------------------------
Parent Issue: FORGE-1491 (was: FORGE-1433)
> Being able to create embeddables
> --------------------------------
>
> Key: FORGE-1398
> URL: https://issues.jboss.org/browse/FORGE-1398
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.Beta4
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> As per [FORGE-797] it would be good to have a new command to create an embeddable :
> {code}
> jpa-new-embeddable --named Address ;
> jpa-new-field --named street1 --length 50 ;
> jpa-new-field --named street2 ;
> jpa-new-field --named city --length 50 ;
> jpa-new-field --named state ;
> {code}
> Then, how do we embed it into a entity ? We could have a new {{--relationshipType}} :
> {code}
> jpa-new-entity --named Customer ;
> jpa-new-field --named address --entity org.agoncal.application.petstore.model.Address --relationshipType Embedded ;
> {code}
> Except {{Address}} is not an entity. So having {{--entity}} pointing to an embeddable looks strange
--
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
12 years, 3 months
[JBoss JIRA] (FORGE-1482) Being able to turn off verbose output
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1482?page=com.atlassian.jira.plugin... ]
Antonio Goncalves closed FORGE-1482.
------------------------------------
Resolution: Done
Has been implemented as :
{code}
[pluralsight-persistence]$ track-changes
***SUCCESS*** Resource change tracking is OFF.
[pluralsight-persistence]$ track-changes
***SUCCESS*** Resource change tracking is ON.
{code}
> Being able to turn off verbose output
> -------------------------------------
>
> Key: FORGE-1482
> URL: https://issues.jboss.org/browse/FORGE-1482
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR1
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> In [FORGE-1439] the verbose output has been implemented using the command :
> {code}
> transaction-track-changes
> {code}
> But once it's on, there is no way to turn it off. You can add a parameter to it
> {code}
> transaction-track-changes --verbose true
> transaction-track-changes --verbose false
> {code}
> I would have use the {{export}} for this matter
> {code}
> export VERBOSE_OUTPUT= true
> export VERBOSE_OUTPUT= false
> {code}
--
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
12 years, 3 months
[JBoss JIRA] (FORGE-1392) more command does not always work
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1392?page=com.atlassian.jira.plugin... ]
Antonio Goncalves resolved FORGE-1392.
--------------------------------------
Resolution: Out of Date
Works with the latest SNAPSHOT
> more command does not always work
> ---------------------------------
>
> Key: FORGE-1392
> URL: https://issues.jboss.org/browse/FORGE-1392
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.Beta4
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> When I create a project, I can do a {{more}} on the {{pom.xml}}. But then, after creating a few entities, I cannot do a {{more}} on the entity I've created.
> {code}
> [model]$ more Country.java
> /Users/antoniombp/Documents/Code/temp/Country.java: No such file or directory
> [model]$ pwd
> /Users/antoniombp/Documents/Code/temp/agoncal-application-petstore-ee7/src/main/java/org/agoncal/application/petstore/model
> {code}
> In this example I am on the {{model}} subdirectory, when I type {{more}} and hit TAB, the completion works for my entity {{Country}}, but then, the directory is not right :
> {code}
> /Users/antoniombp/Documents/Code/temp/Country.java
> {code}
> Instead of
> {code}
> /Users/antoniombp/Documents/Code/temp/agoncal-application-petstore-ee7/src/main/java/org/agoncal/application/petstore/model/Country.java
> {code}
--
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
12 years, 3 months