Ahh ok, I need to exclude config, features and javascript from the
eclipse project creation, sorry.
either m2eclipse is fine to use for those with the m2 eclipse plugin.
I have tended not to install plugins, since in other projects I am
running out of permgen space and heap when I load up eclipse
completely (permgen >512m currently).....
so my preference is eclipse:eclipse.
I am in the process of doing a patch to the poms, SHINDIG-207, so I
will try and fix this at the same time.
Ian
On 25 Apr 2008, at 01:55, Brian Eaton wrote:
That cut the number of errors from around 100 to 9:
Project 'gadgets' is missing required source folder:
'/home/beaton/sb/shindig/config' gadgets Build path
Project 'gadgets' is missing required source folder:
'/home/beaton/sb/shindig/features' gadgets Build path
Project 'gadgets' is missing required source folder:
'/home/beaton/sb/shindig/javascript' gadgets Build path
Project 'shindig-server' is missing required source folder:
'/home/beaton/sb/shindig/config' shindig-server Build path
Project 'shindig-server' is missing required source folder:
'/home/beaton/sb/shindig/features' shindig-server Build path
Project 'shindig-server' is missing required source folder:
'/home/beaton/sb/shindig/javascript' shindig-server Build path
The project cannot be built until build path errors are resolved
gadgets
The project cannot be built until build path errors are resolved
shindig-server
The project was not built since it depends on gadgets, which has build
path errors social-api
I don't have a strong preference for my approach to getting things
working in eclipse, or mvn eclipse:eclipse, or mvn eclipse:m2eclipse,
except that mine is the only way I can get to work. =)
Cheers,
Brian
On Tue, Apr 22, 2008 at 1:40 PM, Ian Boston <[EMAIL PROTECTED]> wrote:
Ahh, M2_REPO not defined ?
you need to got to goto
Preferences -> Java -> Apperance -> Build Path -> Classpath
variables
and then create a new variable M2_REPO pointing to
the folder ~/.m2/repository
Thats on Unix, I am not certain where the local Maven 2 repo is
on Windows.
Ian
On 22 Apr 2008, at 17:16, Brian Eaton wrote:
On Tue, Apr 22, 2008 at 1:19 AM, Ian Boston <[EMAIL PROTECTED]> wrote:
Have you tried
cd shindig/java
mvn eclipse:eclipse
and then import the projects into eclipse ?
Yes. It doesn't work. I get bunches of 'Unbound classpath' and
'Project X is missing required java project Y' errors.