Subversion Repositories SmartDukaan

Rev

Rev 314 | Rev 333 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?xml version="1.0"?>
<project default="main">
    <property name="message" value="Building the ContentModel.jar file."/>
    
    <target name="main" depends="clean, compress">
        <echo>
            ${message}
        </echo>
    </target>
    
    <target name="clean">
        <delete dir="build"/>
    </target>   
    
    <target name="compress">
        <mkdir dir="build"/>
        
        <copy todir="build">
            <fileset dir="bin">
                <include name="**/*.class"/>
            </fileset>
        </copy>
    
        <jar 
            destfile="../lib/ContentModel.jar" 
            basedir="build"/>
    </target>
</project>