<project name="RepositoryBMG" basedir="../" default="all">
	<property name="distpath.project" value="/outputRepository" />
    <property name="project.distname" value="RepositoryWs"/>

    <!-- Remove classes directory for clean build -->
	<target name="clean" description="Prepare for clean build">
		<delete dir="/outputRepository"/>
	</target>

    <!-- Create binary distribution -->
    <target name="dist" description="Create binary distribution">
     	<mkdir dir="${distpath.project}"/>
 		<war basedir="../" webxml="web.xml" warfile="${distpath.project}/${project.distname}.war" />
    </target>

	

    <!-- Build project and create distribution-->
	<target name="all" depends="clean,dist"/>
	
</project>
