<project name="Publish Scripts" default="main" basedir=".">
<description>
This buildfile is used to publish a set of scripts to start and test bundles in my bundle farm
</description>

	<!-- Set our global properties -->
	<property file="./common.properties"/>
    
	<!-- Project specific properties -->
	<property name="project.shortname" 			value="script"/>
	<property name="project.name" 				value="Bundles scripts"/>
    
	<!-- General properties -->
	
	<target name="main" depends="publish"/>

    	<!-- Publish bundle jarfile, readme.html and sources -->
	<target name="publish">
		<tstamp>
			<format property="TODAY" pattern="MM/dd/yyyy hh:mm aa"/>
		</tstamp>
		<delete dir="${publish.dir}/${project.shortname}"/>
		<mkdir dir="${publish.dir}/${project.shortname}"/>
		<copy todir="${publish.dir}/${project.shortname}">
			<fileset dir=".">
			      <exclude name="**/common.properties"/>
			      <exclude name="**/*.local.txt"/>
			      <exclude name="**/build.publish.xml"/>
			</fileset>
		</copy>
		<echo file="LAST_UPDATE.txt">${TODAY}</echo>
	</target>
</project>
