Rename modules {org.springframework.*=>spring-*}

This renaming more intuitively expresses the relationship between
subprojects and the JAR artifacts they produce.

Tracking history across these renames is possible, but it requires
use of the --follow flag to `git log`, for example

    $ git log spring-aop/src/main/java/org/springframework/aop/Advisor.java

will show history up until the renaming event, where

    $ git log --follow spring-aop/src/main/java/org/springframework/aop/Advisor.java

will show history for all changes to the file, before and after the
renaming.

See http://chrisbeams.com/git-diff-across-renamed-directories
This commit is contained in:
Chris Beams
2012-01-31 14:37:10 +01:00
parent b6cb514d38
commit 02a4473c62
5671 changed files with 20 additions and 32 deletions
+20 -32
View File
@@ -1,34 +1,22 @@
rootProject.name = 'spring' rootProject.name = 'spring'
include 'org.springframework.core' include 'spring-aop'
include 'org.springframework.asm' include 'spring-asm'
include 'org.springframework.beans' include 'spring-aspects'
include 'org.springframework.aop' include 'spring-beans'
include 'org.springframework.expression' include 'spring-context'
include 'org.springframework.instrument' include 'spring-context-support'
include 'org.springframework.instrument.tomcat' include 'spring-core'
include 'org.springframework.context' include 'spring-expression'
include 'org.springframework.transaction' include 'spring-instrument'
include 'org.springframework.oxm' include 'spring-instrument-tomcat'
include 'org.springframework.jms' include 'spring-jdbc'
include 'org.springframework.jdbc' include 'spring-jms'
include 'org.springframework.context.support' include 'spring-orm'
include 'org.springframework.web' include 'spring-oxm'
include 'org.springframework.orm' include 'spring-struts'
include 'org.springframework.web.servlet' include 'spring-test'
include 'org.springframework.test' include 'spring-tx'
include 'org.springframework.web.portlet' include 'spring-web'
include 'org.springframework.web.struts' include 'spring-webmvc'
include 'org.springframework.aspects' include 'spring-webmvc-portlet'
// transform project names to maven-central artifact naming
// e.g.: org.springframework.context.support => spring-context-support
rootProject.children.each { project ->
project.name = project.name.replace('org.springframework', 'spring').replace('.', '-')
}
// special cases
project(":spring-transaction").name = 'spring-tx'
project(":spring-web-servlet").name = 'spring-webmvc'
project(":spring-web-portlet").name = 'spring-webmvc-portlet'
project(":spring-web-struts").name = 'spring-struts'

Some files were not shown because too many files have changed in this diff Show More