[
https://issues.jboss.org/browse/JBIDE-11127?page=com.atlassian.jira.plugi...
]
Snjezana Peco resolved JBIDE-11127.
-----------------------------------
Resolution: Done
Now the download works in the following way:
- if the Runtime Detection plugin detects a runtime in the install location, that runtime
will be created automatically
- if the Runtime Detection plugin detects more than one runtime, the user will get the
standard "Searching for runtimes..." dialog
We can't use "~/$NEW_RUNTIME_DIR" because we don't know what the runtime
contains.
Committed to the trunk.
Attached is a patch.
After downloading a runtime all other runtimes in the install
locations are added
---------------------------------------------------------------------------------
Key: JBIDE-11127
URL:
https://issues.jboss.org/browse/JBIDE-11127
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: runtime detection
Affects Versions: 3.3.0.Beta1
Environment: jbdevstudio-product-universal-5.0.0.v201203010100M-H88-Beta1.jar
Reporter: Martin Malina
Assignee: Snjezana Peco
Fix For: 3.3.0.Beta3
When you Download and add a new runtime using Preferences -> JBoss Tools -> JBoss
Tools Runtime Detection -> Download it will install not only the newly downloaded
runtime but also all other runtimes in the parent directory. This shouldn't happen as
the user didn't ask for it.
Consider this scenario:
1. ~/runtimes contains a lot of runtimes
2. download as 7.1 and use the default install location ~/
3. when the downloading finishes not only as 7.1 will be added but also everything inside
~/runtimes
This probably happens because after the download JBT calls the search function in the
install dir ~/. To fix this issue it could just call the search on ~/$NEW_RUNTIME_DIR .
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira