- change build.xml for engine and sdk to new folders

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6974 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 14 years ago
parent 0dd27bda09
commit 1e7c83d126
  1. 16
      engine/build.xml
  2. 31
      sdk/build.xml

@ -72,29 +72,29 @@
</zip> </zip>
</target> </target>
<!-- convenience target to transfer jme3 libraries to jme3-gde (jMonkeyPlatform) --> <!-- convenience target to transfer jme3 libraries to sdk (jMonkeyPlatform) -->
<target name="update-gde" depends="jar, javadoc"> <target name="update-sdk" depends="jar, javadoc">
<antcall target="-do-update-gde" inheritall="true"> <antcall target="-do-update-sdk" inheritall="true">
<param name="jmp_dir" value="../jme3-gde/"/> <param name="jmp_dir" value="../sdk/"/>
</antcall> </antcall>
</target> </target>
<!-- convenience target to transfer jme3 libraries to the jme3-jmp folder on the Hudson build server (jMonkeyPlatform) --> <!-- convenience target to transfer jme3 libraries to the jme3-jmp folder on the Hudson build server (jMonkeyPlatform) -->
<target name="update-jmp-hudson"> <target name="hudson-update-sdk">
<!--update jme3 svn revision info properly--> <!--update jme3 svn revision info properly-->
<exec executable="svn" dir="."> <exec executable="svn" dir=".">
<arg value="update" /> <arg value="update" />
</exec> </exec>
<!--update jmp--> <!--update jmp-->
<antcall target="-do-update-gde" inheritall="true"> <antcall target="-do-update-sdk" inheritall="true">
<param name="jmp_dir" value="../../jme3-jmp/workspace/"/> <param name="jmp_dir" value="../sdk/"/>
</antcall> </antcall>
<!--antcall target="-create-jme3-svn-properties" inheritall="true"> <!--antcall target="-create-jme3-svn-properties" inheritall="true">
<param name="jmp_dir" value="../../jme3-jmp/workspace/"/> <param name="jmp_dir" value="../../jme3-jmp/workspace/"/>
</antcall--> </antcall-->
</target> </target>
<target name="-do-update-gde"> <target name="-do-update-sdk">
<!--clear old files--> <!--clear old files-->
<delete dir="${jmp_dir}/JME3TestsTemplate/src/"/> <delete dir="${jmp_dir}/JME3TestsTemplate/src/"/>
<delete dir="${jmp_dir}/jme3-core-baselibs/release/modules/ext/"/> <delete dir="${jmp_dir}/jme3-core-baselibs/release/modules/ext/"/>

@ -44,23 +44,17 @@
</target> </target>
<!--creates update center version via hudson build server--> <!--creates update center version via hudson build server-->
<target name="dist-gde-hudson" depends="suite.clean, -revert-svn-changes, -update-help-sets, zip-templates, -set-impl-version-hudson, suite.nbms, -unset-impl-version-hudson"> <target name="hudson-updatecenter" depends="suite.clean, -revert-svn-changes, -update-help-sets, zip-templates, set-impl-version, suite.nbms, unset-impl-version">
</target> </target>
<!--zip up mac version using command line tool--> <!--creates update center version via hudson build server-->
<target name="jmp-release-mac" depends="build-mac" description="Build Mac OS X Application and zip it"> <target name="hudson-release" depends="suite.clean, -revert-svn-changes, -update-help-sets, zip-templates, set-impl-version, build, unset-impl-version">
<exec executable="zip" dir="dist/">
<arg value="-yr"/>
<arg value="${app.release.name}-MacOSX.zip"/>
<arg value="jmonkeyplatform.app"/>
<arg value="../README.TXT"/>
</exec>
</target> </target>
<target name="set-impl-version"> <target name="set-impl-version">
<property file="nbproject/project.properties"/> <property file="nbproject/project.properties"/>
<antcall target="-create-jme3-svn-properties" inheritall="true"> <antcall target="-create-jme3-svn-properties" inheritall="true">
<param name="jme3_dir" value="../jme3/"/> <param name="jme3_dir" value="../engine/"/>
</antcall> </antcall>
<foreach target="-do-impl-version" list="${modules}" delimiter=":" param="module_dir" inheritall="true"> <foreach target="-do-impl-version" list="${modules}" delimiter=":" param="module_dir" inheritall="true">
<param name="set_impl_version" value="true"/> <param name="set_impl_version" value="true"/>
@ -74,23 +68,6 @@
</foreach> </foreach>
</target> </target>
<target name="-set-impl-version-hudson">
<property file="nbproject/project.properties"/>
<antcall target="-create-jme3-svn-properties" inheritall="true">
<param name="jme3_dir" value="../../jme3/workspace/"/>
</antcall>
<foreach target="-do-impl-version" list="${modules}" delimiter=":" param="module_dir" inheritall="true">
<param name="set_impl_version" value="true"/>
</foreach>
</target>
<target name="-unset-impl-version-hudson">
<property file="nbproject/project.properties"/>
<foreach target="-do-impl-version" list="${modules}" delimiter=":" param="module_dir" inheritall="true">
<param name="set_impl_version" value="false"/>
</foreach>
</target>
<!--sets/unsets implementation version to svn revision for plugins--> <!--sets/unsets implementation version to svn revision for plugins-->
<target name="-do-impl-version"> <target name="-do-impl-version">
<!--jme3 libraries--> <!--jme3 libraries-->

Loading…
Cancel
Save