Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Import Maven Modular java project from SVN
Import Maven Modular java project from SVN [message #648728] Fri, 14 January 2011 09:37 Go to next message
Fhomasp Peeters is currently offline Fhomasp Peeters
Messages: 4
Registered: January 2011
Junior Member
Hey,

After working for clients who have been using IntelliJ I now need to get acquainted with Eclipse for my new client. However things are not as I expected. I'll clarify. Also keep in mind that I might have been going about this the wrong way.

So I have a java project which has modules and is built using Maven. This project also has other directories with resources.

When I try to import such a project I need to associate it with a project? Why is that?

When I select "new project from SVN" it might go better, but it doesn't. It imports the root of the project as a java project just fine, BUT, the modules are NOT configured as Java project and I can't seem to find an easy way to do this.

But I mean, come on! I do this using IntelliJ in one minute, seriously. One selects new project -> maven -> <browse to project pom> and that is it! It's working there as it should with all nessessary associations to Spring, Hibernate, Maven, SVN, ...

Sorry but I'm seriously frustrated. If anyone knows how to properly do this, by all means, enlighten me.

[Updated on: Fri, 14 January 2011 09:37]

Report message to a moderator

Re: Import Maven Modular java project from SVN [message #648735 is a reply to message #648728] Fri, 14 January 2011 10:16 Go to previous messageGo to next message
Deepak Azad is currently offline Deepak Azad
Messages: 545
Registered: July 2009
Senior Member
On 1/14/2011 3:07 PM, FhomasP wrote:
> Hey,
>
> After working for clients who have been using IntelliJ I now need to get
> acquainted with Eclipse for my new client. However things are not as I
> expected. I'll clarify. Also keep in mind that I might have been going
> about this the wrong way.
>
> So I have a java project which has modules and is built using Maven.
> This project also has other directories with resources.
> When I try to import such a project I need to associate it with a
> project? Why is that?
>
> When I select "new project from SVN" it might go better, but it doesn't.
> It imports the root of the project as a java project just fine, BUT, the
> modules are NOT configured as Java project and I can't seem to find an
> easy way to do this.
>
> But I mean, come on! I do this using IntelliJ in one minute, seriously.
> One selects new project -> maven -> <browse to project pom> and that is
> it! It's working there as it should with all nessessary associations to
> Spring, Hibernate, Maven, SVN, ...
>
> Sorry but I'm seriously frustrated. If anyone knows how to properly do
> this, by all means, enlighten me.
This forum is about Java Development tools (JDT), your question would be
better answered in 'Maven Integration' or 'IAM (Eclipse Integration for
Apache Maven)' forum.
Re: Import Maven Modular java project from SVN [message #648754 is a reply to message #648735] Fri, 14 January 2011 12:38 Go to previous messageGo to next message
Fhomasp Peeters is currently offline Fhomasp Peeters
Messages: 4
Registered: January 2011
Junior Member
That depends. I'm also having trouble connecting to SVN, launching JUnit tests and installing new / existing plugins. I can't really make up my mind which forum to take so I took this one.

Deepak Azad wrote on Fri, 14 January 2011 05:16
On 1/14/2011 3:07 PM, FhomasP wrote:
> Hey,
>
> After working for clients who have been using IntelliJ I now need to get
> acquainted with Eclipse for my new client. However things are not as I
> expected. I'll clarify. Also keep in mind that I might have been going
> about this the wrong way.
>
> So I have a java project which has modules and is built using Maven.
> This project also has other directories with resources.
> When I try to import such a project I need to associate it with a
> project? Why is that?
>
> When I select "new project from SVN" it might go better, but it doesn't.
> It imports the root of the project as a java project just fine, BUT, the
> modules are NOT configured as Java project and I can't seem to find an
> easy way to do this.
>
> But I mean, come on! I do this using IntelliJ in one minute, seriously.
> One selects new project -> maven -> <browse to project pom> and that is
> it! It's working there as it should with all nessessary associations to
> Spring, Hibernate, Maven, SVN, ...
>
> Sorry but I'm seriously frustrated. If anyone knows how to properly do
> this, by all means, enlighten me.
This forum is about Java Development tools (JDT), your question would be
better answered in 'Maven Integration' or 'IAM (Eclipse Integration for
Apache Maven)' forum.

Re: Import Maven Modular java project from SVN [message #648769 is a reply to message #648728] Fri, 14 January 2011 12:51 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

As Deepak mentioned, you should probably ask about the MAVEN integration
in one of the maven forums. http://m2eclipse.sonatype.org/ has been
used for maven integration in eclipse.

I'll also mention that eclipse only supports one level of projects, in
the root of the workspace. That's probably why importing your SVN maven
tree resulted in one project with a lot of less-useful sub-modules. The
m2eclipse guys might have a solution for dealing with modules as well.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:Jar files locked by Eclipse when trying to update
Next Topic:Change Print Preferences?
Goto Forum:
  


Current Time: Mon Sep 15 09:41:58 GMT 2014

Powered by FUDForum. Page generated in 0.04756 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software