[jbosstools-issues] [JBoss JIRA] (JBIDE-15392) Add api in server needed for source lookup
Rob Stryker (JIRA)
jira-events at lists.jboss.org
Thu Sep 5 11:19:04 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-15392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801975#comment-12801975 ]
Rob Stryker commented on JBIDE-15392:
-------------------------------------
The class you'll want to look at as your entry point would be RuntimeJarUtility
It has a few methods signatures, some requiring IRuntime, and others requiring only a String homeDirectory. However, the one requiring a home directory will probably require you to pass in a Map<String, String> with a full path for the configuration folder (for AS < 7, something like ${jboss_config_dir} -> /home/you/apps/jboss/jboss-6/server/default )
Please see the test case for more use-cases and examples.
> Add api in server needed for source lookup
> ------------------------------------------
>
> Key: JBIDE-15392
> URL: https://issues.jboss.org/browse/JBIDE-15392
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: maven, server
> Reporter: Max Rydahl Andersen
> Assignee: Rob Stryker
>
> As uncovered in https://github.com/jbosstools/jbosstools-central/pull/128/files#L5L120 we got a problem with source lookup code always having to play catchup with server changes.
> We need to define a stable api that can be used here.
> lets outline what api is actually needed and then subjiras for the specifics.
> For me it looks like server lookup needs a few things:
> 0. know exact version of server
> 1. know the file structure of a certain server
> 2. get dir or directories that contain jar that is the "runtime"
> My guess is that #2 might just be sufficient for source code lookup.
> Any comments ?
--
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