[forge-issues] [JBoss JIRA] (FORGE-1630) The path is not right

Antonio Goncalves (JIRA) issues at jboss.org
Tue Mar 4 13:41:33 EST 2014


Antonio Goncalves created FORGE-1630:
----------------------------------------

             Summary: The path is not right
                 Key: FORGE-1630
                 URL: https://issues.jboss.org/browse/FORGE-1630
             Project: Forge
          Issue Type: Sub-task
          Components: UI - Shell
    Affects Versions: 2.1.1.Final
            Reporter: Antonio Goncalves
             Fix For: 2.x Future


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

{code}
project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
{code}

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 :

{code}
[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/
{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


More information about the forge-issues mailing list