Browse Source

- add NBAndroid update center to Android Plugin

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8207 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
nor..67 14 years ago
parent
commit
551196629b

+ 2 - 2
jme3-android/nbproject/genfiles.properties

@@ -1,8 +1,8 @@
-build.xml.data.CRC32=018d14a3
+build.xml.data.CRC32=beeec2b2
 build.xml.script.CRC32=6461359b
 [email protected]
 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=018d14a3
+nbproject/build-impl.xml.data.CRC32=beeec2b2
 nbproject/build-impl.xml.script.CRC32=abd1e01a
 nbproject/[email protected]

+ 6 - 0
jme3-android/nbproject/project.xml

@@ -24,6 +24,12 @@
                         <specification-version>1.24</specification-version>
                     </run-dependency>
                 </dependency>
+                <dependency>
+                    <code-name-base>org.netbeans.modules.autoupdate.services</code-name-base>
+                    <run-dependency>
+                        <specification-version>1.26</specification-version>
+                    </run-dependency>
+                </dependency>
                 <dependency>
                     <code-name-base>org.netbeans.modules.java.j2seproject</code-name-base>
                     <build-prerequisite/>

+ 2 - 0
jme3-android/src/com/jme3/gde/android/Bundle.properties

@@ -1,3 +1,4 @@
+com_jme3_gde_android_update_center=http://kenai.com/projects/nbandroid/downloads/download/updatecenter/updates.xml
 jme3-android=jme3-android
 OpenIDE-Module-Display-Category=jMonkeyEngine
 OpenIDE-Module-Name=Android Support
@@ -14,3 +15,4 @@ MobileCustomizerPanel.jTextField1.toolTipText=The package name used when creatin
 MobileCustomizerPanel.jComboBox1.toolTipText=The android target platform of this project
 MobileCustomizerPanel.jButton2.toolTipText=Run the android target configuration utility
 MobileCustomizerPanel.jCheckBox1.toolTipText=Creates a "mobile" folder with an android project that is embedded in the build process
+Services/AutoupdateType/com_jme3_gde_android_update_center.instance=NBAndroid Updates

+ 11 - 0
jme3-android/src/com/jme3/gde/android/layer.xml

@@ -18,6 +18,17 @@
         </folder>
 
     </folder>
+    <folder name="Services">
+        <folder name="AutoupdateType">
+            <file name="com_jme3_gde_android_update_center.instance">
+                <attr name="displayName" bundlevalue="com.jme3.gde.android.Bundle#Services/AutoupdateType/com_jme3_gde_android_update_center.instance"/>
+                <attr name="enabled" boolvalue="true"/>
+                <attr name="instanceCreate" methodvalue="org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogFactory.createUpdateProvider"/>
+                <attr name="instanceOf" stringvalue="org.netbeans.spi.autoupdate.UpdateProvider"/>
+                <attr name="url" bundlevalue="com.jme3.gde.android.Bundle#com_jme3_gde_android_update_center"/>
+            </file>
+        </folder>
+    </folder>
     <folder name="org-netbeans-api-project-libraries">
         <folder name="Libraries">
             <file name="jme3-android.xml" url="jme3-android.xml"/>