Ah, okay. First I thought that you meant the same like louis gueye said but with fewer words. I did not know that I can import them as "Maven projects" in Eclipse.
I tried it now. It seems to work better than "mvn eclipse:eclipse" since I now can even import the projects even from jbehave-site. However there are sometimes error messages saying things like: "Project 'jbehave-site-frontend' is missing required source folder: 'src/main/java'" But that can easily be fixed manually. By the way, as it seems we will meet next month. :-) 2013/11/13 Andreas Ebbert-Karroum <[email protected]> > Hi, > > you have to choose if you EITHER use the maven-eclipse-plugin (what you > just did: mvn eclipse:eclipse). That one generates the eclipse project > metadata and eclipse knows nothing about maven. OR you use the eclipse > plugin m2e to enable eclipse to work with maven projects. > > Don't do both. My recommendation is to use the eclipse plugin. > > Andreas > > > 2013/11/13 Hans Schwäbli <[email protected]> > >> It works to some degree with "mvn eclipse:eclipse". It creates a .project >> and .classpath file, but not for all folders. Maybe it is because they are >> just containers, like "examples" folder. >> >> However it does not create these files for >> https://github.com/jbehave/jbehave-site<https://github.com/jbehave/jbehave-site/tree/master/site-frontend/src/site/content> >> for >> some reason, although "site-frontend" for instance appears like a project >> to me. >> >> After "mvn eclipse:eclipse" has run, they are no Maven projects in >> Eclipse since the .project file has no Maven nature configuration inside >> it. Instead there is a comment: "NO_M2ECLIPSE_SUPPORT: Project files >> created with the maven-eclipse-plugin are not supported in M2Eclipse." >> >> Still it helps using mvn eclipse:eclipse I think. >> >> >> 2013/11/13 Hans Schwäbli <[email protected]> >> >>> Btw. thank you (still angry because of that other issue). >>> >>> >>> 2013/11/13 Hans Schwäbli <[email protected]> >>> >>>> Okay, I see. I will try that. Sorry if I sounded a bit angry. >>>> >>>> Maybe it is because I had to spend a lot of time in an JBehave issue. >>>> >>>> I first described the bug in this forum. Then I was asked to fork the >>>> JBehave repository to reproduce it in the sources. After I registered at >>>> Github and learned how to do that I could not push it in the forked >>>> repository. So I attached the files and a patch to the Jira issue. This all >>>> took me quite some time. >>>> >>>> Now I read in the JIra comment and seen in the sources that my issue is >>>> not going to be fixed. If I was told that right from the start when I wrote >>>> about my problem in this forum, I would not had not lost so much time with >>>> no gain for me. >>>> >>>> >>>> 2013/11/13 louis gueye <[email protected]> >>>> >>>>> .project and .classpath are not to be committed in the source file >>>>> >>>>> there is a maven goal that creates them for you based on the pom.xml >>>>> >>>>> mvn idea:idea or mvn eclipse:eclipse >>>>> >>>>> no need to be rude. >>>>> >>>>> >>>>> Cordialement/Regards, >>>>> >>>>> Louis GUEYE >>>>> linkedin <http://fr.linkedin.com/in/louisgueye> | >>>>> blog<http://deepintojee.wordpress.com/>| >>>>> twitter <http://twitter.com/#%21/lgueye> >>>>> >>>>> >>>>> 2013/11/13 Hans Schwäbli <[email protected]> >>>>> >>>>>> When I clone the JBehave sources, like jbehave-core, there is no >>>>>> .project and .classpath file inside the sources. >>>>>> >>>>>> So it cannot be imported and run in Eclipse. >>>>>> >>>>>> Aren't you JBehave developers working with Eclipse at all? >>>>>> >>>>>> How do you expect contributors to deal with this missing files? Do I >>>>>> have to create and copy them myself in each project folder? >>>>>> >>>>> >>>>> >>>> >>> >> > > > -- > Mit freundlichen Grüßen / Best regards > > Andreas Ebbert-Karroum | Agile Principal Consultant > > codecentric AG | Merscheider Straße 1 | 42699 Solingen | Deutschland > tel: +49 (0) 212.23362825 | fax: +49 (0) 212.23362879 | mobil: +49 (0) > 175.2664109 > www.codecentric.de | blog.codecentric.de | www.meettheexperts.de | > www.more4fi.de > > Sitz der Gesellschaft: Düsseldorf | HRB 63043 > Vorstand: Klaus Jäger (Vorsitzender) . Michael Hochgürtel . Mirko > Novakovic . Rainer Vehns > Aufsichtsrat: Patric Fedlmeier (Vorsitzender) . Bernd Klinkmann . Jürgen > Schütz > > Diese E-Mail einschließlich evtl. beigefügter Dateien enthält vertrauliche > und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige > Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie > bitte sofort den Absender und löschen Sie diese E-Mail und evtl. > beigefügter Dateien umgehend. Das unerlaubte Kopieren, Nutzen oder Öffnen > evtl. beigefügter Dateien sowie die unbefugte Weitergabe dieser E-Mail ist > nicht gestattet. >
