Cedric,
Instead of letting the eclipse update publisher wipe and re-generate
the entire "update site" each time,
(which seems to cause problems for users with every release, perhaps
due to client or proxy caching issues)
it might perhaps be easier if you were to manually maintain the
site.xml file and thereby provide
access to previous versions as well as the latest one.
We are maintaining our own "update site" locally for internal use and
it's quite simple,
I just "wget" the feature.jar and plugin.jar files and add a new
<feature> tag each time;
Everyone can then easily up- and down- grade as required.
<site>
<feature url="features/org.testng.eclipse_5.11.0.21.jar"
id="org.testng.eclipse" version="5.11.0.21">
<category name="org.testng.eclipse"/>
</feature>
<feature url="features/org.testng.eclipse_5.11.0.26.jar"
id="org.testng.eclipse" version="5.11.0.26">
<category name="org.testng.eclipse"/>
</feature>
<category-def name="org.testng.eclipse" label="TestNG">
<description>The TestNG Eclipse plugin.
</description>
</category-def>
</site>
Regards
Ed
On Dec 15, 4:32 pm, Cédric Beust ♔ <
cbe...@google.com> wrote:
> Ok I just wiped everything: the remote site and my local project. I
> rebuilt everything from scratch and I just pushed 5.11.0.26 and made sure
> there was no reference to older features.
>
> Can you all please try again?
>
> Thanks!
>
> --
> Cedric
>
> 2009/12/15 Cédric Beust ♔ <
cbe...@google.com>
>
> > Ok I'll clean all this up and I'll push a new update, I'll let you all
> > know.
>
> > --
> > Cedric
>
> > On Tue, Dec 15, 2009 at 2:14 AM, Bill Michell <
bill.mich...@googlemail.com
> > > wrote:
>
> >>
http://beust.com/eclipse/content.xmlhas references to 5.11.0.23 all over
> >> it, at least as far as it shows up here:
>
> >> <?xml version='1.0' encoding='UTF-8'?><?metadataRepository class='org.eclipse.equinox.internal.p2.metadata.repository.LocalMetadataRepository' version='1.0.0'?>
> >> <repository name='file:/home/cbeust/java/testng-eclipse-update-site/ - metadata' type='org.eclipse.equinox.internal.p2.metadata.repository.LocalMetadataRepository' version='1.0.0'>
> >> <properties size='2'>
> >> <property name='p2.compressed' value='false'/>
> >> <property name='p2.timestamp' value='1260568350339'/>
> >> </properties>
> >> <units size='12'>
> >> <unit id='org.testng.eclipse.feature.jar' version='5.11.0.23'>
> >> <update id='org.testng.eclipse.feature.jar' range='[0.0.0,5.11.0.23)' severity='0'/>
>
> >> <properties size='4'>
> >> <property name='
org.eclipse.equinox.p2.name' value='TestNG'/>
> >> <property name='org.eclipse.equinox.p2.description' value='This is the Eclipse plug-in for TestNG.'/>
> >> <property name='org.eclipse.equinox.p2.description.url' value='
http://testng.org'/>
> >> <property name='org.eclipse.equinox.p2.provider' value='Cedric Beust'/>
> >> </properties>
> >> <provides size='3'>
> >> <provided namespace='org.eclipse.equinox.p2.iu' name='org.testng.eclipse.feature.jar' version='5.11.0.23'/>
> >> <provided namespace='org.eclipse.equinox.p2.eclipse.type' name='feature' version='1.0.0'/>
>
> >> <provided namespace='org.eclipse.update.feature' name='org.testng.eclipse' version='5.11.0.23'/>
> >> </provides>
>
> >> ... and so forth...
>
> >> On 15 Dec 2009, at 05:16, Cédric Beust ♔ wrote:
>
> >> Are you seeing this while updating onhttp://
beust.com/eclipse ?
>
> >> The stack trace is showing an error with 5.11.0.23 but the feature that I
> >> published there is 24...
>
> >> Can you try again with a fresh workspace and no plug-ins installed?
>
> >> --
> >> Cedric
>
> >> On Mon, Dec 14, 2009 at 8:24 PM, Daniel Camargo <
danielsu...@gmail.com>wrote:
>
> >>> The version of eclipse and the exception are one the images.
>
> >>> 2009/12/14 Cédric Beust ♔ <
cbe...@google.com>
>
> >>> I am completely stumped.
>
> >>>> I just installed Eclipse 3.5.1, removed the TestNG plug-in and
> >>>> reinstalled it fromhttp://
beust.com/eclipsewithout any problem. Even
> >>>> the license was correctly displayed and this version contains the latest
> >>>> feature I implemented (launch configurations with multiple suites).
>
> >>>> I'd like to hear from people who have installed the plug-in correctly as
> >>>> well as people who failed, and please tell me what Eclipse you are using and
> >>>> the exact error message you are seeing...
>
> >>>> Thanks!
>
> >>>> --
> >>>> Cedric
>
> >>>>> <
testng-users%2Bunsu...@googlegroups.com<
testng-users%252Buns...@googlegroups.com>
> >>>>> <
testng-users%2Bunsu...@googlegroups.com<
testng-users%252Buns...@googlegroups.com>
> ...
>
> read more »