Project

Profile

Help

How to connect?
Download (5.36 KB) Statistics
| Branch: | Tag: | Revision:

he / tags / 9.7.0.3 / build / build-constants.xml @ cb770b3c

1
<?xml version="1.0" encoding="UTF-8"?>
2

    
3
<project basedir="." default="all" name="Saxon: The XSLT and XQuery Processor: build constants"
4
    xmlns:dn="antlib:org.apache.ant.dotnet">
5

    
6
    <!--TODO: 1: ensure saxon9api.netmodule is included in the build
7
           2: remove the archive target before shipping this file-->
8

    
9
    <!-- note : Ant 1.7 is needed for this script -->
10

    
11
    <!-- Ant 1.7 introduces a <service> element to allow META-INF/services
12
         directories to be created in JAR files. Unfortunately it is broken,
13
         see http://issues.apache.org/bugzilla/show_bug.cgi?id=41201. The relevant
14
         code here is retained in the form of comments, and can be reinstated
15
         when the bug is fixed. Meanwhile the directories are created manually -->
16

    
17
    <!-- Build file for Saxon. This builds all six for the released products:
18
         Saxon-HE, -PE, and -EE, on both the Java and .NET platforms. It also builds
19
         the released resources file. A full build requires access to Saxonica
20
         proprietary source code. The open source Saxon-HE product can be built for
21
         Java using target "hej"; but building Saxon-HE for .NET may require some
22
         disentangling of tasks that depend on Saxon-EE code being present. -->
23

    
24

    
25
    <!-- Naming conventions:
26
         -n   : .NET
27
         -j   : Java
28
         -he  : Home Edition
29
         -pe  : Professional Edition
30
         -ee  : Enterprise Edition
31
         combined as appropriate, so -pej denotes Saxon-PE on the Java platform
32
    -->
33

    
34
    <import file="build-locations.xml"/>
35
    <!-- defines $repo-os and $repo-priv and other local machine directories -->
36

    
37
    <property name="version" value="9.7.0.1"/>
38
    <property name="versionh" value="9-7-0-1"/>
39
    <property name="major.version" value="9.7"/>
40
    <property name="major.versionh" value="9-7"/>
41
    <property name="release.date" value="2015-11-27"/>
42
    <property name="version.maven" value="9.7.0-1"/>
43

    
44
    <!-- REMEMBER ALSO TO SET THE VERSION IN Version.java -->
45

    
46
    <makeurl file="${basedir}" property="baseurl"/>
47

    
48
    <!-- following locations are specific to the machine -->
49

    
50
    <!-- Java source (used for building both the Java and .NET products) -->
51

    
52
    <property name="repository" value=".."/>
53
    <property name="repository.uri" value="${basedir}/.."/>
54

    
55
    <property name="development-j.dir" value="${repository}/src"/>
56
    <property name="development-data.dir" value="${development-j.dir}/he/data"/>
57
    <property name="stats-data.dir" value="${development-j.dir}/ee/data"/>
58
    <property name="source-hej.dir" value="${repo-os}/he/java"/>
59
    <property name="source-eej.dir" value="${repo-priv}/ee/java"/>
60

    
61
    <!-- a suitable saxon license file -->
62
    <property name="saxon.license" value="${license.dir}/saxon-license.lic"
63
        description="A Saxon license capable of running EE"/>
64

    
65
    <!-- directory holding XML user documentation -->
66
    <property name="userdoc.dir" value="${repository}/userdoc"/>
67

    
68
    <!-- directories holding use cases and sample applications -->
69
    <property name="usecases.dir" value="${repository}/use-cases"/>
70
    <property name="samples.dir" value="${repository}/samples"/>
71

    
72

    
73
    <!-- following locations are relative to the build file -->
74

    
75
    <!-- directory in which to build the product for release -->
76
    <property name="output.dir" value="output"/>
77

    
78
    <condition property="product.dir" value="${output.dir}/saxon-build/${version}">
79
        <or>
80
            <os family="unix"/>
81
            <os family="mac"/>
82
        </or>
83
    </condition>
84
    <condition property="product.dir" value="${output.dir}/saxon-build/${version}">
85
        <os family="windows"/>
86
    </condition>
87
    
88
    <!-- Character used as file separator in classpaths -->
89
    <condition property="Z" value=";">
90
        <os family="windows"/>
91
    </condition>
92
    
93
    <condition property="Z" value=":">
94
        <or>
95
            <os family="unix"/>
96
            <os family="mac"/>
97
        </or>
98
    </condition>
99
    
100

    
101
    <!-- directory in which to build the issued .ZIP files -->
102
    <property name="issue.dir"
103
        value="${output.dir}/saxon-issues/saxon-issue-${release.date} (${version})"/>
104

    
105
    <!-- location of the archive directory -->
106
    <property name="archive.dir" value="../archive${versionh}"/>
107

    
108

    
109
    <property name="lib.dir" value="../lib"/>
110
    <property name="temp.dir" value="temp"/>
111

    
112
    <!-- following locations are relative to the destination directory -->
113

    
114
    <property name="build-resources.dir" value="${product.dir}/resources"/>
115

    
116
    <property name="build.debug" value="true"/>
117
    <property name="build.debuglevel" value="source,lines,vars"/>
118
    <property name="build.deprecation" value="true"/>
119
    <property name="build.optimize" value="true"/>
120
    <property name="build.compiler" value="javac1.5"/>
121
    <property name="build.compiler.source" value="1.5"/>
122
    <property name="build.compiler.target" value="1.5"/>
123
    <property name="build.compress" value="true"/>
124

    
125
    <!-- ICU locations and whether it should be in a separate JAR-->
126
    <property name="ICU.version" value="52_1" description="Version number - currently 52_1|53_1"/>
127
    <property name="ICU.dir" value="${lib.dir}/ICU/icu4j-${ICU.version}"/>
128
    <property name="icu4j.classes.dir" value="${ICU.dir}/out/module/bin"/>
129
    <property name="ICU.separate.JARS" value="true" description="Create saxon9-icu.jar"/>
130
    
131
    <!-- version of the ASM library to use -->
132
    <property name="asm.version" value="5.0.3"/>
133

    
134
</project>
(1-1/7)