Author: dennisl Date: Tue Jun 12 15:06:17 2007 New Revision: 546648 URL: http://svn.apache.org/viewvc?view=rev&rev=546648 Log: Use the correct directory for apidocs in Maven 2 builds. Fix some of the indentation.
Modified: jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh Modified: jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh?view=diff&rev=546648&r1=546647&r2=546648 ============================================================================== --- jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh (original) +++ jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh Tue Jun 12 15:06:17 2007 @@ -255,7 +255,7 @@ mvn javadoc:javadoc >> $log_location/$component.log 2>&1 # javadoc should be sitting in target/docs/apidocs/ - if [ -d target/docs/apidocs/ ] + if [ -d target/site/apidocs/ ] then if [ -d ${javadoc_location}/$component/SNAPSHOT ] then @@ -264,17 +264,17 @@ cp -r target/site/apidocs/ ${javadoc_location}/$component/SNAPSHOT fi - if [ $DIST_DEPLOY ] - then - # Deploy source and binary distro to commons nightly location - ssh [EMAIL PROTECTED] mkdir -p $deploy_location/commons-$component - scp target/commons-$component*.gz \ - [EMAIL PROTECTED]:$deploy_location/commons-$component - scp target/commons-$component*.zip \ - [EMAIL PROTECTED]:$deploy_location/commons-$component - scp target/commons-$component*.md5 \ - [EMAIL PROTECTED]:$deploy_location/commons-$component - fi + if [ $DIST_DEPLOY ] + then + # Deploy source and binary distro to commons nightly location + ssh [EMAIL PROTECTED] mkdir -p $deploy_location/commons-$component + scp target/commons-$component*.gz \ + [EMAIL PROTECTED]:$deploy_location/commons-$component + scp target/commons-$component*.zip \ + [EMAIL PROTECTED]:$deploy_location/commons-$component + scp target/commons-$component*.md5 \ + [EMAIL PROTECTED]:$deploy_location/commons-$component + fi # Deploy dated jar to maven 2 snapshot repo (configured in apache pom) if [ `ls target/commons-$component*.jar` ] # build succeeded --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]