Code Search for Developers
 
 
  

build.xml from Astrum Futura at Krugle


Show build.xml syntax highlighted

<?xml version="1.0"?>

<project name="AstrumFutura" default="dist" basedir="..">

    <property file="./build/build.properties"/>

    <!-- Set fileset for the application directory only (a test) -->
    <fileset dir="${astrum.distcodedir}" id="distcode">
        <include name="**/**"/>
        <exclude name=".svn/"/>
        <exclude name="**/.svn/"/>
    </fileset>

    <target name="prepare">
        <echo msg="Preparing for build process..."/>
        <mkdir dir="${astrum.srcdir}"/>
        <mkdir dir="${astrum.srcdir}/${astrum.distname}"/>
        <mkdir dir="${astrum.distdir}"/>
    </target>

    <target name="build" depends="prepare">
        <echo msg="Copying files to source directory..."/>
        <copy todir="${astrum.srcdir}/${astrum.distname}" overwrite="true">
            <fileset refid="distcode"/>
        </copy>
    </target>
 
    <target name="dist" depends="build">
        <echo msg="Creating archives..."/>
        <tar destfile="${astrum.distdir}/${astrum.distname}.tar.gz" compression="gzip">
            <fileset dir="${astrum.srcdir}">
                <include name="**/**"/>
            </fileset>
        </tar>
        <tar destfile="${astrum.distdir}/${astrum.distname}.tar.bz2" compression="bzip2">
            <fileset dir="${astrum.srcdir}">
                <include name="**/**"/>
            </fileset>
        </tar>
        <zip destfile="${astrum.distdir}/${astrum.distname}.zip">
            <fileset dir="${astrum.srcdir}">
                <include name="**/**"/>
            </fileset>
        </zip>
    </target>
 
    <target name="clean">
        <echo msg="Cleaning up..."/>
        <delete dir="${astrum.srcdir}" includeemptydirs="true" verbose="true" failonerror="true" />
        <delete dir="${astrum.distdir}" includeemptydirs="true" verbose="true" failonerror="true" />
    </target>

</project>



See more files for this project here

Astrum Futura

Multiplayer space strategy game written in PHP5 with the Zend Framework. User interface uses Javascript/AJAX for dynamic interaction. Players compete across a hexagonal map of 10,000 sectors, planets, stars and other locations through trade and combat.

Project homepage: http://sourceforge.net/projects/astrumfutura
Programming language(s): PHP,XML
License: other

  README
  build.properties
  build.xml