<?xml version="1.0" encoding="UTF-8"?>
<project name="DMDirc" default="default" basedir=".">
    <description>Builds, tests, and runs the project DMDirc.</description>

    <import file="nbproject/build-impl.xml"/>
    <import file="build-installer.xml"/>
    <import file="build-jar.xml"/>
    <import file="build-plugins.xml"/>
    <import file="build-reports.xml"/>
    <import file="build-tests.xml"/>
    <import file="build-versioning.xml"/>

    <target name="-post-compile" depends="-write-version, build-plugins, -addpluginlibs"/>
    <target name="-post-test-run" depends="-do-test-reports"/>
    <target name="-post-jar" depends="-addjarlibs,-update-bundled-plugins"/>

</project>

<?xml version="1.0" encoding="UTF-8"?>
<project name="DMDirc" default="default" basedir=".">
    <description>Builds, tests, and runs the project DMDirc.</description>

    <import file="nbproject/build-impl.xml"/>
    <import file="build-installer.xml"/>
    <import file="build-jar.xml"/>
    <import file="build-plugins.xml"/>
    <import file="build-reports.xml"/>
    <import file="build-tests.xml"/>
    <import file="build-versioning.xml"/>

    <target name="init-private">
        <echo>Downloading private files, if this fails please pass username and</echo>
        <echo>password to ant using -Dusername=... -Dpassword=...</echo>
        <get src="http://www.dmdirc.com/private/clover.license" dest="lib/clover.license" username="${username}" password="${password}"/>
        <get dest="installer/signing/" username="${username}" password="${password}">
            <url url="http://www.dmdirc.com/private/DMDirc.cer"/>
            <url url="http://www.dmdirc.com/private/DMDirc.pvk"/>
            <url url="http://www.dmdirc.com/private/DMDirc.spc"/>
        </get>
    </target>

    <target name="-post-compile" depends="-write-version, build-plugins, -addpluginlibs"/>
    <target name="-post-test-run" depends="-do-test-reports"/>
    <target name="-post-jar" depends="-addjarlibs,-update-bundled-plugins"/>

</project>

Add ant target to grab private files
Add ant target to grab private files

Change-Id: I4c819588faacf38b5cd255416441af649a425f7b
Reviewed-on: http://gerrit.dmdirc.com/1777
Automatic-Compile: DMDirc Local Commits <fd7610eb81751244add0a62da2de7da51cfdce47@googlemail.com>
Reviewed-by: Shane Mc Cormack <6f6e68d1df92f30cb4b3ce35260ddf94a402f33d@dmdirc.com>
