Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Inject Update Site URL into top-level feature
Inject Update Site URL into top-level feature [message #603837] Mon, 21 December 2009 23:34
Troy Nichols is currently offline Troy NicholsFriend
Messages: 28
Registered: July 2009
Junior Member
Hi all,

Our product consists of a top-level feature which "contains"
sub-features which each contain a few plugins (a pretty standard
organization based on what Eclipse itself does). Like so:

com.ourcompany.common.feature
|--com.ourcompany.one.feature
| |--com.ourcompany.one.plugin
|--com.ourcompany.another.feature
|--com.ourcompany.another.plugin

So we have an update site with a single category containing only the one
toplevel feature (com.ourcompany.common.feature). This works just fine,
but the only problem is that even when all these features are installed,
users must enter the URL into their update manager manually, rather than
it already being in the list (as Core Eclipse update sites are).

In 3.3, I believe we had this functionality working, by making a
modification like the following in the toplevel feature.xml

===============

<?xml version="1.0" encoding="UTF-8"?>
<feature
id="com.ourcompany.common.feature"
label="%featureName"
version="1.0.0.qualifier"
provider-name="%providerName">

<description url="%featureDescritpionUrl">
%featureDescription
</description>

<copyright url="%featureCopyrightUrl">
%featureCopyright
</copyright>

<license url="%featureLicenseUrl">
%featureLicense
</license>

<url>
<update label="Our Product Name's Update Site"
url="http://the.url.com:8080/update"/>
<discovery label="Our Product Name"
url="http://the.url.com:8080/update"/>
</url>

...information omitted to protect the innocent, etc...

</feature>

============

So has this changed with p2? I've had a little trouble finding anything
documented on this. According to the doc I've read, the same process
should still apply, but it doesn't work (or produce error messages) in
our 3.5 environment. Anyone have any ideas?

Thanks,
Troy Nichols
Previous Topic:Problem updating product using p2
Next Topic:Inject Update Site URL into top-level feature
Goto Forum:
  


Current Time: Sun Dec 21 01:58:37 GMT 2014

Powered by FUDForum. Page generated in 0.01531 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software