Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1627 Executing Forge scripts
  3. FORGE-1631

The output is out of sync and duplicated

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • 2.2.0.Final
    • 2.1.1.Final
    • UI - Shell
    • None

    Description

      When I execute the following script :

      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 ;
      

      The output looks a bit out of sync and duplicates line a bit randomly :

      [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
      

      Attachments

        Activity

          People

            lincolnthree Lincoln Baxter III (Inactive)
            agoncal Antonio Goncalves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: