- add custom ant task to update plugin dependencies automatically

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8783 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
nor..67 2011-11-23 02:18:03 +00:00
parent 88accad722
commit 8fa4a3a59b
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -12,6 +12,7 @@
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="ant-import.classpath"/> <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="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 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--> <!--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"> <target name="branding" depends="-create-netbeans-config, -set-base-version, -zip-templates, suite.branding">
@ -104,6 +105,7 @@
comment="Updated by build script"> comment="Updated by build script">
<entry key="spec.version.base" value="${plugins.version}" /> <entry key="spec.version.base" value="${plugins.version}" />
</propertyfile--> </propertyfile-->
<updatesdkdeps projectfile="${module_dir}/nbproject/project.xml" version="${plugins.version}"/>
<replaceregexp file="${module_dir}/nbproject/project.properties" <replaceregexp file="${module_dir}/nbproject/project.properties"
match="spec.version.base=(.*)" match="spec.version.base=(.*)"
replace="spec.version.base=${plugins.version}" replace="spec.version.base=${plugins.version}"