Hello Tomáš,


On 8 April 2014 11:43, Tomáš Pluskal <pluskal@oist.jp> wrote:
Hi Nina, Egon,

Could you please write more details? 
There seem to be too many different ways to import a project into Eclipse, and so far I have failed to get the CDK+maven+git+Eclipse combination working.
Which menu item did you use to import the project? 
 - File-New-Other..-Maven-Checkout Maven Project From SCM
 - File-Import-Git-Projects from Git
 - File-Import-Maven-Check out Maven Projects from SCM

My preference is not to use any SCM facilities from within Eclipse :)  This is not specific to CDK, I am just used to checkout SVN / Git /whatever projects with the help of a SCM client and then using "Import/Maven/Import existing Maven projects" in Eclipse. 

 

How do you import individual CDK modules? 

You don't need to import modules separately, importing the top level pom.xml is sufficient.
 
Do these become individual projects in Eclipse, or are they all within one Eclipse project? 

It depends on Eclipse configuration , in principle they are considered separate (but related) projects. Depending on config, Eclipse will show the projects as a hierarchy or flat.
 
And how do you build them?

Normal Eclipse Clean/Build works pretty well.  You could also define Run/Debug configurations using Maven goals and profiles. 

I don't have any significant complaints from Maven integration in Eclipse (and using it for pretty long time already). I've heard reports using the SCM + Maven in Eclipse has troubles, but can't confirm from experience.

All of the above is if you want to develop within the CDK source tree. If you just want to use CDK Maven modules, importing the CDK project is not necessary at all , just include it's modules as Maven dependencies in your project.

Best regards,
Nina
 

Best regards,

Tomas



On Apr 8, 2014, at 3:43 PM, Nina Jeliazkova <jeliazkova.nina@gmail.com> wrote:

Hi,

It's better to import as maven project, not as java one.

Regards,
Nina

On 8 Apr 2014 07:16, "Tomáš Pluskal" <pluskal@oist.jp> wrote:
Hello,

I am wondering if anyone is using Eclipse for CDK development.

I successfully imported the current master branch from https://github.com/cdk/cdk.git as a new Java Project.
Then I right-clicked the new project in Eclipse and selected Configure -> Convert to Maven Project.

After that, Eclipse rebuilds the whole project and reports over 27,000 errors.
Is there an easy way to perform a correct maven-based build within Eclipse?

Thanks,

Tomas


===============================================
Tomas Pluskal
G0 Cell Unit, Okinawa Institute of Science and Technology Graduate University
1919-1 Tancha, Onna-son, Okinawa 904-0495, Japan
WWW: https://groups.oist.jp/g0
TEL: +81-98-966-8684
Fax: +81-98-966-2890



------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Cdk-devel mailing list
Cdk-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-devel
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees_______________________________________________
Cdk-devel mailing list
Cdk-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-devel

===============================================
Tomas Pluskal
G0 Cell Unit, Okinawa Institute of Science and Technology Graduate University
1919-1 Tancha, Onna-son, Okinawa 904-0495, Japan
WWW: https://groups.oist.jp/g0
TEL: +81-98-966-8684
Fax: +81-98-966-2890


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Cdk-devel mailing list
Cdk-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-devel