Skip to content

Commit 8f90b48

Browse files
committed
Rename API and reference doc output dirs
Prior to this change, aggregated javadoc has been written to an 'api' dir and reference docs into a 'reference' dir. This shorter naming is desirable, but is not compatible with historical naming under 3.1.x as defined by the Ant+Ivy Spring Build. For example, URLs are currently as follows: http://static.springsource.org/spring-framework/docs/3.1.3.RELEASE/javadoc-api http://static.springsource.org/spring-framework/docs/3.1.x/javadoc-api http://static.springsource.org/spring-framework/docs/current/javadoc-api Particularly with regard to the 'current' link, we do not want to break this url scheme with the shortened 'api' directory naming. Of course this compatibility can be preserved with symlinks, but this makes the release process that much more complicated and fragile. This commit ensures that the naming is 'javadoc-api' and 'spring-framework-reference', consistent with historical convention. We can always add a symlinking scheme to add the shorter 'api' and 'reference' options after the fact if desired.
1 parent 6a6b441 commit 8f90b48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -733,11 +733,11 @@ configure(rootProject) {
733733
}
734734

735735
from (api) {
736-
into "api"
736+
into "javadoc-api"
737737
}
738738

739739
from (reference) {
740-
into "reference"
740+
into "spring-framework-reference"
741741
}
742742
}
743743

0 commit comments

Comments
 (0)