How to setup JDT UI development environment [message #1315137] |
Fri, 25 April 2014 16:33  |
Eclipse User |
|
|
|
Hello all,
I've got some problems trying to set up my environment for solving a bug in JDT.
So actually my question is not really about using JDT, but about developing it, however some of the questions are probably a
I could not find any other place to post my question, so doing it here.
If there is a better place/way to get my questions answered, please let me know.
So I've clone the master branch of the GIT repository for jdt.ui (git://git.eclipse.org/gitroot/jdt/eclipse.jdt.ui.git) into my Eclipse workspace.
The checked out version by default gives me a lot of Java compile errors.
To fix them I try follow this page http://wiki.eclipse.org/JDT_UI/How_to_Contribute#Configuring_the_workspace. However I'm not very familiar with Eclipse JDT development environment, so some of the items on that page are not clear to me. So could you please provide me with the information on the following items:
1. "the target platform should be the latest 4.4 I-build" - where can I get that build? In my preferences I have only 1 option "Running Platform". So what needs to be done to get the latest 4.4 build?
2. "Enable API tooling" - how to enable it?
3. "...and specify an appropriate API baseline - for Luna the baseline should be 4.3.2" - In my workspace preferences there are no baselines. So I guess i need to get a baseline from somewhere. Where can I find the right baseline?
4. "You also need Java SE 5 or later" - my java -version output is
"java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) 64-Bit Server VM (build 21.1-b02, mixed mode)"
so I guess it's OK. Is it correct?
Any answers to my pretty basic questions will be appreciated.
Thank you in advance!
|
|
|
|
|
|
|
|
|
|
Re: How to setup JDT UI development environment [message #1366719 is a reply to message #1340968] |
Mon, 19 May 2014 08:46  |
Eclipse User |
|
|
|
If you are using the latest I-build of Luna itself for the code setup and development, then explicitly setting the Target Platform is also not required.
By default, Running Platform is taken as the target platform. (Make sure that Running Platform is checked in Target Platform preference.)
Regarding the error in jdt.ui manifest, I think you need to pull the latest code from all the repositories.
As per the latest code, the requirement in jdt.ui manifest is:
org.eclipse.jdt.core;bundle-version="[3.10.0,4.0.0)"
and not:
org.eclipse.jdt.core;bundle-version="[3.9.0,4.0.0)"
|
|
|
Powered by
FUDForum. Page generated in 0.06794 seconds