- update build script to download netbeans base from netbeans servers

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10151 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
nor..67
2013-01-25 14:00:46 +00:00
parent a043ac4ebb
commit 245114c801
2 changed files with 6 additions and 3 deletions
+3 -3
View File
@@ -12,7 +12,7 @@
<target name="default" depends="zip"/>
<target name="build" description="Builds the complete GDE, copies over engine libraries." depends="-check-platform, -update-sdk-platform-config">
<target name="build" description="Builds the complete SDK, copies over engine libraries." depends="-check-platform, -update-sdk-platform-config">
<ant dir="engine" target="update-sdk"/>
<ant dir="sdk" target="build"/>
</target>
@@ -36,7 +36,7 @@
<target name="zip" description="Builds the complete SDK and packs it as a ZIP file" depends="build">
<propertyfile file="sdk/nbproject/project.properties"/>
<move file="sdk/dist/${app.name}.zip" tofile="./jMonkeyEngine-GDE-${app.version}.zip"/>
<move file="sdk/dist/${app.name}.zip" tofile="./jMonkeyEngine-SDK-${app.version}-NoBundles.zip"/>
</target>
<target name="update-platform" description="Updates the base platform to the latest available build" depends="-remove-platform,-check-platform"/>
@@ -44,7 +44,7 @@
<target name="-check-platform" depends="-check-platform-present" unless="platform.present">
<property file="sdk/nbproject/project.properties"/>
<echo message="Downloading base platform, this only has to be done once."/>
<get src="http://direct.jmonkeyengine.com/updates/nightly/${app.version}/platform-base.zip" dest="./" skipexisting="false"/>
<get src="${netbeans.platform.url}" dest="./platform-base.zip" skipexisting="false"/>
<unzip src="platform-base.zip" dest="./"/>
<antcall target="-update-sdk-platform-config"/>
<delete file="platform-base.zip"/>