configuring eclipse for graal
Doug Simon @ Oracle
doug.simon at oracle.com
Wed Mar 6 12:35:07 PST 2013
On Mar 6, 2013, at 8:35 PM, Michael Haupt <michael.haupt at oracle.com> wrote:
> Am 06.03.2013 um 20:20 schrieb "Venkatachalam, Vasanth" <Vasanth.Venkatachalam at amd.com>:
>> Following the instructions in https://wikis.oracle.com/display/OpenJDK/Instructions I ran "mx ideinit".
>> However, I don't see a .project file generated in the top directory. I created a new Eclipse project and imported all the directories at the top level, but the integration wasn't as seamless as I expected.
>> It looks like I may have to configure Eclipse to pick up on dependencies that have been manually specified in the mx/projects file.
>> Can someone explain the proper way to configure the Eclipse environment? I looked around for additional documentation but the above link was all I found.
> generally, running mx ideinit (or mx eclipseinit) is enough to set up all .project files you need. There is no .project file in the top-level directory; they are some levels below (in the graal/com.oracle..... directories, one per project).
> You do not need to create an Eclipse project and import other projects into that. Please do this:
> * clone the Graal repository into, say, ~/graal
> * start Eclipse and choose that directory as the workspace
> * File -> Import ... -> Mercurial -> Projects from local repository
> * select the ~/graal directory
> * select all projects that appear
I've put these instructions into the wiki:
More information about the graal-dev