Browse Source

- add custom ant task to update plugin dependencies automatically

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8783 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
nor..67 13 years ago
parent
commit
78c8fc651b
2 changed files with 2 additions and 0 deletions
  1. BIN
      ant-lib/ant-jme.jar
  2. 2 0
      build.xml

BIN
ant-lib/ant-jme.jar


+ 2 - 0
build.xml

@@ -12,6 +12,7 @@
     <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="ant-import.classpath"/>
     <taskdef name="deb" classname="com.googlecode.ant_deb_task.Deb" classpathref="ant-import.classpath"/>
     <taskdef name="desktopentry" classname="com.googlecode.ant_deb_task.DesktopEntry" classpathref="ant-import.classpath"/>
+    <taskdef resource="com/jme/ant/ant-jme.properties" classpath="ant-lib/ant-jme.jar"/>
 
     <!--override branding target to include netbeans config file creation, using this target makes sure init was called-->
     <target name="branding" depends="-create-netbeans-config, -set-base-version, -zip-templates, suite.branding">
@@ -104,6 +105,7 @@
             comment="Updated by build script">
             <entry key="spec.version.base" value="${plugins.version}" />
         </propertyfile-->
+        <updatesdkdeps projectfile="${module_dir}/nbproject/project.xml" version="${plugins.version}"/>
         <replaceregexp file="${module_dir}/nbproject/project.properties"
                         match="spec.version.base=(.*)"
                         replace="spec.version.base=${plugins.version}"