Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] Eclipse Code Recommenders - Extenders

Hi Amandeep,

> I removed the checkstyle plugin + re-imported the projects and it worked
> like a charm.
> But now it is showing errors in 2 projects.
>              > org.eclipse.recommenders.calls.rcp.tests
>              > org.eclipse.recommenders.completion.rcp.tests
> I attached a screenshot also. 

This looks like a problem with your Xtend setup. Stubs.java refers to a
class written in Xtend. But apparently the
target/generated-sources/xtend folder, where Xtend places its output, is
empty. Can you check the Xtend compiler's output folder for the project
in question?

> And how I'm supposed to execute a new eclipse runtime to test the plugin ?
> The last step says "Start a new Eclipse runtime via the product
> configuration file located under /etc/eclipse/ide.product". I didn't get
> it. [1] 
> 
> In extenders for code recommenders, it mentions to load another target
> platform ' etc/targets/e42-extender.target.'
> How can I get that ?  [1]

I am afraid that the wiki is a bit outdated. Most things (user manual,
etc.) are covered on the recently re-designed homepage [1]. Alas, what
we are missing is a more up-to-date explanation on how to build/extend
Code Recommenders. Maybe a readme.txt in the Git repo's root would do
the trick, without the overhead that maintaining a wiki entails (and
which we would like to avoid, now that we have the new homepage). I'll
put that onto my To-Do list.

That being said, there are now only two target platforms: "luna.target"
and "kepler.target". Either one should work fine for you; there is no
special "extenders" target platform anymore.

The product file to run the IDE with Code Recommenders resides now unter
"tools/ide.product". Just be aware that "tools" is not a Maven project;
you have to browse to this folder from the "org.eclipse.recommenders"
main project.

Hope this helps.

Andreas

[1] <http://www.eclipse.org/recommenders/>

-- 
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940


Back to the top