[
https://issues.jboss.org/browse/JBDS-2390?page=com.atlassian.jira.plugin....
]
Snjezana Peco commented on JBDS-2390:
-------------------------------------
There are already the standard external download URL within the code that can be
overridden using the jboss.runtime.directory.url system property.
I don't see how an extension point would help since we can create only one ext. point.
It also can't be changed without changing the code (plugin.xml).
Adding a plugin that would set a system property is, in my opinion, a good idea. I
suppose, the plugin would be included in JBT/JBDS only when testing, not in the final
distribution.
JBoss Central works in a similar way. We have hardcoded discovery location that can be
overridden with the jboss.discovery.directory.url system property.
As to the project examples
Project examples can be added in four ways:
- using an extension point
- using user sites
- using a system property
- adding .project_example.xml to some JBoss AS server home directory
How to customize JBT to be like JBDS
------------------------------------
Key: JBDS-2390
URL:
https://issues.jboss.org/browse/JBDS-2390
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: central
Reporter: Mickael Istria
Assignee: Snjezana Peco
Fix For: 6.1.0.Alpha1
In JBDS, we override the discovery.url to set it to the value for JBDS extras site.
However, this is done by hacking system properties. Instead, we could think of using the
"discoveryProviderUrl" extension point in JBT.
JBT would provide an extension to define this URL.
JBDS would provide another extension to define this URL.
Changing URL happens by updating the extension plugin.
So JBT and JBDS would behave the same way when dealing with discovery, and we remove the
system properties settings from JBDS. System proprty would still be available for testing
only.
--
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