浏览代码

- create separate hudson platform install target, copying the file instead of downloading from googlecode

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7252 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
nor..67 14 年之前
父节点
当前提交
5d90627942
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      build.xml

+ 7 - 0
build.xml

@@ -49,6 +49,13 @@
         <ant dir="sdk" target="hudson-nightly"/>
         <ant dir="sdk" target="hudson-nightly"/>
     </target>
     </target>
 
 
+    <target name="update-platform-hudson" description="Updates the base platform to the latest available build" depends="-remove-platform">
+        <copy file="/var/www/com/platform/base/alpha/platform-base.zip" todir="./"/>
+        <unzip src="platform-base.zip" dest="./"/>
+        <antcall target="-update-sdk-platform-config"/>
+        <delete file="platform-base.zip"/>
+    </target>
+
     <target name="-check-platform" depends="-check-platform-present" unless="platform.present">
     <target name="-check-platform" depends="-check-platform-present" unless="platform.present">
         <echo message="Downloading base platform, this only has to be done once."/>
         <echo message="Downloading base platform, this only has to be done once."/>
         <get src="http://jmonkeyengine.googlecode.com/files/platform-base.zip" dest="./" skipexisting="true"/>
         <get src="http://jmonkeyengine.googlecode.com/files/platform-base.zip" dest="./" skipexisting="true"/>