SirSengir/BuildCraft — pull request #257 by psxlover (2012-09-13 23:56:58+00:00)
Title: Refactored build.xml

If started with no target specified it will first check if BUILD_NUMBER was set (eg "set BUILD_NUMBER=test). If not it will use ant's buildnumber to generate one.
Then it will download mcp and forge, if needed. If it needs to download forge, it will first download and setup ant-contrib (again only if it isn't already in the downloads folder).
It will setup just like before, now changing the BUILD_NUMBER along with VERSION in version.java.
After compiling it will copy the resources, adding the full version to the mcmod.info and it will package the files.
You could also skip the downloading part (no need to though) by running it with "ant clean package".

(Note: all the lines are marked as changed because I used tabs instead of the spaces it had before)