Merge pull request #242 from Flow86/patch-240

#240 fix build.xml
This commit is contained in:
SirSengir 2012-09-11 01:54:59 -07:00
commit 533fc8cd0e

View file

@ -1,5 +1,11 @@
<project name="Buildcraft" basedir="../" default="main"> <project name="Buildcraft" basedir="../" default="main">
<taskdef resource="net/sf/antcontrib/antlib.xml">
<classpath>
<pathelement location="/usr/share/java/ant-contrib.jar"/>
<pathelement location="/usr/share/java/commons-httpclient.jar"/>
</classpath>
</taskdef>
<property environment="env" />
<!-- Properties --> <!-- Properties -->
<property name="build.dir" value="build"/> <property name="build.dir" value="build"/>
@ -19,7 +25,7 @@
<property name="mcp.version" value="72"/> <property name="mcp.version" value="72"/>
<property name="forge.version" value="4.0.0.232"/> <property name="forge.version" value="4.0.0.232"/>
<property name="bc.version" value="3.1.8"/> <property name="bc.version" value="3.1.8"/>
<property name="bc.version.full" value="${bc.version}.${BUILD_NUMBER}"/> <property name="bc.version.full" value="${bc.version}.${env.BUILD_NUMBER}"/>
<echo message="Starting build for ${bc.version.full}"/> <echo message="Starting build for ${bc.version.full}"/>
@ -35,7 +41,7 @@
<get src="http://mcp.ocean-labs.de/files/mcp${mcp.version}.zip" dest="${download.dir}" usetimestamp="True"/> <get src="http://mcp.ocean-labs.de/files/mcp${mcp.version}.zip" dest="${download.dir}" usetimestamp="True"/>
<getMethod url="http://files.minecraftforge.net/minecraftforge-src-${forge.version}.zip" <getMethod url="http://files.minecraftforge.net/minecraftforge-src-${forge.version}.zip"
dest="${download.dir}" usetimestamp="True"> responseDataFile="${download.dir}/minecraftforge-src-${forge.version}.zip">
<header name="User-Agent" value="Ant-${ant.version}/${ant.java.version}" /> <header name="User-Agent" value="Ant-${ant.version}/${ant.java.version}" />
</getMethod> </getMethod>