[jbosstools-issues] [JBoss JIRA] (JBDS-2797) .ini upgrade issue for 7.0.1 OSX users

Martin Malina (JIRA) jira-events at lists.jboss.org
Mon Oct 21 05:30:02 EDT 2013


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

Martin Malina edited comment on JBDS-2797 at 10/21/13 5:28 AM:
---------------------------------------------------------------

It seems one thing was omitted here:
We had a template Info.plist for the os x app that is no longer used:
https://github.com/jbdevstudio/jbdevstudio-product/blob/master/installer/src/config/resources/JBoss%20Developer%20Studio.app/Contents/Info.plist

>From the path it seems that it needs to be adjusted to the new path. I checked that in Alpha2 this was used.
One useful thing it sets is this:
{code}
<key>CFBundleName</key>
<string>JBoss Developer Studio</string>
{code}

Right now the generated Info.plist contains the default: jbdevstudio - taken from the app file name. Currently, when you start the application, for a few seconds you get "jbdevstudio" in the menu bar and once you're prompted for your workspace, it changes to "JBoss Developer Studio" - this is achieved by this definition in jbdevstudio.ini:
-Xdock:name=JBoss Developer Studio (but unfortunately this does not change the Dock name as it should, so Dock still has jbdevstudio :( )

With the CFBundleName set up properly, you get the proper name in the menu bar immediately.
                
      was (Author: mmalina):
    It seems one thing was omitted here:
We had a template Info.plist for the os x app that is no longer used:
https://github.com/jbdevstudio/jbdevstudio-product/blob/master/installer/src/config/resources/JBoss%20Developer%20Studio.app/Contents/Info.plist

>From the path it seems that it needs to be adjusted to the new path. I checked that in Alpha2 this was used.
One useful thing it sets is this:
{code}
<key>CFBundleName</key>
<string>JBoss Developer Studio</string>
{code}

Right now the generated Info.plist contains the default: jbdevstudio - taken from the app file name. Currently, when you start the application, for a few seconds you get "jbdevstudio" in the menu bar and once you're prompted for your workspace, it changes to "JBoss Developer Studio" (I don't know how we do this - somehow programatically?). With the CFBundleName set up properly, you get the proper name in the menu bar immediately.

Unfortunately you still get jbdevstudio in the Dock - I can't find a way of overriding that.
                  
> .ini upgrade issue for 7.0.1 OSX users
> --------------------------------------
>
>                 Key: JBDS-2797
>                 URL: https://issues.jboss.org/browse/JBDS-2797
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: build, installer
>    Affects Versions: 7.0.1.GA
>            Reporter: Max Rydahl Andersen
>            Assignee: Denis Golovin
>            Priority: Critical
>             Fix For: 7.1.0.Beta1
>
>
> User noticed issues with 7.0.0 to 7.0.1 updates at https://community.jboss.org/message/841477#841477 that needs investigation.
> The post is about osx but I don't think this is limited to this OS, just that OSX has a different java behavior.
> Worrisome issues are:
> development url used in GA update:
> -Djboss.discovery.directory.url=https://devstudio.jboss.com/updates/7.0-development/devstudio-directory.xml
> startup/launcher directories are hardcoded in the .ini file:
> -startup
> ../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
> --launcher.library
> ../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20130807-1835
> Have these been forgotten/set wrong in the update or is this some specific update path that is failing ?

--
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