I had trouble doing an initial SVN import on several multi-module projects.

Using:
 * Eclipse 3.4.1
 * m2Eclipse 0.9.7.2009.02090947
 * Subclipse 1.4.7 (??)
 * Nested Modules: Disabled

I had several multi-module projects that I was looking to import to SVN
(i.e. check-in for the first time).  I figured it would be easiest to just
do a recursive import from the module-owner projects.  But after selecting
(Team > Share...), I found the module projects hidden.  I wasn't all that
surprised to see that considering the modules were represented as
independent projects in Project Explorer.  But at the same time, project
explorer definitely shows the nested directories within the module-owner
project itself, so I wasn't sure what to expect before I did it.  I checked
in the module-owner projects anyways, even with the modules hidden from me.

At that point, I could have probably gone to each individual one of the
module projects and done a (Team > Share...) and made sure to manually
select the correct existing directory (from the ones I just checked in), but
then I would risk human error in putting them in the wrong place.  Frankly
though, the real problem here is that I'm just lazy and that would have been
a PIA b/c I'm talking about like 10 modules (JBI, what can I say).

So, I removed all my projects from eclipse, re-imported them (Import >
Existing Maven Project) and made sure to un-check "Separate Projects for
Modules."   With that done, eclipse now treated my modules like
sub-directories, and I was able to check-in as I originally expected.  Then
remove all the projects again, re-import with separate projects for modules,
and I'm back to normal.

I think some better functionality would be nice, maybe something that allows
you to use something equivalent to command-line style recursive check-in,
even when teh directories are "hidden" due to module structure.  Maybe this
is more of a problem in the SVN client, in that it doesn't notice the parent
directory has SVN metadata.

$0.02,

Pat McDonough
-- 
View this message in context: 
http://www.nabble.com/High-jinks-w--m2Eclipse%2C-Maven-modules%2C-subclipse%2C-and-svn-import-%28a.k.a.-Team-%3E-Share-Project...%29-tp22131249p22131249.html
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to