Re: Importing into Eclipse

2008-09-18 Thread Olivier Lamy
Hi,
Personnaly, I do mvn eclipse:eclipse -DoutputDirectory=build. (In your
case :mvn eclipse:clean eclipse:eclipse -DoutputDirectory=build
Because you can have some issues if you do a mvn clean with cli
because the target/* directories will be removed and some classes
won't be available. And eclipse can't compile projects.

HTH,
--
Olivier

2008/9/18  <[EMAIL PROTECTED]>:
> So,
>
> i've done that. I get following Errors:
>
>
> DescriptionResourcePathLocationType
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommendedmaven-scm-client
> UnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-manager-plexusUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommendedmaven-scm-plugin
> UnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-accurevUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-bazaarUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-clearcaseUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-cvs-commonsUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-cvsexeUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-cvsjavaUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-cvstestUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-git-commonsUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-gitexeUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-gittestUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-hgUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-localUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-perforceUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-starteamUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-svn-commonsUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-svnexeUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-svntestUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-synergyUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-vssUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommendedmaven-scm-test
> UnknownJava Problem
> The project was not built due to "Could not delete
> '/maven-scm-api/target/classes/org'.". Fix the problem, then try refreshing
> this project and building it since it may be inconsistent
> maven-scm-api

Re: Importing into Eclipse

2008-09-18 Thread Emmanuel Venisse
Remove maven-scm-api/target/ directory manually and retry. You have probably
a lock on it.
Do you have added the classpath variable 'M2_REPO' in your workspace?
You can do it with the maven eclipse plugin :
http://maven.apache.org/plugins/maven-eclipse-plugin/usage.html

Emmanuel

On Thu, Sep 18, 2008 at 12:44 PM, <[EMAIL PROTECTED]> wrote:

> So,
>
> i've done that. I get following Errors:
>
>
> DescriptionResourcePathLocationType
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommendedmaven-scm-client
> UnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-manager-plexusUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommendedmaven-scm-plugin
> UnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-accurevUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-bazaarUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-clearcaseUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-cvs-commonsUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-cvsexeUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-cvsjavaUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-cvstestUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-git-commonsUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-gitexeUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-gittestUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-hgUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-localUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-perforceUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-starteamUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-svn-commonsUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-svnexeUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-svntestUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-synergyUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommended
> maven-scm-provider-vssUnknownJava Problem
> The project cannot be built until its prerequisite maven-scm-api is built.
> Cleaning and building all projects is recommendedmaven-scm-test
> UnknownJava Problem
> The project was not built due to "Could not delete
> '/maven-scm-api/target/classes/org'.". Fix the problem, then try refreshing
> this project and building it since it may be inconsistent
> maven-scm-apiUnknownJava Problem
>
>
>
>

Re: Importing into Eclipse

2008-09-18 Thread mac-systems
So,

i've done that. I get following Errors:


Description    Resource    Path    Location    Type
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    maven-scm-client        
Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-manager-plexus        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    maven-scm-plugin        
Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-accurev        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-bazaar        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-clearcase        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-cvs-commons        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-cvsexe        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-cvsjava        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-cvstest        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-git-commons        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-gitexe        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-gittest        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    maven-scm-provider-hg      
  Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-local        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-perforce        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-starteam        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-svn-commons        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-svnexe        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-svntest        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    
maven-scm-provider-synergy        Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    maven-scm-provider-vss     
   Unknown    Java Problem
The project cannot be built until its prerequisite maven-scm-api is built. 
Cleaning and building all projects is recommended    maven-scm-test        
Unknown    Java Problem
The project was not built due to "Could not delete 
'/maven-scm-api/target/classes/org'.". Fix the problem, then try refreshing 
this project and building it since it may be inconsistent    maven-scm-api      
  Unknown    Java Problem



Last Error Message says nothing to me, as all other depend on SCM API this 
seems the root of all other Errors.

- jens

 
Yes.


On Thu, Sep 18, 2008 at 12:19 PM,  <[EMAIL PROTECTED]> wrote:

hello,

that have to be done on root of the SCM Checkout location ?
And later i can import the Project within Eclipse ?

- Jens




 
mvn eclipse:eclipse should work to generate

Re: Importing into Eclipse

2008-09-18 Thread Emmanuel Venisse
Yes.

On Thu, Sep 18, 2008 at 12:19 PM, <[EMAIL PROTECTED]> wrote:

> hello,
>
> that have to be done on root of the SCM Checkout location ?
> And later i can import the Project within Eclipse ?
>
> - Jens
>
>
>   mvn eclipse:eclipse should work to generate eclipse projects but you
> won't use m2 eclipse plugin.
> Emmanuel
>
> On Thu, Sep 18, 2008 at 12:07 PM, <[EMAIL PROTECTED]> wrote:
>
>> Hello,
>>
>> im new therer and want to add DCM Based Support for Synergy.
>> Actually i try to us the m2 Eclipse plugin.
>> I imported all SCM Projects in my eclipse Workspace using the Plugin.
>> At all my CPU is busy for minutes and than my workspace still have
>> compiler error - i wonder because a cmd line mvn install works pretty well.
>>
>> Anyone can help me a bit with the setup/import in eclipse ?
>>
>> Best Regards,
>> Jens
>>
>
>


Re: Importing into Eclipse

2008-09-18 Thread mac-systems
hello,

that have to be done on root of the SCM Checkout location ?
And later i can import the Project within Eclipse ?

- Jens

 
mvn eclipse:eclipse should work to generate eclipse projects but you won't use 
m2 eclipse plugin.


Emmanuel


On Thu, Sep 18, 2008 at 12:07 PM,  <[EMAIL PROTECTED]> wrote:
Hello,

im new therer and want to add DCM Based Support for Synergy.
Actually i try to us the m2 Eclipse plugin.
I imported all SCM Projects in my eclipse Workspace using the Plugin.
At all my CPU is busy for minutes and than my workspace still have compiler 
error - i wonder because a cmd line mvn install works pretty well.

Anyone can help me a bit with the setup/import in eclipse ?

Best Regards,
Jens

Re: Importing into Eclipse

2008-09-18 Thread Emmanuel Venisse
mvn eclipse:eclipse should work to generate eclipse projects but you won't
use m2 eclipse plugin.
Emmanuel

On Thu, Sep 18, 2008 at 12:07 PM, <[EMAIL PROTECTED]> wrote:

> Hello,
>
> im new therer and want to add DCM Based Support for Synergy.
> Actually i try to us the m2 Eclipse plugin.
> I imported all SCM Projects in my eclipse Workspace using the Plugin.
> At all my CPU is busy for minutes and than my workspace still have compiler
> error - i wonder because a cmd line mvn install works pretty well.
>
> Anyone can help me a bit with the setup/import in eclipse ?
>
> Best Regards,
> Jens
>


Importing into Eclipse

2008-09-18 Thread mac-systems
Hello,

im new therer and want to add DCM Based Support for Synergy.
Actually i try to us the m2 Eclipse plugin.
I imported all SCM Projects in my eclipse Workspace using the Plugin.
At all my CPU is busy for minutes and than my workspace still have compiler 
error - i wonder because a cmd line mvn install works pretty well.

Anyone can help me a bit with the setup/import in eclipse ?

Best Regards,
Jens