Source

propertyset / ant / resources-plugin.xml

Full commit
<project name="resources-plugin">
<!-- **********************************************************************
		INPUTS
		resources.output.dir - the directory to copy resources to, defaults to ${project.build.output.dir}
		resources.test.output.dir - the directory to copy resources to, defaults to ${project.build.test.output.dir}
		
		help.detail
		help.indent.size
		help.line.length
		help.goal - if provided displays help for the specified goal, otherwise displays help for all goals

		
     ********************************************************************** -->

	<property name="resources.output.dir" value="${project.build.output.dir}"/>
	<property name="resources.test.output.dir" value="${project.build.test.output.dir}"/>

	<!-- copies resources from main source to main output directory, optionally filtering on copy -->
	<target name="resources:resources">
		<mkdir dir="${project.build.output.dir}" />
		
		<copy todir="${project.build.output.dir}">
			<fileset dir="${project.build.resource.dir}">
				<include name="**/*.*" />
			</fileset>
		</copy>
	</target>

	<!-- copies resources from test source to test output directory, optionally filtering on copy -->
	<target name="resources:test-resources">
		<mkdir dir="${project.build.test.output.dir}" />

		<copy todir="${project.build.test.output.dir}">
			<fileset dir="${project.build.test.resource.dir}">
				<include name="**/*.*" />
			</fileset>
		</copy>
	</target>

	<target name="resources:help">
	</target>
	
</project>