XMLWordPrintable

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

      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/
      

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

                Created:
                Updated:
                Resolved: