Antonio Goncalves created FORGE-1631:
----------------------------------------
Summary: The output is out of sync and duplicated
Key: FORGE-1631
URL:
https://issues.jboss.org/browse/FORGE-1631
Project: Forge
Issue Type: Sub-task
Components: UI - Shell
Affects Versions: 2.1.1.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
When I execute the following script :
{code}
project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
java-new-enum --named Language --targetPackage com.pluralsight.persistence.module07.model
;
java-new-enum-const ENGLISH ;
java-new-enum-const FRENCH ;
java-new-enum-const SPANISH ;
java-new-enum-const PORTUGUESE ;
java-new-enum-const RUSSIAN ;
{code}
The output looks a bit out of sync and duplicates line a bit randomly :
{code}
[Forge]$ run proj.fsh
[Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName
testrun
***SUCCESS*** Project named 'testrun' has been created.
[Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName
testrun
***SUCCESS*** Project named 'testrun' has been created.
[testrun]$ java-new-enum --named Language --targetPackage
com.pluralsight.persistence.module07.model ;
***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
[Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName
testrun
***SUCCESS*** Project named 'testrun' has been created.
[testrun]$ java-new-enum --named Language --targetPackage
com.pluralsight.persistence.module07.model ;
***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
[Language.java]$ java-new-enum-const ENGLISH ;
[Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName
testrun
***SUCCESS*** Project named 'testrun' has been created.
[testrun]$ java-new-enum --named Language --targetPackage
com.pluralsight.persistence.module07.model ;
***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
[Language.java]$ java-new-enum-const ENGLISH ;
[Language.java]$ java-new-enum-const FRENCH ;
[Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName
testrun
***SUCCESS*** Project named 'testrun' has been created.
[testrun]$ java-new-enum --named Language --targetPackage
com.pluralsight.persistence.module07.model ;
***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
[Language.java]$ java-new-enum-const ENGLISH ;
[Language.java]$ java-new-enum-const FRENCH ;
[Language.java]$ java-new-enum-const SPANISH ;
[Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName
testrun
***SUCCESS*** Project named 'testrun' has been created.
[testrun]$ java-new-enum --named Language --targetPackage
com.pluralsight.persistence.module07.model ;
***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
[Language.java]$ java-new-enum-const ENGLISH ;
[Language.java]$ java-new-enum-const FRENCH ;
[Language.java]$ java-new-enum-const SPANISH ;
[Language.java]$ java-new-enum-const PORTUGUESE ;
[Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName
testrun
***SUCCESS*** Project named 'testrun' has been created.
[testrun]$ java-new-enum --named Language --targetPackage
com.pluralsight.persistence.module07.model ;
***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
[Language.java]$ java-new-enum-const ENGLISH ;
[Language.java]$ java-new-enum-const FRENCH ;
[Language.java]$ java-new-enum-const SPANISH ;
[Language.java]$ java-new-enum-const PORTUGUESE ;
[Language.java]$ java-new-enum-const RUSSIAN ;
[Language.java]$ ***SUCCESS*** Project named 'testrun' has been created.
***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
[Forge]$ exit
{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