|
|
|
|
@ -3,7 +3,9 @@
@@ -3,7 +3,9 @@
|
|
|
|
|
|
|
|
|
|
<!-- Main targets --> |
|
|
|
|
<target name="publish-documentation" depends="publish-documentation.init"> |
|
|
|
|
<sshexec host="spring02.managed.contegix.com" username="${username}" keyfile="${key.file}" passphrase="${passphrase}" |
|
|
|
|
<sshexec host="static.springframework.org" username="${username}" keyfile="${key.file}" passphrase="${passphrase}" |
|
|
|
|
command="rm -rf /opt/www/domains/springframework.org/www/htdocs/spring/docs/${bundle.version}"/> |
|
|
|
|
<sshexec host="static.springframework.org" username="${username}" keyfile="${key.file}" passphrase="${passphrase}" |
|
|
|
|
command="mkdir /opt/www/domains/springframework.org/www/htdocs/spring/docs/${bundle.version}"/> |
|
|
|
|
|
|
|
|
|
<scp remoteToDir="${username}@spring02.managed.contegix.com:/opt/www/domains/springframework.org/www/htdocs/spring/docs/${bundle.version}" |
|
|
|
|
@ -16,8 +18,8 @@
@@ -16,8 +18,8 @@
|
|
|
|
|
<fileset dir="${package.docs.dir}" /> |
|
|
|
|
</scp> |
|
|
|
|
|
|
|
|
|
<sshexec host="spring02.managed.contegix.com" username="${username}" keyfile="${key.file}" passphrase="${passphrase}" |
|
|
|
|
command="rm /opt/www/domains/springframework.org/www/htdocs/spring/docs/3.0.x ; ln -s /opt/www/domains/springframework.org/www/htdocs/spring/docs/${bundle.version} /opt/www/domains/springframework.org/www/htdocs/spring/docs/3.0.x"/> |
|
|
|
|
<sshexec host="static.springframework.org" username="${username}" keyfile="${key.file}" passphrase="${passphrase}" |
|
|
|
|
command="rm -f /opt/www/domains/springframework.org/www/htdocs/spring/docs/3.1.x ; ln -s /opt/www/domains/springframework.org/www/htdocs/spring/docs/${bundle.version} /opt/www/domains/springframework.org/www/htdocs/spring/docs/3.1.x"/> |
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
<!-- Other targets --> |
|
|
|
|
|