OPENJPA-695 making nightly-upload profile more friendly.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693888 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Dick 2008-09-10 16:37:41 +00:00
parent a904e32728
commit b3951a1c11
1 changed files with 6 additions and 3 deletions

View File

@ -342,17 +342,20 @@
<move todir="target/site/tempDocs/docs">
<fileset dir="target/site/tempDocs/apache-openjpa-${pom.version}/docs"/>
</move>
<scp todir="${nightly.user.name}:${nightly.password}@people.apache.org:/www/openjpa.apache.org/builds/latest/downloads">
<scp todir="${nightly.user.name}:${nightly.password}@people.apache.org:/www/openjpa.apache.org/builds/latest/downloads"
trust="true">
<fileset dir="target/site/downloads"/>
</scp>
<scp todir="${nightly.user.name}:${nightly.password}@people.apache.org:/www/openjpa.apache.org/builds/latest/docs">
<scp todir="${nightly.user.name}:${nightly.password}@people.apache.org:/www/openjpa.apache.org/builds/latest/docs"
trust="true">
<fileset dir="target/site/tempDocs/docs"/>
</scp>
<sshexec host="people.apache.org"
username="${nightly.user.name}"
password="${nightly.password}"
command="chmod -R g+w /www/openjpa.apache.org/builds/latest"/>
command="chmod -R g+w /www/openjpa.apache.org/builds/latest"
trust="true"/>
<delete>
<fileset dir="target/site/tempDocs"/>
</delete>