XMLWordPrintable

Details

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

    Description

      Let's say I have a simple script which just creates a project :

      project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
      

      When I execute this script, it creates the project testrun but it goes back to the root path. So, when I create a new entity, it doesn't create it at the right place :

      [Forge]$ run proj.fsh
      [Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
      ***SUCCESS*** Project named 'testrun' has been created.
      [testrun]$ ***SUCCESS*** Project named 'testrun' has been created.
      [Forge]$ jpa-new-entity --named MyEntity
      ***SUCCESS*** Entity MyEntity created
      [MyEntity.java]$ pwd
      /Users/antoniombp/Documents/Code/temp/Forge/MyEntity.java
      [MyEntity.java]$ exit
      ~/Documents/Code/temp/Forge$ ll
      -rw-r--r--  1 antoniombp  staff   1.5K Mar  4 19:34 MyEntity.java
      -rw-r--r--@ 1 antoniombp  staff    89B Mar  4 19:33 proj.fsh
      drwxr-xr-x  4 antoniombp  staff   136B Mar  4 19:33 testrun/
      

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            agoncal Antonio Goncalves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: