File: build.xml

package info (click to toggle)
libloader 1.1.6.dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 876 kB
  • ctags: 908
  • sloc: java: 6,457; xml: 1,669; makefile: 20
file content (44 lines) | stat: -rw-r--r-- 1,680 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!--===========================================================================
  This is the build file for the libloader project
  
  This build file will use the common_build.xml file as the default build
  process and should only override the tasks that need to differ from
  the common build file.
  
  See common_build.xml for more details
============================================================================-->
<project name="libloader" basedir="." default="jar">
	
	<description>
	  This build file is used to create the API project
		and works with the common_build.xml file.
	</description>

	<!-- Define the default location of the common build file -->
	<property name="common.build.file" value="./common_build.xml" 
		description="This is the location of the standardized common_build.xml file"/>

	<!-- Import the common_build.xml file which contains all the default tasks -->
	<import file="${common.build.file}"/>

    <!--
      AS STATED ABOVE, THE ONLY TASKS THAT SHOULD EXIST IN THIS BUILD FILE ARE
      THE TASKS THAT NEED TO DIFFER FROM THE DEFAULT IMPLEMENTATION OF THE TASKS
      FOUND IN common_build.xml.
    --> 

	<target name="dist" description="Creates all the distributable items for this project" >
		<ant antfile="${common.build.file}" target="dist" />
		
		<!-- Create the required zip distribution which contains the entire project -->
		<zip destfile="${dist.dir}/${ivy.artifact.id}-${project.revision}.zip">
			<fileset dir="${basedir}">
				<exclude name="bin/" />
				<exclude name="dist/" />
				<exclude name="eclipse-bin/" />
			</fileset>
			<zipfileset dir="${dist.dir}" includes="**/*.jar" />
		</zip>
	</target>

</project>