Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to download Eclipse's Source code?

After spending awhile (their wiki pages for CSV access are no longer valid, the password provided does not work) and their SVN repositories do not contain the code to Eclipse IDE or the core plugins. The same problem also appears to apply to their GIT repositories. In particular I am looking for the source code of this core plugin class (not even java specific):

plugin: org.eclipse.debug.core

class: org.eclipse.debug.core.model.IProcess

Finally, I also tried to import the plugin as a fragment with source directory. There is no packaged source file. My last option is to decompile the class files, but please tell me there is a better repository I can access with read only permission? Again their wiki is either outdated or not pointing me to the core code but other project repos.

like image 752
Zombies Avatar asked Mar 27 '13 08:03

Zombies


2 Answers

I found it, the tricky part was there are so many repos just listed there on their git repo page (http://git.eclipse.org/c/), you kind of have to inspect each page, it is listed under the category "platform", as opposed to all the plugin ID's being listed in alphabetic order:

For org.eclipse.debug.core (where IProcess is), it is here:

http://git.eclipse.org/c/platform/eclipse.platform.debug.git/tree/org.eclipse.debug.core

like image 128
Zombies Avatar answered Sep 27 '22 23:09

Zombies


Depending on your needs, The Eclipse Common Build Infrastructure (CBI) might help.

The CBI project has converted Eclipse into a Tycho project which means you can get all the sources and compile them into a working Eclipse build with 2-3 commands.

like image 42
Aaron Digulla Avatar answered Sep 27 '22 23:09

Aaron Digulla