[jbosstools-issues] [JBoss JIRA] (JBDS-3109) OS X: Browse for Java VM returns parent folder from the selected one

Denis Golovin (JIRA) issues at jboss.org
Thu Sep 11 20:06:19 EDT 2014


     [ https://issues.jboss.org/browse/JBDS-3109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denis Golovin updated JBDS-3109:
--------------------------------
    CDW devel_ack: +  (was: ?)


> OS X: Browse for Java VM returns parent folder from the selected one
> --------------------------------------------------------------------
>
>                 Key: JBDS-3109
>                 URL: https://issues.jboss.org/browse/JBDS-3109
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>          Components: installer
>    Affects Versions: 8.0.0.Beta3
>         Environment: JBDS 8.0.0.Beta3c B194
> OS X 10.9 Mavericks
>            Reporter: Martin Malina
>            Assignee: Denis Golovin
>             Fix For: 8.0.0.CR1
>
>
> This is a follow up of JBDS-3025
> When you browse for Java VM during installation on mac, there are two use cases:
> a) Either you get to the parent folder and click the Home directory and and the push the Select button. In this case the parent will show up in the field, e.g. /Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents (note the Home missing at the end).
> b) Or you browse all the way to the final directory, i.e. you double click Home when you're in the parent folder. Then, without selecting anything, you can click the Select button. This way, you will end up with e.g. /Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home in the field. This is expected.
> So scenario a) doesn't work as it should.
> I would like to add, that there is a similar thing in Step 5 - Select Platforms and Servers. Here you can add paths with runtimes. In this case, both a) and b) scenarios work correctly. So perhaps you can check the code used there and use that?



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list