Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-dev] Target Definition update/resolution problems

No, PDE will not ping the repository to check for newer versions unless the sequence number is increased.  Pressing the update button (with the fix) will ping the remote repository and take the latest version (without changing the 0.0.0 setting).

If that workflow is a problem, please open a bug.  The likely solution would be to make a p2 target location dirty on creation if it has an IU with 0.0.0.  This would make the behaviour similar to 4.3.  Note that if such a target was set as the target platform, the p2 repositories would be contacted on startup (when the PDE models were created), possibly causing delays in the UI.

Curtis

Inactive hide details for Gunnar Wagenknecht ---07/08/2014 09:43:04 AM---Thanks for the update.  How do you handle the case wheGunnar Wagenknecht ---07/08/2014 09:43:04 AM---Thanks for the update.  How do you handle the case when the version in a target definition is set to

From: Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx>
To: "Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>,
Date: 07/08/2014 09:43 AM
Subject: Re: [pde-dev] Target Definition update/resolution problems
Sent by: pde-dev-bounces@xxxxxxxxxxx





Thanks for the update.

How do you handle the case when the version in a target definition is set to "0.0.0"? Does PDE recognize changes in a remote p2 repository even though the sequence number is not increased?

I'm asking because I believe I've seen this failing as well.


-Gunnar

--
Gunnar Wagenknecht
On the road. Please excuse briefness and typos.

Am 08.07.2014 um 16:28 schrieb Curtis Windatt <
Curtis_Windatt@xxxxxxxxxx>:

    Several bugs have been opened about this issue, so I'm posting some details here:

    Pressing the update button in the target editor does not increase the sequence number stored in the target definition.  If the sequence number isn't changed, the target will not resolve.  A simple workaround is to increment the sequence number in the file manually.  This is covered by Bug 436950 and has been fixed in the 4.5 M1 and 4.4 SR1 streams.


    If you are encountering other issues with p2 targets unrelated to the update button, please file a new bug report.  As the PDE models are now created from a target definition on startup, several changes to p2 target locations were made to avoid pinging remote repositories.


    Curtis


    <graycol.gif>
    Gunnar Wagenknecht ---07/07/2014 07:21:06 AM---Greetings PDE Committers, I’m investigating an issue with resolution of target definition files. The

    From:
    Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx>
    To:
    "Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>,
    Date:
    07/07/2014 07:21 AM
    Subject:
    [pde-dev] Target Definition update/resolution problems
    Sent by:
    pde-dev-bounces@xxxxxxxxxxx





    Greetings PDE Committers,

    I’m investigating an issue with resolution of target definition files. The issue appeared in Luna. I never noticed it in Kepler. Frankly, I did not use earlier Luna milestones before. Thus, I can’t really say when it was introduced. At first, I thought it’s related to network connectivity issues. I suspect the problem has something to do with stale data. In most cases, the PDE Target Editor reports that it can’t find a particular IU although the IU is present in the repository (Tycho resolves the same definition fine).

    I’ve captured all my observations here:

    https://bugs.eclipse.org/439011

    I’d appreciate your support in order to address the issue. This is really interrupting my (and my teams) workflow. I’ve blocked some of my time for working on this.

    -Gunnar


    --
    Gunnar Wagenknecht

    gunnar@xxxxxxxxxxxxxxx





    _______________________________________________
    pde-dev mailing list

    pde-dev@xxxxxxxxxxx
    To change your delivery options, retrieve your password, or unsubscribe from this list, visit

    https://dev.eclipse.org/mailman/listinfo/pde-dev


    _______________________________________________
    pde-dev mailing list

    pde-dev@xxxxxxxxxxx
    To change your delivery options, retrieve your password, or unsubscribe from this list, visit

    https://dev.eclipse.org/mailman/listinfo/pde-dev_______________________________________________
    pde-dev mailing list
    pde-dev@xxxxxxxxxxx
    To change your delivery options, retrieve your password, or unsubscribe from this list, visit
    https://dev.eclipse.org/mailman/listinfo/pde-dev

GIF image


Back to the top