What's the best way to use Subversive when sharing a multi-module project in Eclipse?

I am trying to transfer a multi-module Maven project (using the m2eclipse plugin) from SpringSource Tool Suite 2.0.0 to a Subversion server (Subversive plug-in for Eclipse). I found that the svn: ignore property does not propagate to submodules of the parent project: I need to right-click on the property and run "Apply recursively ...". Moreover, it will not work if the root folder of the submodule is not already in the SVN repository: first I need to register the root folder, then right-click the property and run "Apply recursively ...".

Am I missing something? Please describe a way to get rid of the problem.

PS The project has a nested structure:

PARENT
+ component A
  - module AA
  - module AB
+ component B
  - module BA
+ component C
  - module CA
  - module CB
  - module CC

      

+1


source to share


1 answer


If the Eclipse "Subversive" GUI plugin is not extended, enouggh supports the type of parameter required, maybe the command line is more efficient.

cd PARENT
ls -s | xargs svn propset -R -F ignore.txt svn:ignore 

      



This way you svn:ignore

only apply for already committed directories (and subdirectories) without having to commit the former PARENT

.

If you're on Windows a package like GnuWin32 can help (or there are several alternatives like PowerShell)

+1


source







All Articles