Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a note to point to the source of the binaries #3

Open
ctron opened this issue Oct 6, 2022 · 8 comments
Open

Add a note to point to the source of the binaries #3

ctron opened this issue Oct 6, 2022 · 8 comments

Comments

@ctron
Copy link

ctron commented Oct 6, 2022

There must be source code and a build process how these binaries got created. It would be helpful if this repository (e.g. in a README.md) explains where the code is and how the build works.

@laeubi
Copy link
Member

laeubi commented Mar 6, 2023

@akurtakov @tjwatson can you help here? I would also be interested how this works.

@akurtakov
Copy link
Member

@sravanlakkimsetti
Copy link
Member

The exe build is triggered by

  1. Linux build.sh
  2. Mac build.sh
  3. Windows build.bat

You may pass the optional arguments for these commands

       -output <PROGRAM_OUTPUT>  - executable filename ("eclipse")
       -os     <DEFAULT_OS>      - default Eclipse "-os" value
       -arch   <DEFAULT_OS_ARCH> - default Eclipse "-arch" value
       -ws     <DEFAULT_WS>      - default Eclipse "-ws" value
       -java <JAVA_HOME>  - java install for jni headers

@laeubi
Copy link
Member

laeubi commented Mar 7, 2023

@sravanlakkimsetti many thanks I'll try to take a look into this, one question, can you tell a bit what the "launcher binary" does? Is it meant to interact with the eclipse.exe (so there is some code to call into that part) or is it just calling to some (system dependent) native APIs (which ones?)

@HannesWell
Copy link
Member

Isn't the 'launcher binary' the eclipse.exe?AFAICT that's a little C Programme that is processing the ini-file and launches a Java-process with resulting/required Argumentes and the specified JVM.

@iloveeclipse
Copy link
Member

... plus sets some environment variables, checks if Eclipse wanted to be restarted, shows spash and error dialogs etc.

@laeubi
Copy link
Member

laeubi commented Mar 7, 2023

@iloveeclipse
Copy link
Member

I believe what you are looking for is https://github.com/eclipse-equinox/equinox/tree/master/features/org.eclipse.equinox.executable.feature/library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants