Hi,
org.eclipse.tycho:tycho-packaging-plugin:2.0.0:build-qualifier expects the code to be in git repository. Looks like this won’t work. Platform project needs to have a relook at this one.
We do have another solution for you to build 4.17 from source
Tools required: maven, git and java 11 all three should be on path
Steps:
- Clone git repo
- Checkout R4_17_maintenance branch for along with submodules
- Pull latest changes(Getting other changes done post 4.17 releases)
- Maven build
Here is the script to do the above steps
git clone -b R4_17_maintenance –recurse-submodules https://git.eclipse.org/r/platform/eclipse.platform.releng.aggregator.git
cd eclipse.platform.releng.aggregator
git checkout R4_17_maintenance
git submodule foreach git checkout R4_17_maintenance
git pull
git submodule foreach git pull
mvn -U clean verify -DskipTests=true
Hope this helps
Thanks
Sravan
From: Kirill Kotovich <kirillkotovich1@xxxxxxxxx>
Sent: 11 June 2021 22:11
To: Eclipse platform general developers list. <platform-dev@xxxxxxxxxxx>
Subject: [EXTERNAL] Re: [platform-dev] Source Tarball Eclipse 4.17.0
There is progress! But the following problem arose:
........................................
[INFO] Reactor Summary:
[INFO]
[INFO] eclipse-platform-parent 4.17.0-SNAPSHOT ............ SUCCESS [ 54.989 s]
[INFO] eclipse-sdk-prereqs 4.17.0-SNAPSHOT ................ SUCCESS [ 7.499 s]
[INFO] eclipse jdt 4.17.0-SNAPSHOT ........................ SUCCESS [ 0.026 s]
[INFO] rt.equinox.framework 4.17.0-SNAPSHOT ............... SUCCESS [ 0.016 s]
[INFO] org.eclipse.osgi 3.16.0-SNAPSHOT ................... FAILURE [ 0.035 s]
[INFO] org.eclipse.osgi.util 3.5.300-SNAPSHOT ............. SKIPPED
[INFO] org.eclipse.osgi.services 3.9.0-SNAPSHOT ........... SKIPPED
........................................
........................................
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:31 min
[INFO] Finished at: 2021-06-11T19:00:04+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.0.0:build-qualifier (default-build-qualifier) on project org.eclipse.osgi: No git repository found searching upwards from /home/main/eclipse-platform-sources-I20200902-1800/rt.equinox.framework/bundles/org.eclipse.osgi -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :org.eclipse.osgi
Hi Kirill,
The build script is referring to 4.17-I-builds repository, which was removed after 4.17 release. The tar ball was created during the build process when I-builds repository existed. To fix this please update eclipse-platform-parent/pom.xml. Replace 4.17-I-builds with 4.17. That should fix the problem.
Thanks
Sravan
_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev
--