Re: Updates problem

From: Paul Yu (py..ac.com)
Date: Wed Oct 04 2006 - 23:43:31 EDT

  • Next message: Paul Yu: "Re: Tomcat deploy"

    I did some more tests.

    Revision 3393, 3395, 3414, and 3431 all works.

    However, Revision 3437 does not work.

    Paul
    On Oct 4, 2006, at 11:11 PM, Paul D. Yu wrote:

    > Greetings
    >
    > Something is broken in the repository.
    >
    > I checkout the HEAD (3431) on the trunk, built it, and eclipse
    > would not recognize the site from update manager.
    >
    > I switch back to the 3393 revision, built it, and eclipse would
    > recognize the site from update manager.
    >
    > Paul
    > On Oct 4, 2006, at 2:24 AM, Ulrich Köster wrote:
    >
    >> I can't find anything about it in the documentation. We have to
    >> try it.
    >>
    >> Uli
    >> Am 02.10.2006 um 17:25 schrieb Pierre Frisch:
    >>
    >>> Hi Uli,
    >>>
    >>> Thank you I think this will work better. I just have another
    >>> question when you let the automatic update run how does it know
    >>> which site to check? When you run it manually you can select the
    >>> one you want and it does now appears correctly labeled, but how
    >>> does the automatic update know what site to use. If I install the
    >>> stable version is eclipse going to suggest updates from the
    >>> nightly site? How does that work? I have poked around and I don't
    >>> think eclipse keep tracks of where the plug-ins come from only
    >>> where the update site are in the feature so I don't see how this
    >>> can work.
    >>>
    >>> Pierre
    >>>
    >>> On 2-Oct-06, at 6:28 AM, Ulrich Köster wrote:
    >>>
    >>>> Moin Pierre,
    >>>> Moin Pierre,
    >>>>
    >>>> thank you for the hint. Just changed all feature.xml.
    >>>>
    >>>> <url> - optional URL specifying site(s) contain feature updates,
    >>>> or new features
    >>>> <update> - URL to go to for updates to this feature
    >>>> url - actual URL
    >>>> label - displayable label (name) for the referenced site
    >>>> <discovery> - URL to go to for new features. In general, a
    >>>> provider can use this element to reference its own site(s), or
    >>>> site(s) of partners that offer complementary features. Eclipse
    >>>> uses this element simply as a way to distribute new site URLs to
    >>>> the clients. Sites that belong to root features (at the top of
    >>>> the hierarchy) typically appear in "Sites to Visit" in Update
    >>>> Manager.
    >>>> url - actual URL
    >>>> label - displayable label (name) for the referenced site
    >>>> type (new in 2.1) - by default, discovery sites are assumed to
    >>>> be update sites ("update"). By setting the value of this
    >>>> attribute to "web", it is possible to indicate to Eclipse that
    >>>> the URL should be treated as a regular Web hyperlink that can be
    >>>> directly displayed in a suitable browser.
    >>>>
    >>>> The discovery label is defined in the base.xml. It not possible
    >>>> to install one of the features without installing the base feature.
    >>>> From the base feature.xml
    >>>> <url>
    >>>> <url label="WOLips nightly" url="http://www.mdimension.com/
    >>>> ~wolips/update/"/>
    >>>> <url label="WOLips" url="http://www.mdimension.com/~wolips/
    >>>> stable/"/>
    >>>> <discovery label="WOLips nightly" url="http://
    >>>> www.mdimension.com/~wolips/update/"/>
    >>>> <discovery label="WOLips" url="http://www.mdimension.com/
    >>>> ~wolips/stable/"/>
    >>>> </url>
    >>>> All other feature.xml
    >>>> <url>
    >>>> <url label="WOLips nightly" url="http://www.mdimension.com/
    >>>> ~wolips/update/"/>
    >>>> <url label="WOLips" url="http://www.mdimension.com/~wolips/
    >>>> stable/"/>
    >>>> </url>
    >>>>
    >>>> When you update to 2.0.0.3047 and we release another update it
    >>>> should be visible when searching for updates.
    >>>>
    >>>> Uli
    >>>>
    >>>> Am 02.10.2006 um 01:26 schrieb Pierre Frisch:
    >>>>
    >>>>> With all due respect I think these four lines need to go in
    >>>>> every feature.xml file i.e. in each of the 7 features. I have
    >>>>> checked around I am quite positive.
    >>>>>
    >>>>> Pierre
    >>>>>
    >>>>> On 30-Sep-06, at 11:15 PM, Ulrich Köster wrote:
    >>>>>
    >>>>>> I'll take a look at it.
    >>>>>>
    >>>>>> Uli
    >>>>>> Am 01.10.2006 um 02:40 schrieb Pierre Frisch:
    >>>>>>
    >>>>>>> There is definitively something wrong I did a clean install
    >>>>>>> of eclipse 3.2.1 with the latest WOLips and I get something
    >>>>>>> very strange on the update panel, note the 3 WOLips The
    >>>>>>> first one is the one I created and it is editable the next
    >>>>>>> two probably come from the feature definition and cannot be
    >>>>>>> modified. May be one of them is pointing to the wrong site?
    >>>>>>>
    >>>>>>> I have dug a bit in the feature.xml and I think we are
    >>>>>>> missing the <update > tag in our plug-ins. From what I have
    >>>>>>> seen all our feature.xml file should include:
    >>>>>>>
    >>>>>>> <url>
    >>>>>>> <update label="WOLips update site" url="http://
    >>>>>>> www.mdimension.com/~wolips/update/"/>
    >>>>>>> <discovery label="WOLips update site" url="http://
    >>>>>>> www.mdimension.com/~wolips/update/"/>
    >>>>>>> </url>
    >>>>>>>
    >>>>>>> This is the way "WOLips Goodies Mac" is configured and it is
    >>>>>>> the only one working properly. I have manually updated the
    >>>>>>> files on my installation and I will report the next time
    >>>>>>> there is an update.
    >>>>>>>
    >>>>>>> We should also switch the update and stable depending on what
    >>>>>>> version we are distributing i.e. the stable version should
    >>>>>>> refer to the stable url and the nightly version to the update
    >>>>>>> url.
    >>>>>>>
    >>>>>>> Pierre
    >>>>>>>
    >>>>>>> <Picture 1.png>
    >>>>>>>
    >>>>>>> On 30-Sep-06, at 2:49 PM, Pierre Frisch wrote:
    >>>>>>>
    >>>>>>>> I always use update. I am reinstalling everything from
    >>>>>>>> scratch to be sure it is not my installation.
    >>>>>>>>
    >>>>>>>> Pierre
    >>>>>>>>
    >>>>>>>> On 30-Sep-06, at 10:44 AM, Mike Schrag wrote:
    >>>>>>>>
    >>>>>>>>> Are you updating off of "stable" or "update"? I think I
    >>>>>>>>> should probably move "stable" to the latest version number.
    >>>>>>>>>
    >>>>>>>>> ms
    >>>>>>>>>
    >>>>>>>>> On Sep 30, 2006, at 11:22 AM, Pierre Frisch wrote:
    >>>>>>>>>
    >>>>>>>>>> There is something weird going on. The update feature does
    >>>>>>>>>> not update properly anymore. The update only updates
    >>>>>>>>>> "WOLips Goodies Mac" and not the other module. If you do a
    >>>>>>>>>> find new features however all modules update i.e. all 7
    >>>>>>>>>> elements of wolips are at the same revision level.
    >>>>>>>>>>
    >>>>>>>>>> Does anyone has any idea what is going on?
    >>>>>>>>>>
    >>>>>>>>>> Thanks
    >>>>>>>>>>
    >>>>>>>>>> Pierre
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>
    >>>>>>>>
    >>>>>>>
    >>>>>>
    >>>>>>
    >>>>>
    >>>>
    >>>> Mit freundlichen Grüßen
    >>>>
    >>>> Ulrich Köster
    >>>>
    >>>> Assense Software Solutions GmbH
    >>>> Stadtdeich 27
    >>>> 20097 Hamburg
    >>>>
    >>>> Fernsprecher: +49 (0)40 3037579-0
    >>>> Fernkopierer: +49 (0)40 3037579-9
    >>>>
    >>>>
    >>>>
    >>>>
    >>>
    >>
    >



    This archive was generated by hypermail 2.0.0 : Wed Oct 04 2006 - 23:43:37 EDT