Permalink
Browse files

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
  • Loading branch information...
1 parent b6cb514 commit 02a4473c62d8240837bec297f0a1f3cb67ef8a7b @cbeams cbeams committed Jan 20, 2012
Showing 5,671 changed files with 20 additions and 32 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
View
@@ -1,34 +1,22 @@
rootProject.name = 'spring'
-include 'org.springframework.core'
-include 'org.springframework.asm'
-include 'org.springframework.beans'
-include 'org.springframework.aop'
-include 'org.springframework.expression'
-include 'org.springframework.instrument'
-include 'org.springframework.instrument.tomcat'
-include 'org.springframework.context'
-include 'org.springframework.transaction'
-include 'org.springframework.oxm'
-include 'org.springframework.jms'
-include 'org.springframework.jdbc'
-include 'org.springframework.context.support'
-include 'org.springframework.web'
-include 'org.springframework.orm'
-include 'org.springframework.web.servlet'
-include 'org.springframework.test'
-include 'org.springframework.web.portlet'
-include 'org.springframework.web.struts'
-include 'org.springframework.aspects'
-
-// 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'
+include 'spring-aop'
+include 'spring-asm'
+include 'spring-aspects'
+include 'spring-beans'
+include 'spring-context'
+include 'spring-context-support'
+include 'spring-core'
+include 'spring-expression'
+include 'spring-instrument'
+include 'spring-instrument-tomcat'
+include 'spring-jdbc'
+include 'spring-jms'
+include 'spring-orm'
+include 'spring-oxm'
+include 'spring-struts'
+include 'spring-test'
+include 'spring-tx'
+include 'spring-web'
+include 'spring-webmvc'
+include 'spring-webmvc-portlet'
Oops, something went wrong.

0 comments on commit 02a4473

Please sign in to comment.