Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] How to start with Recommender's source code

Hi Marcel,

Thank you for your reply first.

2012/2/16 Marcel Bruch <bruch@xxxxxxxxxxxxxxxxxx>
Hi Cheng!

I'm glad Chinese New Year celebrations didn't damage your health too much ;)

HAHA :-D
 

The compile errors are caused by a missing target platform. See the above wiki page for more details on how to set the target platform for your workspace and make recommenders projects compile in Eclipse.

Side note:
After setting the target platform, there will be several projects projects which will still contain compile errors. Fixture projects contain test scenarios for code completion and don't compiler "per construction". Some test and plug-in projects (codesearch.rcp, udc.rcp, and completion.rcp.templates haven't been migrated to the latest e4.2 infrastructure yet. But you shouldn't care too much about them.

Let me know if the wiki page answers your questions. Please post follow ups questions here to that we can update the documentation accordingly.

In fact, i have got everything ready just like the wiki page said several days ago. The only problem was that there are still compile errors in some projects (codesearch.rcp, udc.rcp, and completion.rcp.templates), just you mentioned. Now i know it is ok, i just close these projects in my Eclipse work space, it seems that everything works well.

Recommenders help Eclipse users to improve development speed, write codes easier. If it can help us to improve code quality, it will be more perfect. I was a intern in rational team of IBM China Development Lab, and have several years Eclipse plugin development experience, want to add Unit Test code auto-creation features for Recommenders as a Google Summer of Code project this year, i do not know whether you guys are interested.

In my lab, my professor demand us to write unit test to keep project quality.It is really a boring job to write test cases,simulate and building functions' Class object parameter. For example, we have such an method:

public String buildSearchPageURL(HttpServletRequest request){
//do something and then return something

If we want to write unit test for it, we must build an special HttpServletRequest object for each test case, it will cost us much time. If Recommenders can help us to create unit test file, test cases and build parameter Class object. It is really cool,practical and useful, save time, save money.

How do you think ? Thank you :-)
 

Thanks,
Marcel

P.S.: you only need the org.eclipse.recommenders repository. All projects in 3rd are included by the target platform and releng projects contains release tools only.


On 16.02.2012, at 05:09, chen cheng wrote:

Hi Guys,

Recommenders is a fantastic developing project, it will help us and save much time when we are coding in Eclipse. And i am really interested to do some thing to improve it with you guys. But after i get Git clone of source code, import all the there projects(org.eclipse.recommenders,org.eclipse.recommenders.3rd and org.eclipse.recommenders.releng) projects into my Eclipse 4 workspace, i got compile errors.

So, i want to know if there is any guides for developers who start with Recommender's source code in the first day?

Thank you


_______________________________________________
recommenders-dev mailing list
recommenders-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/recommenders-dev




--
Best Regards From Cheng Chen [chengchendoc@xxxxxxxxx]

Back to the top