Parcourir la source

SDK:
- 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

nor..67 il y a 12 ans
Parent
commit
245114c801
2 fichiers modifiés avec 6 ajouts et 3 suppressions
  1. 3 3
      build.xml
  2. 3 0
      sdk/nbproject/project.properties

+ 3 - 3
build.xml

@@ -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"/>

+ 3 - 0
sdk/nbproject/project.properties

@@ -6,6 +6,9 @@ app.icon.icns=jmonkeyplatform.icns
 app.version=3.0RC2
 #version number used for plugins, only 3 numbers (e.g. 3.1.3)
 plugins.version=3.0.0
+#used netbeans platform
+netbeans.platform.url=http://download.netbeans.org/netbeans/7.2.1/final/zip/netbeans-7.2.1-201210100934-ml.zip
+#command line args
 run.args.extra=-J-Xmx512m -J-XX:PermSize=256m -J-XX:MaxDirectMemorySize=2048m
 auxiliary.org-netbeans-modules-apisupport-installer.license-file=license-jme.txt
 auxiliary.org-netbeans-modules-apisupport-installer.os-linux=true