[
https://issues.jboss.org/browse/JBIDE-18678?page=com.atlassian.jira.plugi...
]
Alexey Kazakov commented on JBIDE-18678:
----------------------------------------
I added one more commit to the [~kaloyan-raev]'s one with updated usage feature.xml -
https://github.com/jbosstools/jbosstools-base/pull/365
And if we want to enable JBT usage automaticly when installing some feature (e.g.
browsersim) then we have to include the usage feature (which includes both usage api and
impl plugins) as required in the feature.xml:
https://github.com/jbosstools/jbosstools-browsersim/pull/50
We have to update every JBoss Tools (and integration stack plugins too) feature.xml if we
think that this approach is good.
How it's supposed to work:
1. Install browsersim feature (it will trigger usage feature installation).
2. As result both usage plugins (api + impl) are available and usage is enabled.
If some third party product doesn't want to enable usage, then it should not to
include browsersim feature. It's OK to include/depend on browsersim plugins or/and
create a new feature for browsersim plugins but w/o usage dependency in the feature.xml.
In this case the usage api plugin will be available (not the impl one) and usage will be
disabled.
[~kaloyan-raev] does it work for you?
[~maxandersen] is it acceptable approach? WDYT?
Make dependencies to org.jboss.tools.usage optional
---------------------------------------------------
Key: JBIDE-18678
URL:
https://issues.jboss.org/browse/JBIDE-18678
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: browsersim, usage
Affects Versions: 4.2.0.CR1
Reporter: Kaloyan Raev
Assignee: Alexey Kazakov
Fix For: 4.3.x
I am interested in adopting the CordovaSim feature in our product. However, most of the
browsersim bundles have a strong dependency to org.jboss.tools.usage bundle, which force a
Usage Reporting popup on startup. I want to avoid this and have the org.jboss.tools.usage
excluded from my build.
Is it possible to make the dependencies to org.jboss.tools.usage optional?
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)