From: Tomáš P. <pl...@oi...> - 2014-04-08 05:16:28
|
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 |
From: Nina J. <jel...@gm...> - 2014-04-08 06:43:38
|
Hi, It's better to import as maven project, not as java one. Regards, Nina On 8 Apr 2014 07:16, "Tomáš Pluskal" <pl...@oi...> 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...@li... > https://lists.sourceforge.net/lists/listinfo/cdk-devel > |
From: Egon W. <ego...@gm...> - 2014-04-08 07:10:22
|
On Tue, Apr 8, 2014 at 8:43 AM, Nina Jeliazkova <jel...@gm...> wrote: > It's better to import as maven project, not as java one. Yes, that's how I did it too. Egon -- E.L. Willighagen Department of Bioinformatics - BiGCaT Maastricht University (http://www.bigcat.unimaas.nl/) Homepage: http://egonw.github.com/ LinkedIn: http://se.linkedin.com/in/egonw Blog: http://chem-bla-ics.blogspot.com/ PubList: http://www.citeulike.org/user/egonw/tag/papers ORCID: 0000-0001-7542-0286 |
From: John M. <joh...@gm...> - 2014-04-08 08:20:39
|
Still can’t add an Eclipse tutorial but for other IDEs - https://github.com/cdk/cdk/wiki/Building-CDK |
From: Tomáš P. <pl...@oi...> - 2014-04-08 08:43:31
|
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 How do you import individual CDK modules? Do these become individual projects in Eclipse, or are they all within one Eclipse project? And how do you build them? Best regards, Tomas On Apr 8, 2014, at 3:43 PM, Nina Jeliazkova <jel...@gm...> wrote: > Hi, > > It's better to import as maven project, not as java one. > > Regards, > Nina > > On 8 Apr 2014 07:16, "Tomáš Pluskal" <pl...@oi...> 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...@li... > 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...@li... > 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 |
From: John M. <joh...@gm...> - 2014-04-08 21:55:06
|
Hi Tomas, Just trying this now, importing from an existing maven project works okay but doesn’t load javacc connectors for the parser generation. This seems to be an inherent problem with how eclipse handles maven (badly). I managed to resolve this by adding the target/generated-sources/javacc and target/generated-sources/jjtree to the build path. Nina/Egon can you confirm this is what is needed? J On 8 Apr 2014, at 09:43, Tomáš Pluskal <pl...@oi...> 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 > > How do you import individual CDK modules? > Do these become individual projects in Eclipse, or are they all within one Eclipse project? > And how do you build them? > > Best regards, > > Tomas > > > > On Apr 8, 2014, at 3:43 PM, Nina Jeliazkova <jel...@gm...> wrote: > >> Hi, >> >> It's better to import as maven project, not as java one. >> >> Regards, >> Nina >> >> On 8 Apr 2014 07:16, "Tomáš Pluskal" <pl...@oi...> 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...@li... >> 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...@li... >> 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...@li... > https://lists.sourceforge.net/lists/listinfo/cdk-devel |
From: Nina J. <jel...@gm...> - 2014-04-09 04:57:46
|
Hello Tomáš, On 8 April 2014 11:43, Tomáš Pluskal <pl...@oi...> 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 <jel...@gm...> > wrote: > > Hi, > > It's better to import as maven project, not as java one. > > Regards, > Nina > On 8 Apr 2014 07:16, "Tomáš Pluskal" <pl...@oi...> 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...@li... >> 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...@li... > 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...@li... > https://lists.sourceforge.net/lists/listinfo/cdk-devel > > |