File: build.xml

package info (click to toggle)
libxml-java 1.1.6.dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 568 kB
  • ctags: 562
  • sloc: java: 4,746; xml: 1,535; makefile: 19
file content (44 lines) | stat: -rw-r--r-- 1,690 bytes parent folder | download
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 libformula 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="libformula" basedir="." default="jar">
	
	<description>
	  This build file is used to create the libformula 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>