[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [recommenders-dev] Help in development environment setup
- From: Sergey Parilin <parilinsa@xxxxxxxxx>
- Date: Wed, 25 Jul 2012 17:30:29 +0400
- Delivered-to: email@example.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=R+NIaKgGBa0/ZwSjdxF15UZkseWl6A7DRSpGtIij1k0=; b=L1XXQsdPOsKr67suCFW4S6reRkXhtFJahBHxhIoGbLGV28/+gsVJIH3OfRmR857Kaf dAsFQ9/DusB6Y4FKW9gLGNU9THx/RpNEfHXjg+OdI5VXnpKwXfKwLVCXrqMr2e2K6eoF eeNeWHjkqsjUW85tb22mELp/HPNL8ld76Ja+CdkesjelwRZrLzxkMSVKWVp5+1dC54vw sJCYUa8/JhRbp2i2xxtsS99lKNr9FNZUGuthLQrniPJr9DrKOUOH1ka5vnBQ61yd04Va SkUZMZQfI9T3ojyEewxewM+o4dILosqJn/O5yaT0VD6YsOfeyrlE7UInTPSbgkKGh2PS Dw4Q==
Thank you. I passed all steps and seems that all works properly except
some errors in MANIFESTs but it doesn't prevent to run the project.
One more thing. I noticed that when import recommenders to workspace
it starts to do some work in background all the time and utilizes from
30% to 50% of CPU. Even if I do absolutely nothing. In Progress view
endlessly appear records "Building workspace (Sleeping) OK". The
effect disappears when I stop and close all progresses manually but
appear again after Project Clean for example? Effect completely
disappears only when I uncheck Build Automatically.
Is this normal or I am doing something wrong?
2012/7/25 Marcel Bruch <bruch@xxxxxxxxxxxxxxxxxx>:
> 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.
> 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 ,
>>> 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 . 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, (, ) 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.
>>>  http://wiki.eclipse.org/Recommenders/BuildingFromSource
>>>  http://wiki.eclipse.org/PDE/API_Tools/User_Guide#Define_an_API_Baseline
>>>  http://www.vogella.com/articles/Eclipse3RCP/article.html
>>>  http://www.vogella.com/articles/EclipsePlugIn/article.html
>>> On Wed, Jul 25, 2012 at 10:43 AM, Sergey Parilin <parilinsa@xxxxxxxxx>
>>>> 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 mailing list
>> recommenders-dev mailing list
> Eclipse Code Recommenders:
> w eclipse.org/recommenders
> w about.me/mbruch
> recommenders-dev mailing list