[jbosstools-dev] Better place for JBoss Tools mylyn connections.
Denis Golovin
dgolovin at exadel.com
Mon Nov 7 12:11:46 EST 2011
That's right, if there is no x-installation:=greedy in optional
dependency it is not going to be installed by default and user need to
install it explicitly.
So for usage we have to make it greedy to be installed, but for JIRA
connector we don't.
I was thinking about new Support component or at least category in JBT
Update site.
WDYT?
On 11/07/2011 09:03 AM, Nick Boldt wrote:
> For example:
>
> portlet/plugins/org.jboss.tools.portlet.core/META-INF/MANIFEST.MF
>
> ...
> org.eclipse.core.commands,
> org.eclipse.core.expressions,
> org.jboss.tools.usage;bundle-version="1.0.0";resolution:=optional;x-installation:=greedy
>
> ...
>
>
> On 11/07/2011 11:59 AM, Max Rydahl Andersen wrote:
>>>>> I created a new plug-in to provide mylyn connections for
>>>>> issues.jboss.org and bugzila.redhat.com
>>>>> See details in jira - https://issues.jboss.org/browse/JBIDE-9351
>>>>> It's placed in common/plugins/org.jboss.tools.common.mylyn
>>>>> We set two repositories in this plug-in. Firs one is Bugzilla and
>>>>> second one is JIRA.
>>>>> The problem is that Bugzilla connector comes from Eclipse Mylyn
>>>>> plugins but JIRA connector comes from Atlassian update-site.
>>>>> So we have to have Atlassian plugins installed to get JBoss JIRA
>>>>> repository working.
>>>> hmm - I thought/hoped the setup would not have a hard coupling to
>>>> atlassian plugin - but just optional dependency.
>>>>
>>>>> So there are two questions. What module/feature is better for our
>>>>> mylyn plug-in? Denis' suggestion is to move this plugin to central.
>>>>> What do you think?
>>>> My first thought was no since initially that would just solve the
>>>> mylyn dependency issue, but then I rethought and it actually kinda
>>>> make sense
>>>> that central is the one setting up the jboss.org/fedora/redhat
>>>> issue systems.
>>>>
>>>> But this doesn't solve the problem of requiring atlassian plugin to
>>>> be installed.
>>>>
>>>> Can we do one of the following:
>>>>
>>>> A) make the atlassian installation optional - so I don't have to
>>>> get mylyn tasks + jira plugins just to use central.
>>>>
>>>> B) make it a separate feature �which then unfortunately would need
>>>> to be installed separately :(
>>> According to latest changes in p2, if dependency is optional it is
>>> not installed by default unless it is marked as greedy, then it
>>> should be packed as separate feature and available for installation.
>>
>> where do you mark such as greedy/non-greedy ?
>>
>>> So A+B should just work.
>>
>> So you mean separate feature but dependency marked as non-greedy ?
>> That sounds like a plan.
>>
>> /max
>> http://about.me/maxandersen
>>
>>
>>
>>
>> _______________________________________________
>> jbosstools-dev mailing list
>> jbosstools-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>
More information about the jbosstools-dev
mailing list