You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by al...@apache.org on 2013/01/08 00:52:41 UTC
svn commit: r1430094 - in /openjpa:
branches/2.2.x/openjpa-project/upload.xml trunk/openjpa-project/upload.xml
Author: allee8285
Date: Mon Jan 7 23:52:40 2013
New Revision: 1430094
URL: http://svn.apache.org/viewvc?rev=1430094&view=rev
Log:
Update nightly build documentation upload location.
Modified:
openjpa/branches/2.2.x/openjpa-project/upload.xml
openjpa/trunk/openjpa-project/upload.xml
Modified: openjpa/branches/2.2.x/openjpa-project/upload.xml
URL: http://svn.apache.org/viewvc/openjpa/branches/2.2.x/openjpa-project/upload.xml?rev=1430094&r1=1430093&r2=1430094&view=diff
==============================================================================
--- openjpa/branches/2.2.x/openjpa-project/upload.xml (original)
+++ openjpa/branches/2.2.x/openjpa-project/upload.xml Mon Jan 7 23:52:40 2013
@@ -23,7 +23,7 @@
</description>
<target name="upload">
- <property name="build.dir" value="/www/openjpa.apache.org/builds"/>
+ <property name="build.dir" value="/home/mikedd/public_html/nightly.builds"/>
<property name="host" value="people.apache.org"/>
<mkdir dir="target/site/tempDocs" />
Modified: openjpa/trunk/openjpa-project/upload.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-project/upload.xml?rev=1430094&r1=1430093&r2=1430094&view=diff
==============================================================================
--- openjpa/trunk/openjpa-project/upload.xml (original)
+++ openjpa/trunk/openjpa-project/upload.xml Mon Jan 7 23:52:40 2013
@@ -19,11 +19,11 @@
-->
<project name="upload" default="upload" basedir=".">
<description>
- Ant build file used to upload binaries to openjpa.apache.org/builds/latest.
+ Ant build file used to upload binaries to openjpa.apache.org/builds/latest.
</description>
<target name="upload">
- <property name="build.dir" value="/www/openjpa.apache.org/builds"/>
+ <property name="build.dir" value="/home/mikedd/public_html/nightly.builds"/>
<property name="host" value="people.apache.org"/>
<mkdir dir="target/site/tempDocs" />
@@ -34,19 +34,19 @@
<patternset>
<include name="**/javadoc/**" />
<include name="**/docbook/**" />
- <include name="**/schema/**"/>
+ <include name="**/schema/**"/>
</patternset>
</unzip>
-
+
<zip destfile="target/site/tempDocs/docs.zip">
<fileset dir="target/site/tempDocs">
<include name="**/javadoc/**"/>
<include name="**/docbook/**"/>
- <include name="**/schema/**"/>
+ <include name="**/schema/**"/>
<exclude name="docs/**"/>
</fileset>
</zip>
- <checksum>
+ <checksum>
<fileset dir="target/site/downloads/">
<include name="*.zip" />
</fileset>
@@ -54,7 +54,7 @@
<!-- update ${build.dir}/apache-openjpa-${project.version}/docs -->
<scp todir="${nightly.user.name}@${host}:${build.dir}" keyfile="${nightly.keyfile}" passphrase="${nightly.passphrase}" trust="true" sftp="true">
- <fileset dir="target/site/tempDocs">
+ <fileset dir="target/site/tempDocs">
<include name="docs.zip"/>
</fileset>
</scp>
@@ -68,11 +68,11 @@
<scp todir="${nightly.user.name}@${host}:${build.dir}/apache-openjpa-${project.version}/downloads" keyfile="${nightly.keyfile}" passphrase="${nightly.passphrase}" trust="true">
<fileset dir="target/site/downloads" />
</scp>
-
+
<!-- update ACLs in ${build.dir}/apache-openjpa-${project.version} -->
<sshexec host="${host}" username="${nightly.user.name}" keyfile="${nightly.keyfile}" passphrase="${nightly.passphrase}" command="find ${build.dir}/apache-openjpa-${project.version} -user ${nightly.user.name} -type d | xargs chmod 775" trust="true" />
<sshexec host="${host}" username="${nightly.user.name}" keyfile="${nightly.keyfile}" passphrase="${nightly.passphrase}" command="find ${build.dir}/apache-openjpa-${project.version} -user ${nightly.user.name} -type f | xargs chmod 664" trust="true" />
-
+
<delete>
<fileset dir="target/site/tempDocs" />
</delete>