commit
533fc8cd0e
1 changed files with 44 additions and 38 deletions
12
build.xml
12
build.xml
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue