[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [recommenders-dev] Help in development environment setup
|
Hi Sergey,
I've just added a product configuration in etc/eclipse/recommenders.product which starts an Eclipse Runtime with all needed dependencies in one click.
Just (i) open etc/eclipse/recommenders.product and (ii) click on the debug icon in the upper right corner. This should start the Eclipse IDE with all Code Recommenders plug-ins enabled (you still need to set the e42.target platform before to make the workspace compile).
Let us know if we can lend a helping hand to get you going.
Cheers,
Marcel
On 25.07.2012, at 12:26, Sergey Parilin wrote:
> Thanks for rapid answer. I will try it.
>
> 2012/7/25 Massimo Zugno <d3k41n@xxxxxxxxx>:
>> 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
>>
>>
>>
>> _______________________________________________
>> recommenders-dev mailing list
>> recommenders-dev@xxxxxxxxxxx
>> http://dev.eclipse.org/mailman/listinfo/recommenders-dev
>>
> _______________________________________________
> recommenders-dev mailing list
> recommenders-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/recommenders-dev
--
Eclipse Code Recommenders:
w eclipse.org/recommenders
w about.me/mbruch