Browse Source

SDK:
- add build target to update all netbeans module dependencies

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10192 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

nor..67 12 years ago
parent
commit
20245dab84
1 changed files with 9 additions and 0 deletions
  1. 9 0
      build.xml

+ 9 - 0
build.xml

@@ -22,6 +22,15 @@
     <target name="update-help-sets" description="Loads the wiki pages from the web and converts them to JavaHelp html for manual.">
         <ant antfile="build.xml" target="update-help-sets" inheritall="false" inheritrefs="false" dir="jme3-documentation/"/>
     </target>
+    
+    <target name="update-nb-dependencies" description="Updates the dependencies of all projects to the currently used platform module versions">
+        <property file="nbproject/project.properties"/>
+        <foreach target="-update-nb-dep" list="${modules}" delimiter=":" param="module_dir" inheritall="true"/>
+    </target>
+    
+    <target name="-update-nb-dep">
+        <updatenbdeps projectFile="${module_dir}/nbproject/project.xml" platformFolder="../netbeans"/>
+    </target>
 
     <target name="-create-netbeans-config">
         <!--replaces default values in jmonkeyplatform.conf file with run.args.extra from project.properties-->