jicarilla-sandbox/buildsystem build-basic.xml,NONE,1.1

[email protected]
Newsgroups gmane.comp.java.jicarilla.cvs
Message-ID <[email protected]>
Update of /cvsroot/jicarilla/jicarilla-sandbox/buildsystem
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31193/buildsystem

Added Files:
	build-basic.xml 
Log Message:
allow for upgrades of the basic buildfile

--- NEW FILE: build-basic.xml ---
<?xml version="1.0"?>

<project default="jar:install-snapshot" name="JBS-based build" basedir=".">
    <property file="project.properties"/>

    <target name="need-for-jbs" unless="jbs.available">
<fail>
===================================================================
BUILD SYSTEM FAILURE!
===================================================================

 The Jicarilla BuildSystem cannot be found. Try setting the jbs.home
 property in the file project.properties to the correct location
 (jbs.home is currently set to ${jbs.home}).
</fail>
    </target>

    <target name="init">
        <property name="jbs.home" value="${user.home}/.jbs"/>
        <available file="${jbs.home}/build-project.xml"
                property="jbs.available"/>

        <antcall target="need-for-jbs"/>
    </target>

    <target name="delegate" depends="init">
        <ant inheritRefs="true"
                inheritAll="true"
                target="jbs:${target}"
                antfile="${jbs.home}/build-project.xml"/>
    </target>

    <target name="compile">
        <antcall target="delegate">
            <param name="target" value="compile"/>
        </antcall>
    </target>
    <target name="test">
        <antcall target="delegate">
            <param name="target" value="test"/>
        </antcall>
    </target>
    <target name="jar">
        <antcall target="delegate">
            <param name="target" value="jar"/>
        </antcall>
    </target>
    <target name="jar:install">
        <antcall target="delegate">
            <param name="target" value="jar:install"/>
        </antcall>
    </target>
    <target name="jar:install-snapshot">
        <antcall target="delegate">
            <param name="target" value="jar:install-snapshot"/>
        </antcall>
    </target>
    <target name="dist">
        <antcall target="delegate">
            <param name="target" value="dist"/>
        </antcall>
    </target>
    <target name="reports">
        <antcall target="delegate">
            <param name="target" value="reports"/>
        </antcall>
    </target>

    <target name="upgrade-build">
        <property name="jbs.build-basic.url"
                value="http://cvs.sourceforge.net/viewcvs.py/*checkout*/jicarilla/jicarilla-sandbox/buildsystem/build-project.xml"/>
        <get src="${jbs.build-basic.url}"
                dest="build.xml"/>
    </target>
    <!-- upgrade! -->
</project>



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.