[jbosstools-issues] [JBoss JIRA] (JBDS-2439) jbdevstudio-unity execution fails when called from different working directory

Ondrej Skutka (JIRA) jira-events at lists.jboss.org
Thu Jan 3 04:48:08 EST 2013


    [ https://issues.jboss.org/browse/JBDS-2439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743324#comment-12743324 ] 

Ondrej Skutka commented on JBDS-2439:
-------------------------------------

An easy fix is to replace the {code}./studio/jbdevstudio{code} with {code}$(dirname "$0")/studio/jbdevstudio{code}
                
> jbdevstudio-unity execution fails when called from different working directory
> ------------------------------------------------------------------------------
>
>                 Key: JBDS-2439
>                 URL: https://issues.jboss.org/browse/JBDS-2439
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 6.0.0.GA
>            Reporter: Ondrej Skutka
>
> jbdevstudio-unity script fails with {code}line 17: ./studio/jbdevstudio: No such file or directory{code} when called from a working directory different from jbdevstudio install dir.
> This is caused by relative path in the script (??./studio/jbdevstudio??) introduced by the fix in JBDS-1781.

--
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 jbosstools-issues mailing list