HHH-8730 - uploadDocumentation task needs to stage aggregated javadocs before rsync

This commit is contained in:
Steve Ebersole 2014-01-10 13:43:19 -06:00
parent 6fb5a899bd
commit 40a8657de5
1 changed files with 5 additions and 4 deletions

View File

@ -27,8 +27,9 @@ task assembleDocumentation(type: Task, dependsOn: [rootProject.project( 'documen
description = 'Assembles all documentation into the {buildDir}/documentation directory'
doLast {
// copy docbook outputs into target/documentation (javadocs are already there). this is used in
// building the dist bundles
// copy documentation outputs into target/documentation.
// * this is used in building the dist bundles
// * it is also used as a base to build a staged directory for documentation upload
copy {
from "${rootProject.project( 'documentation' ).buildDir}/docbook/publish"
into documentationDir
@ -38,8 +39,8 @@ task assembleDocumentation(type: Task, dependsOn: [rootProject.project( 'documen
into documentationDir
}
copy {
from "${rootProject.project( 'documentation' ).buildDir}/javadoc"
into documentationDir
from "${rootProject.project( 'documentation' ).buildDir}/javadocs"
into "${documentationDir}/javadocs"
}
}
}