[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-dev] backporting and building?
|
- From: "Homer, Tony" <tony.homer@xxxxxxxxx>
- Date: Sun, 7 Jun 2020 21:53:52 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0juavHtThEb9b9aJbOjb7S8xPU3E/Bk7jKK1HdrNhMc=; b=fo04dOxiyY1koG098oNrAVDCkr1Ei7HD3YT4+kNYAw8qvXnuAvbvuPmSu03a+0rniKvzJDe5D/lvsWg38SMKPwMiSso0anGW8mi/9MqyRuGIeVjtA1i8MbMC4B6+fJ+XbgT4yT2QirSFNAf9lt6+Up1YnB1YrtXeZzMCXd6jX60oR1BBaoJpZNQf4y17AbwKrOlppX3hf9T4SRddBs4Fop8Tt8kWLiJ2yOV7ZTkE0tB8aKZBQlQi1s/qPH99TJ2VYrLFngWCi+6slIo80qc0QOCVUAyRUSoVKMuOnlE+culyUbTUHChk11gDMsE41Ob8C3qISLm2ho2xlUMFbbXFnw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TMOy89qh6Cxpfnadl/82pZx16UMLVf4V2irod9JEdEEyeDSZ7BdO1uqEAHvuJJYuqG7lyYHgYFIygEjCyp69YTb3Fv00MK3c+PMgxOAjagjqzmGmhb0Lp8bvNp+aWTCcyrXqcG4vuBtin0CiRbi9z8l600joyyKGfFqElRiHJzQ1wUNqEBhOdhkk/X39l+5E44jw/o1X9KxIGrtXEP6NWSTOUecrpBcw2RdYTMwCKCZQVmc4JIHR5vDdfVrNMRpSkLFE7JJVWhdElqVqQUjqGQvE/1+1INK2PyiSSnDWbLRMpZFAFzFI6l6Ghyey/xEexC7Ysoc4gtfXG3Ycr+KVSQ==
- Delivered-to: platform-dev@xxxxxxxxxxx
- Ironport-sdr: YcWsRRmc/R+EdemRKhT/CJEcLQG5/oAZ3Op7BdQFIwDM7yq0iBt2Osz1iKiiCR4OrI5LRb2oQ0 6SZ690Hv0yGw==
- Ironport-sdr: 5BBFIoN2qAjCPU5RxvbuNni9KJYAfB4GrpX7dJfMwnuMGGo9P6/xFYdhLNfs87mVZk4mMOPbby q0xZ3iumCI6A==
- List-archive: <https://www.eclipse.org/mailman/private/platform-dev>
- List-help: <mailto:platform-dev-request@eclipse.org?subject=help>
- List-subscribe: <https://www.eclipse.org/mailman/listinfo/platform-dev>, <mailto:platform-dev-request@eclipse.org?subject=subscribe>
- List-unsubscribe: <https://www.eclipse.org/mailman/options/platform-dev>, <mailto:platform-dev-request@eclipse.org?subject=unsubscribe>
- Thread-index: AQHWPRYhepnEUbbntEm6jtg5Pcaduw==
- Thread-topic: [platform-dev] backporting and building?
- User-agent: Microsoft-MacOutlook/16.37.20051002
Thanks for the guidance, Lars.
I started with a fresh repo and followed the instructions on https://wiki.eclipse.org/Platform-releng/Platform_Build#cloning_platform_source_tree (which I found linked to from the tutorial you linked).
git clone -b master --recursive git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git
cd eclipse.platform.releng.aggregator
Then I checked out a new branch based on R4_15:
git checkout -b R4_15 R4_15
Then I continued with the steps on the page:
git pull --recurse-submodules
git submodule update
Then I attempted to build eclipse.platform:
cd eclipse.platform
mvn -Pbuild-individual-bundles clean verify
I got an error:
[ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'eclipse' from location https://download.eclipse.org/eclipse/updates/4.15-I-builds: No repository found at https://download.eclipse.org/eclipse/updates/4.15-I-builds. -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'eclipse' from location https://download.eclipse.org/eclipse/updates/4.15-I-builds
I understand this is because the I-build directory is not there anymore, but I was wondering if this is expected?
That is, is it expected that tagged builds will fail?
I think I know how to fix it: search for https://download.eclipse.org/eclipse/updates/4.15-I-builds and replace with https://download.eclipse.org/eclipse/updates/4.15/.
Is that correct?
Thanks!
Tony Homer
On 6/7/20 , 7:54 AM, "platform-dev-bounces@xxxxxxxxxxx on behalf of Lars Vogel" <platform-dev-bounces@xxxxxxxxxxx on behalf of lars.vogel@xxxxxxxxxxx> wrote:
Hi Tony,
individual repos can be built with the following command. See for
example https://www.vogella.com/tutorials/EclipsePlatformDevelopment/article.html#eclipse-platform-hudson-builds
mvn -Pbuild-individual-bundles clean verify
Best regards, Lars
On Sun, Jun 7, 2020 at 4:45 PM Homer, Tony <tony.homer@xxxxxxxxx> wrote:
>
> 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
--
Eclipse Platform project co-lead
CEO vogella GmbH
Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com
_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev