Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHelp building native executables
https://www.eclipse.org/forums/index.php/mv/msg/1089822/1775713/#msg_1775713
I can't find ANY documentation on how to build the product and in particular the self-unzipping eclipse-inst-win64.exe. I can see that there are:
It's unclear to me what order these things are to be executed in. I figured out that you're supposed to build the Maven projects by launching /org.eclipse.oomph.releng/Build Windows 64bit[ (debug)].launch. I've installed MinGW-w64 (tried MinGW, didn't work, ancient & no 64-bit support) and managed to get the three native projects compiled, resulting in /org.eclipse.oomph.extractor/Win64-Debug/extractor-64.exe.
I'm currently stuck, unable to create /org.eclipse.oomph.extractor/Win64-Debug/eclipse-inst-64.exe, which I can see is supposed to be created by running /org.eclipse.oomph.extractor/Concat/concat.bat 64 from /org.eclipse.oomph.extractor/Win64-Debug, but isn't because the file /org.eclipse.oomph.extractor/Concat/product/product-64.zip doesn't exist. How is one supposed to create this file? I can't see any reference to it in any script or launch configuration (nor indeed can I see a launch configuration for running /org.eclipse.oomph.extractor/Concat/concat.bat).
You can use that approach to get at the reusable parts you need to build your own *.exe (you don't need to keep rebuilding them yourself and we don't do that either in our builds). All you need for your own purposes is these reusable parts along with a zip of a product installation (i.e., a zip that that if you manually unzipped it would just work on its own) and the descriptor for it (which I think is pretty clear looking at the contents for the installer itself).
I'm not sure how publicly visible the build configuration is for https://hudson.eclipse.org/oomph/job/integration/ if you login with your Eclipse.org account. We do/can run the Maven/Tycho builds locally too using the launcher that you noticed. It needs a bit of configuration to know which Java to use and where Maven is located...]]>Ed Merks2017-11-04T08:28:10-00:00Re: Help building native executables
https://www.eclipse.org/forums/index.php/mv/msg/1089822/1775819/#msg_1775819
Maven build of ${git.clone.oomph}/pom.xml with mvn clean verify -DMAVEN_BUILD=true -DskipTests=true (the latter because a bunch of tests failed)
Eclipse clean+build of /org.eclipse.oomph.jreinfo.dll, /org.eclipse.oomph.jreinfo.lib and /org.eclipse.oomph.extractor;
Launch "/org.eclipse.oomph.extractor/Get Libdata.launch" in Eclipse to create /org.eclipse.oomph.extractor/Libdata/libdata.jar
Copy /org.eclipse.oomph.releng/deploy.properties.template to sibling deploy.properties and set:
git.clone.location = F:\\oomph-master\\git\\org.eclipse.oomph (i.e., ${git.clone.oomph})
target = F:\\oomph-master\\installer-test
Launch "/org.eclipse.oomph.releng/Installer Deploy.launch" in Eclipse to populate ${target} in deploy.properties with:
configuration/
features/
p2/
plugins/
readme/
artifacts.xml
eclipse-inst.exe
eclipse-inst.ini
eclipsec.exe
Edit ${target}/eclipse-inst.ini to add:
-Doomph.redirection.LiveAppsProducts=index:/redirectable.products.setup->file:/<custom-products-path>/setups/MyProducts.setup
-Doomph.redirection.LiveAppsProjects=index:/redirectable.projects.setup->file:/<custom-products-path>/setups/MyProjects.setup
(The above file: URLs will be replaced with http: intranet URLs once the configurations are finalised)
ZIP the ${target} directory to /org.eclipse.oomph.extractor/Concat/product/product-64.zip
Launch /org.eclipse.oomph.extractor/Concat/concat.bat 64 from a command shell to produce /org.eclipse.oomph.extractor/Win64-Debug/eclipse-inst-64.exe
The curious thing is that steps 7 and 8 are manual - I could not find any scripts to automate them. Furthermore the resulting eclipse-inst-64.exe ends up named eclipse-inst-win64.exe when you download from the Eclipse site, so there must be some magic releng incantations that aren't in the https://git.eclipse.org/r/oomph/org.eclipse.oomph source tree.]]>Adrian Price2017-11-06T19:07:16-00:00Re: Help building native executables
https://www.eclipse.org/forums/index.php/mv/msg/1089822/1775848/#msg_1775848
https://hudson.eclipse.org/oomph/job/integration/configure]]>Ed Merks2017-11-07T08:31:31-00:00Re: Help building native executables
https://www.eclipse.org/forums/index.php/mv/msg/1089822/1775919/#msg_1775919
https://hudson.eclipse.org/oomph/job/integration/configure yields "xxx@tibco.com is missing the ExtendedRead permission" - so no, I can't see job configuration screens.
However, I am able to read the console output from the build and from that was able to determine the Maven CLI arguments.]]>Adrian Price2017-11-08T09:24:47-00:00