Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] Help in development environment setup

Hi Sergey,
first of all I suggest you to read through the Recommenders build wiki [1], the section "Building from Eclipse Workspace" is where you can find information on setting up the proper dependencies in Eclipse. Basically you need to open the correct Target Platform definition file from etc/targets (e.g.: e37.target if you are using Indigo, e42.target for Juno).  Once the target is switched you should see the errors resolved. 

For the API baseline problem, you should check this wiki page [2]. In short what you need to do here is to set up an API baseline from: Window -> Preferences -> Plug-in Development -> API Baselines, then just click "Add Baseline..." and point to an existing eclipse installation. 

In order to getting started in Eclipse plugin development, I suggest you to have a read to some of Lars Vogel's tutorials, ([3], [4]) they are very clean and comprehensive. They'll clear out every doubt you could have as a beginner, including how to run the code (you'll find Recommenders already has some predefined so-called "Launch configurations")

Hope this helps, feel free to ask me any question.
Massimo.

[1] http://wiki.eclipse.org/Recommenders/BuildingFromSource
[2] http://wiki.eclipse.org/PDE/API_Tools/User_Guide#Define_an_API_Baseline
[3] http://www.vogella.com/articles/Eclipse3RCP/article.html
[4] http://www.vogella.com/articles/EclipsePlugIn/article.html

On Wed, Jul 25, 2012 at 10:43 AM, Sergey Parilin <parilinsa@xxxxxxxxx> wrote:
Hi.
I am novice at recommenders and in eclipse plugin development. I'm
trying to implement
https://bugs.eclipse.org/bugs/show_bug.cgi?id=385397 enhancement and
have problems to setup development environment.
First of all I've cloned recommenders git repo. Then I imported
project to workpspace. In this case I get thousand errors of
unresolved types. I guess some dependencies are missing. Also I tried
to import project as maven project. Unresolved types are disappeared
but m2e regenerates all eclipse project files. Project files are
placed in git and I conclude that this way is wrong. In both cases I
get many errors with following message "An API baseline has not been
set for the current workspace.  org.eclipse.recommenders.injection" and
have no idea how to deal with them.

Could you get me some advises how to setup workpspace properly?

Additionally,  I never write any eclipse plugin and have no idea how
to run the code of the plugin. Is there some documentation about?
_______________________________________________
recommenders-dev mailing list
recommenders-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/recommenders-dev


Back to the top