Thanks Fritz!  I managed to backfill 2.4.x - 2.7.x with your help:

https://jclouds.apache.org/reference/javadoc/

On Mon, Feb 10, 2025 at 06:35:08PM +0100, Fritz Elfert wrote:
> On 10.02.25 17:06, Andrew Gaul wrote:
> > This is yet more bitrot and something that never worked for me:
> > 
> > $ ./deploy-javadoc.sh 2.7.0
> > ...
> > ./deploy-javadoc.sh: line 42: cd: 
> > /home/gaul/work/jclouds-site/site-content: No such file or directory
> 
> Hmm, looks like the "$DIR/" before the site-content in line 42 does not 
> belong there. Otherwise
> the 5 lines before (with the svn checkout) would not make sense at all.
> 
> Try the attached patch.
> 
> Cheers
>  -Fritz
> 
> 

> diff --git a/deploy-javadoc.sh b/deploy-javadoc.sh
> index 989c9eb..66e36aa 100755
> --- a/deploy-javadoc.sh
> +++ b/deploy-javadoc.sh
> @@ -39,7 +39,7 @@ if [ ! -d "site-content" ]; then
>  else
>    svn up site-content
>  fi
> -cd $DIR/site-content
> +cd site-content
>  
>  mkdir -p reference/javadoc/$JCLOUDS_VERSION_X/
>  rsync -r --ignore-times $TMPDIR/jclouds/target/site/apidocs/ 
> reference/javadoc/$JCLOUDS_VERSION_X/

-- 
Andrew Gaul
http://gaul.org/

Reply via email to