Re: Eclipse project generation

2007-04-11 Thread Simon Laws

On 4/11/07, Luciano Resende <[EMAIL PROTECTED]> wrote:


Look at how people is doing in Apache Abdera
https://svn.apache.org/repos/asf/incubator/abdera/java/trunk/BUILDING

I think you can use :

mvn -Declipse.workspace=/path/to/workspace eclipse:eclipse



On 4/11/07, Simon Laws <[EMAIL PROTECTED]> wrote:
>
> To debug the calculator sample I did a mvn -Peclipse eclipse:eclipse in
> java/sca and imported the calculator sample project and all dependecy
> projects, into eclipse.  Is there a way of generating the workspace
> automatically to avoid the import step? Looking at the eclipse plugin
> documentation there doesn't seem to be an option.
>
> Regards
>
> Simon
>



--
Luciano Resende
http://people.apache.org/~lresende


Thanks Luciano for pointing that out. I tried it and it seems to be tryting
to do the right sort of thing but not quite getting all the way, i.e. the
resulting workspace doesn't load with projects in it. As their advice is to
start with the manual import I'll stick with what I have for now and
investigate alternatives in the future.

Regards

Simon


Re: Eclipse project generation

2007-04-11 Thread Luciano Resende

Look at how people is doing in Apache Abdera
https://svn.apache.org/repos/asf/incubator/abdera/java/trunk/BUILDING

I think you can use :

mvn -Declipse.workspace=/path/to/workspace eclipse:eclipse



On 4/11/07, Simon Laws <[EMAIL PROTECTED]> wrote:


To debug the calculator sample I did a mvn -Peclipse eclipse:eclipse in
java/sca and imported the calculator sample project and all dependecy
projects, into eclipse.  Is there a way of generating the workspace
automatically to avoid the import step? Looking at the eclipse plugin
documentation there doesn't seem to be an option.

Regards

Simon





--
Luciano Resende
http://people.apache.org/~lresende


Eclipse project generation

2007-04-11 Thread Simon Laws

To debug the calculator sample I did a mvn -Peclipse eclipse:eclipse in
java/sca and imported the calculator sample project and all dependecy
projects, into eclipse.  Is there a way of generating the workspace
automatically to avoid the import step? Looking at the eclipse plugin
documentation there doesn't seem to be an option.

Regards

Simon


Re: Eclipse project generation problems

2006-04-12 Thread Jean-Sebastien Delfino

Srikanth Bhattiprolu wrote:

Am seeing some issues where the classpath that gets generated after running
mvn eclipse:eclipse is getting set to a wierd path:



instead of ...



I checked the pom.xml files and they all seem to have the correct value of
"SNAPSHOT" for the version. Any particular reason why the classpath is
getting generated in a wrong way.

Srikanth

  
I'm guessing that it's related to the problems we're seeing with the 
maven repos on the Eclipse web site, reported as Eclipse Bugzilla: 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=136471


I tried to reproduce your problem by restarting with a fresh local maven 
repos but I can't get through the issue with the Eclipse maven repos, 
which is messing the maven metadata pretty bad. Do you have 
common-2.2.0-SNAPSHOT.jar in your local maven repos?


--
Jean-Sebastien



Eclipse project generation problems

2006-04-12 Thread Srikanth Bhattiprolu
Am seeing some issues where the classpath that gets generated after running
mvn eclipse:eclipse is getting set to a wierd path:



instead of ...



I checked the pom.xml files and they all seem to have the correct value of
"SNAPSHOT" for the version. Any particular reason why the classpath is
getting generated in a wrong way.

Srikanth