Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Update only shows latest version of a feature
Update only shows latest version of a feature [message #302984] Thu, 04 May 2006 07:22 Go to next message
Eclipse UserFriend
Originally posted by: jetpoet.yahoo.com

Hi all,

I have created an update site, that based on a username and a password
generates a site.xml and also the feature.jar on the fly. This all works
fine, and the features install correctly.

The problem I am facing is that only the latest version of a feature is
shown in the list of updates. I have removed the checkmark in "Show the
latest version of a feature only", but that doesn't make a difference.

I can see that Eclipse only requests the latest feature.jar and not any of
the previous versions, even though none of them are installed. I cannot see
what my problem is. I have tried to make the file look exactly like one
Eclipse itself uses.

Below is attached the site.xml file. In my site.xml, there are some versions
that are Beta or Alpha versions, and I want users to have the option of not
choosing an unstable version, but a stable release version. That isn't
possible if they are only presented with the latest version by Eclipse.

My question is, why do I only see the latest feature version and not all
versions?

Thanks in advance,
JP

--------------------
<?xml version='1.0' encoding='UTF-8'?>
<site>
<description url="http://internalupdate/site.jsp">Internal Update
Site</description>
<feature patch="false" url="features/JM.RB.TEST_1.1.90.jar"
id="JM.RB.TEST" version="1.1.90">
<category name="JM.RB.TEST_1.1.90_Alpha"></category>
</feature>
<category-def name="JM.RB.TEST_1.1.90_Alpha" label="JM RB TEST 1.1.90
Alpha">
<description>dfgsdfg</description>
</category-def>
<feature patch="false" url="features/JM.RB.TEST_1.2.1.jar" id="JM.RB.TEST"
version="1.2.1">
<category name="JM.RB.TEST_1.2.1_Beta"></category>
</feature>
<category-def name="JM.RB.TEST_1.2.1_Beta" label="JM RB TEST 1.2.1 Beta">
<description>dfgsdfg</description>
</category-def>
<feature patch="false" url="features/JM.RB.TEST_2.1.0.jar" id="JM.RB.TEST"
version="2.1.0">
<category name="JM.RB.TEST_2.1.0"></category>
</feature>
<category-def name="JM.RB.TEST_2.1.0" label="JM RB TEST 2.1.0">
<description>dfgsdfg</description>
</category-def>
<feature patch="false" url="features/JM.RB.TEST_2.2.1.jar" id="JM.RB.TEST"
version="2.2.1">
<category name="JM.RB.TEST_2.2.1"></category>
</feature>
<category-def name="JM.RB.TEST_2.2.1" label="JM RB TEST 2.2.1">
<description>dfgsdfg</description>
</category-def>
<feature patch="false" url="features/JM.RB.TEST_1.1.87.jar"
id="JM.RB.TEST" version="1.1.87">
<category name="JM.RB.TEST_1.1.87_Beta"></category>
</feature>
<category-def name="JM.RB.TEST_1.1.87_Beta" label="JM RB TEST 1.1.87
Beta">
<description>dfgsdfg</description>
</category-def>
<feature patch="false" url="features/JM.RB.TEST_1.1.7.jar" id="JM.RB.TEST"
version="1.1.7">
<category name="JM.RB.TEST_1.1.7_Alpha"></category>
</feature>
<category-def name="JM.RB.TEST_1.1.7_Alpha" label="JM RB TEST 1.1.7
Alpha">
<description>dfgsdfg</description>
</category-def>
</site>
Re: Update only shows latest version of a feature [message #303071 is a reply to message #302984] Mon, 08 May 2006 09:44 Go to previous message
Eclipse UserFriend
Originally posted by: jetpoet.yahoo.com

I found out what the problem was. Only the latest version of the feature.jar
files were available for download, so eclipse wasn't able to determine the
older versions.

All the best


"Jay Pete" <jetpoet@yahoo.com> wrote in message
news:e3co57$1qf$1@utils.eclipse.org...
> Hi all,
>
> I have created an update site, that based on a username and a password
> generates a site.xml and also the feature.jar on the fly. This all works
> fine, and the features install correctly.
>
> The problem I am facing is that only the latest version of a feature is
> shown in the list of updates. I have removed the checkmark in "Show the
> latest version of a feature only", but that doesn't make a difference.
>
> I can see that Eclipse only requests the latest feature.jar and not any of
> the previous versions, even though none of them are installed. I cannot
> see what my problem is. I have tried to make the file look exactly like
> one Eclipse itself uses.
>
> Below is attached the site.xml file. In my site.xml, there are some
> versions that are Beta or Alpha versions, and I want users to have the
> option of not choosing an unstable version, but a stable release version.
> That isn't possible if they are only presented with the latest version by
> Eclipse.
>
> My question is, why do I only see the latest feature version and not all
> versions?
>
> Thanks in advance,
> JP
>
> --------------------
> <?xml version='1.0' encoding='UTF-8'?>
> <site>
> <description url="http://internalupdate/site.jsp">Internal Update
> Site</description>
> <feature patch="false" url="features/JM.RB.TEST_1.1.90.jar"
> id="JM.RB.TEST" version="1.1.90">
> <category name="JM.RB.TEST_1.1.90_Alpha"></category>
> </feature>
> <category-def name="JM.RB.TEST_1.1.90_Alpha" label="JM RB TEST 1.1.90
> Alpha">
> <description>dfgsdfg</description>
> </category-def>
> <feature patch="false" url="features/JM.RB.TEST_1.2.1.jar"
> id="JM.RB.TEST" version="1.2.1">
> <category name="JM.RB.TEST_1.2.1_Beta"></category>
> </feature>
> <category-def name="JM.RB.TEST_1.2.1_Beta" label="JM RB TEST 1.2.1 Beta">
> <description>dfgsdfg</description>
> </category-def>
> <feature patch="false" url="features/JM.RB.TEST_2.1.0.jar"
> id="JM.RB.TEST" version="2.1.0">
> <category name="JM.RB.TEST_2.1.0"></category>
> </feature>
> <category-def name="JM.RB.TEST_2.1.0" label="JM RB TEST 2.1.0">
> <description>dfgsdfg</description>
> </category-def>
> <feature patch="false" url="features/JM.RB.TEST_2.2.1.jar"
> id="JM.RB.TEST" version="2.2.1">
> <category name="JM.RB.TEST_2.2.1"></category>
> </feature>
> <category-def name="JM.RB.TEST_2.2.1" label="JM RB TEST 2.2.1">
> <description>dfgsdfg</description>
> </category-def>
> <feature patch="false" url="features/JM.RB.TEST_1.1.87.jar"
> id="JM.RB.TEST" version="1.1.87">
> <category name="JM.RB.TEST_1.1.87_Beta"></category>
> </feature>
> <category-def name="JM.RB.TEST_1.1.87_Beta" label="JM RB TEST 1.1.87
> Beta">
> <description>dfgsdfg</description>
> </category-def>
> <feature patch="false" url="features/JM.RB.TEST_1.1.7.jar"
> id="JM.RB.TEST" version="1.1.7">
> <category name="JM.RB.TEST_1.1.7_Alpha"></category>
> </feature>
> <category-def name="JM.RB.TEST_1.1.7_Alpha" label="JM RB TEST 1.1.7
> Alpha">
> <description>dfgsdfg</description>
> </category-def>
> </site>
>
Previous Topic:resource and marker
Next Topic:Customized Perspectives
Goto Forum:
  


Current Time: Fri Sep 12 01:52:31 EDT 2025

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

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

Back to the top