-
1. Re: How to develop gatein using eclipse?
mwringe Feb 3, 2010 10:43 AM (in response to cwchen)I usually just import it as a maven project, havn't had any issues using it that way -
2. Re: How to develop gatein using eclipse?
cwchen Feb 3, 2010 8:32 PM (in response to mwringe)Project->properties->maven->include modules did not checked by default ,when I checked this option,then ok.....
thanks ..
-
3. Re: How to develop gatein using eclipse?
hoang_to Feb 4, 2010 4:04 AM (in response to cwchen)It's likely that config of your Maven Eclipse plugin is wrong.
You could try to build GateIn, then generate the Eclipse project files ( i refer to .settings , .project, .classpath ) with command line of Maven and finally import the projects.
Browse to the root directory of GateIn project
- mvn clean install ( to build) (1)
- mvn eclipse:eclipse (to generate the Eclipse project files)
(1) does not always work and the magic command to make it works is 'mvn clean install -DskipTests=true'
-
4. Re: How to develop gatein using eclipse?
mwringe Feb 4, 2010 9:21 AM (in response to cwchen)you don't need to do anything fancy with eclipse and maven anymore (well maybe if you are using old versions), you don't need any .project or .classpath files to start with.
All you need to do is either:
file-> new -> new project -> maven -> checkout maven project from scm (and then give it the svn location of the project)
or
file -> import -> general -> maven projects (and give it the location of the maven project)
In either case it will recreate the proper .project and .classpath files and everything will work fine (you can even specifiy if you want everything in one project or separate projects per maven module).
-
5. Re: How to develop gatein using eclipse?
maruti Feb 23, 2010 9:31 AM (in response to mwringe)hi,
Thank you very much,It is cool, but 60+ projects are there in the workbench in this approach,can we except some doc on environment set up used by GateIn dev team.,please .
Maruti
-
6. Re: How to develop gatein using eclipse?
mwringe Feb 23, 2010 9:29 AM (in response to maruti)yes, when you create the project, under advance, you need to uncheck 'separate projects for modules'. This will create everything under one project.
Be warned that the default behaviour is more correct (one project per artifact) since a project is bound to one classpath and each artifact can have its own classpath.
I rarely run into problems using the one project approach, but you can run into some classpath issues which don't actually exist during the maven build.
-
7. Re: How to develop gatein using eclipse?
chenyuejie Nov 16, 2010 10:20 PM (in response to mwringe)Hi Matt,
How to run Gatein after import the source in Eclipse? Can we start Gatein in goal such as jetty:run?
-
8. Re: How to develop gatein using eclipse?
shouvanik Sep 4, 2011 11:20 PM (in response to cwchen)////////////////////Error Log//////////////////