[jbosstools-issues] [JBoss JIRA] (JBIDE-22169) silent runtime detection for installer eap or cdk does not work on mac
Rob Stryker (JIRA)
issues at jboss.org
Tue Apr 12 10:59:00 EDT 2016
[ https://issues.jboss.org/browse/JBIDE-22169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190674#comment-13190674 ]
Rob Stryker commented on JBIDE-22169:
-------------------------------------
The current hard-coded paths for eap vs cdk are:
private static final String JBOSS_EAP_HOME = "../../runtimes/jboss-eap"; // JBoss EAP home directory (relative to plugin)- <RHDS_HOME>/jbossas. //$NON-NLS-1$
private static final String CDK_HOME = "../../../cdk/"; //$NON-NLS-1$
It will search these paths recursively to an additional depth of 3.
These paths are relative to the "configuration" location, as discovered by Platform.getConfigurationLocation();
> silent runtime detection for installer eap or cdk does not work on mac
> ----------------------------------------------------------------------
>
> Key: JBIDE-22169
> URL: https://issues.jboss.org/browse/JBIDE-22169
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: runtime-detection
> Affects Versions: 4.3.1.CR1
> Reporter: Martin Malina
> Assignee: Rob Stryker
> Attachments: jbds-tree-mac.txt
>
>
> Today I learned that when you install jbdevstudio together with bundled eap, you should not get a popup from runtime detection when you start jbds. The bundled eap should be added silently.
> This doesn't work on Mac. This is most probably because there is a different directory structure on mac.
> See here:
> {code}
> ./runtimes
> ./runtimes/jboss-eap
> ./studio/jbdevstudio.app
> ./studio/jbdevstudio.app/Contents
> ./studio/jbdevstudio.app/Contents/Eclipse
> ./studio/jbdevstudio.app/Contents/Eclipse/plugins
> ./studio/jbdevstudio.app/Contents/MacOS
> ./studio/jbdevstudio.app/Contents/MacOS/jbdevstudio
> {code}
> See the attached txt for full tree.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list