|
@@ -10,9 +10,10 @@
|
|
<fileset dir="ant-lib/" includes="*.jar"/>
|
|
<fileset dir="ant-lib/" includes="*.jar"/>
|
|
</path>
|
|
</path>
|
|
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="ant-import.classpath"/>
|
|
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="ant-import.classpath"/>
|
|
|
|
+ <taskdef resource="com/jme/ant/ant-jme.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="gcupload" classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask" 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">
|
|
@@ -130,7 +131,7 @@
|
|
<target name="hudson-stable" depends="suite.clean, set-impl-version, suite.nbms, unset-impl-version">
|
|
<target name="hudson-stable" depends="suite.clean, set-impl-version, suite.nbms, unset-impl-version">
|
|
</target>
|
|
</target>
|
|
|
|
|
|
- <target name="hudson-release" depends="suite.clean, set-spec-version, build-installers, unset-spec-version">
|
|
|
|
|
|
+ <target name="hudson-release" depends="suite.clean, set-spec-version, build-installers, unset-spec-version, -upload-googlecode">
|
|
</target>
|
|
</target>
|
|
|
|
|
|
<target name="set-spec-version">
|
|
<target name="set-spec-version">
|
|
@@ -332,4 +333,40 @@ for coding and for managing and creating game assets.
|
|
</deb>
|
|
</deb>
|
|
</target>
|
|
</target>
|
|
|
|
|
|
|
|
+ <target name="-upload-googlecode" depends="-check-googlecode" if="googlecode.credentials.present">
|
|
|
|
+ <property file="../../googlecode.properties" prefix="googlecode"/>
|
|
|
|
+ <echo>Upload windows installer to googlecode..</echo>
|
|
|
|
+ <gcupload projectname="jmonkeyengine"
|
|
|
|
+ labels="Type-Installer OpSys-Windows jMonkeyEngine3 Featured"
|
|
|
|
+ summary="jMonkeyEngine3 SDK ${app.version} for Windows"
|
|
|
|
+ filename="dist/${app.name}-windows.exe"
|
|
|
|
+ targetfilename="jME3_SDK_${app.version}-windows.exe"
|
|
|
|
+ username="${googlecode.username}"
|
|
|
|
+ password="${googlecode.password}"
|
|
|
|
+ />
|
|
|
|
+ <echo>Upload linux installer to googlecode..</echo>
|
|
|
|
+ <gcupload projectname="jmonkeyengine"
|
|
|
|
+ labels="Type-Installer OpSys-Linux jMonkeyEngine3 Featured"
|
|
|
|
+ summary="jMonkeyEngine3 SDK ${app.version} for Linux"
|
|
|
|
+ filename="dist/${app.name}-linux.sh"
|
|
|
|
+ targetfilename="jME3_SDK_${app.version}-linux.sh"
|
|
|
|
+ username="${googlecode.username}"
|
|
|
|
+ password="${googlecode.password}"
|
|
|
|
+ />
|
|
|
|
+ <echo>Upload mac installer to googlecode..</echo>
|
|
|
|
+ <gcupload projectname="jmonkeyengine"
|
|
|
|
+ labels="Type-Installer OpSys-OSX jMonkeyEngine3 Featured"
|
|
|
|
+ summary="jMonkeyEngine3 SDK ${app.version} for MacOS X"
|
|
|
|
+ filename="dist/${app.name}-macosx.tgz"
|
|
|
|
+ targetfilename="jME3_SDK_${app.version}-macosx.tgz"
|
|
|
|
+ username="${googlecode.username}"
|
|
|
|
+ password="${googlecode.password}"
|
|
|
|
+ />
|
|
|
|
+ </target>
|
|
|
|
+
|
|
|
|
+ <target name="-check-googlecode">
|
|
|
|
+ <available file="../../googlecode.properties" property="googlecode.credentials.present"/>
|
|
|
|
+ </target>
|
|
|
|
+
|
|
|
|
+
|
|
</project>
|
|
</project>
|