File: install.ant

package info (click to toggle)
eclipse-emf 2.8.3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 57,992 kB
  • ctags: 81,092
  • sloc: java: 561,060; xml: 7,553; sh: 111; makefile: 11
file content (19 lines) | stat: -rw-r--r-- 671 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<project name="Install">
	<target name="install.example.projects">
		<!-- Call the "-install.single.example.project" target for each of the example projects. -->
		<subant genericantfile="${ant.file}" target="-install.single.example.project" inheritall="true">
			<buckminster.valuepath value="${fs:example.projects}" />
		</subant>
	</target>

	<target name="-install.single.example.project">
		<basename property="project.name" file="${basedir}" />
		<property name="target.directory" location="${sp:output}/${project.name}" />

		<mkdir dir="${target.directory}" />

		<copy todir="${target.directory}">
			<fileset dir="${basedir}" />
		</copy>
	</target>
</project>