Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] backporting and building?

Hi Tony,

I suspect that in your original message you have the wrong link still - that may be the cause of some of the confusion that seems to be in this conversation. The commit you reference is a  change only to tests and I assume that you are not shipping tests nor really need to rerun them as part of your RCP application. The platform change that actually changes the version of Ant that is shipped is https://git.eclipse.org/r/163228 - along with some earlier updates that point at newer orbit URLs that include the new ant version.

If you are building your own app, your app probably has its own .target or equivalent in the pom file and in that file you can point at the new orbit (2020-06), along with the older platform (4.15) version. You may need some version constraints in your .product file to make sure that only the correct version of ant is included.

On to some of your other questions in case you have this or other reasons to rebuild the platform:

> Still just wondering if it is expected that such a change would be needed.

I think the change is needed as once a version of Eclipse is released its branch is left in a somewhat broken state because the I-build deps are deleted. It may be nice if the branches for completed versions were left in a buildable state, but that is not a priority for active developers, so someone would have to do that work. Please note that this problem exists whenever you want to build an older version of Eclipse. For example with the multi-repo builds of Eclipse it can be quite hard to build an old version of Eclipse to, for example, run git bisect to identify a problem. During development lots of old I-builds are left so that you can do that, but once a release is done those are removed.

PS. There are other members of the community who have the same underlying issue - ie using, maintaining/supporting older versions of Eclipse platform in their product. See this interesting discussion that Andrey started on this topic (https://www.eclipse.org/lists/platform-dev/msg02171.html) that resulted in this entry on the wiki (https://wiki.eclipse.org/Platform/How_to_Contribute#Contributing_to_maintenance_release_branches). It seems you, Andrey and others have similar issues to handle.

I hope the above helps. Let me know if I have misunderstood the direction you are aiming for.

Jonah

~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com


On Mon, 8 Jun 2020 at 00:19, Christoph Läubrich <laeubi@xxxxxxxxxxxxxx> wrote:
Just wondering:

You wrote that you are having a RCP application, won't it be easier to
simply patch the ant version in your final product?

Am 07.06.20 um 16:44 schrieb Homer, Tony:
> Hi Dani-
>
> Thanks for responding.
>
> Yes, updating to Ant 1.10.8 mitigates
> https://nvd.nist.gov/vuln/detail/CVE-2020-1945, which is what I need to do.
>
> Tony Homer
>
> *From: *<platform-dev-bounces@xxxxxxxxxxx> on behalf of Daniel Megert
> <daniel_megert@xxxxxxxxxx>
> *Reply-To: *"Eclipse platform general developers list."
> <platform-dev@xxxxxxxxxxx>
> *Date: *Sunday, June 7, 2020 at 1:23 AM
> *To: *"Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
> *Subject: *Re: [platform-dev] backporting and building?
>
> Hi Tony
>
> That commit only changes the Ant version in a test class. Is this really
> what you want to backport?
>
> Dani
>
>
>
> From: "Homer, Tony" <tony.homer@xxxxxxxxx>
> To: "platform-dev@xxxxxxxxxxx" <platform-dev@xxxxxxxxxxx>
> Date: 06.06.2020 22:51
> Subject: [EXTERNAL] [platform-dev] backporting and building?
> Sent by: platform-dev-bounces@xxxxxxxxxxx
>
> ------------------------------------------------------------------------
>
> I have an RCP product that is currently building against 4.15 and due to
> release timing I cannot update to 4.16 until after the current release
> cycle.
>
> I’d like to backport this fix to 4.15:
>
> https://git.eclipse.org/c/platform/eclipse.platform.git/commit/?id=4a27c8ad20b921af8df9731037aa756d70d6875f
>
> Applying the patch is no problem, but I’ve never built platform before.
>
> I’m not sure if I need to check out all the repos or can just checkout
> one of them.
>
> I’m not sure what build command to use.
>
> I looked for instructions, but there are none listed on the developer
> resources page:
>
> https://projects.eclipse.org/projects/eclipse.platform/developer
>
> I also looked at ci and it helped with the build command, but I couldn’t
> work out what I need to do to setup my environment:
>
> https://ci.eclipse.org/linuxtools/job/linuxtools-master/142/console
>
> Is there a doc that explains which repos to checkout and what build
> command to use?
>
> Thanks!
>
> Tony Homer_______________________________________________
> platform-dev mailing list
> platform-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/platform-dev
>
>
>
>
> _______________________________________________
> platform-dev mailing list
> platform-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev
>
_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev

Back to the top