Project

Profile

Help

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

he / tags / 9.9.1.2 / build / build-constants.xml @ c74fd4aa

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.9.0.1"/>
38
    <property name="versionh" value="9-9-0-1"/>
39
    <property name="major.version" value="9.9"/>
40
    <property name="major.versionh" value="9-9"/>
41
    <property name="release.date" value="2018-09-27"/> <!-- yyyy-mm-dd -->
42
    <property name="version.maven" value="9.9.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
    <property name="repo-priv.uri" value="${basedir}/${repo-priv}"/>
55
    
56
    
57
    <property name="source-hej.dir" value="${repo-os}/latest${major.version}/hej"/>
58
    <property name="source-eej.dir" value="${repo-priv}/latest${major.version}/eej"/>
59
    <property name="development-data.dir" value="${source-hej.dir}/java/net/sf/saxon/data"/>
60
    <!--<property name="stats-data.dir" value="${source-eej.dir}/data"/>-->
61
    
62
    <!--<property name="development-j.dir" value="${repository}/src"/>-->
63
    <!--<property name="development-data.dir" value="${development-j.dir}/he/java/net/sf/saxon/data"/>-->
64
    <!--<property name="stats-data.dir" value="${development-j.dir}/ee/data"/>-->
65
    <!--<property name="source-hej.dir" value="${repo-os}/he/java"/>
66
    <property name="source-eej.dir" value="${repo-priv}/ee/java"/>-->
67
    
68
    <!-- a suitable saxon license file -->
69
    <property name="saxon.license" value="${license.dir}/saxon-license.lic"
70
        description="A Saxon license capable of running EE"/>
71
    
72
    <!-- directory holding XML user documentation -->
73
    <property name="userdoc.dir" value="${repo-priv}/latest${major.version}/userdoc"/>
74
    <!--<property name="userdoc.dir" value="${repository}/userdoc"/>-->
75
    
76
    <!-- Location of userdoc source -->
77
    <property name="userdoc.uri" value="${repo-priv.uri}/latest${major.version}/userdoc"
78
        description="Userdoc directory in archive repository"/>
79
    <!--<property name="userdoc.uri" value="${repository.uri}/userdoc"
80
              description="Userdoc directory in development repository"/>-->
81
    
82
    <!-- Location of viewer_app output directory -->
83
    <property name="viewer_app.dir" value="${userdoc.uri}/saxon9/viewer_appJS"
84
        description="Viewer app built in userdoc directory"/>
85
    
86
    <!-- Full URI for viewer_app output directory (supplied to stylesheets as parameter) -->
87
    <property name="viewer_app.full-uri" value="${viewer_app.dir}"
88
        description="Full URI for viewer app in userdoc directory"/>
89
    
90
    <!-- directories holding use cases and sample applications -->
91
    <property name="usecases.dir" value="${repository}/use-cases"/>
92
    <property name="samples.dir" value="${repo-os}/latest${major.version}/samples"/>
93
    <property name="samples.uri" value="${basedir}/${repo-os}/latest${major.version}/samples"/>
94
    <!--<property name="samples.dir" value="${repository}/samples"/>-->
95
    <!--<property name="samples.uri" value="${repository.uri}/samples"/>-->
96
    
97
    <!-- Location of Feature Keys Tools directory -->
98
    <property name="featureKeys.dir" value="${userdoc.dir}/tools/featureKeys"
99
        description="Feature Keys directory in archive repository"/>
100
    <!--<property name="featureKeys.dir" value="${repository}/tools/featureKeys"
101
        description="Feature Keys directory in development repository"/>-->
102
    
103
    
104
    <!-- following locations are relative to the build file -->
105
    
106
    <!-- directory in which to build the product for release -->
107
    <property name="output.dir" value="output"/>
108
    
109
    <condition property="product.dir" value="${output.dir}/saxon-build/${version}">
110
        <or>
111
            <os family="unix"/>
112
            <os family="mac"/>
113
        </or>
114
    </condition>
115
    <condition property="product.dir" value="${output.dir}/saxon-build/${version}">
116
        <os family="windows"/>
117
    </condition>
118
    
119
    <!-- Character used as file separator in classpaths -->
120
    <condition property="Z" value=";">
121
        <os family="windows"/>
122
    </condition>
123
    
124
    <condition property="Z" value=":">
125
        <or>
126
            <os family="unix"/>
127
            <os family="mac"/>
128
        </or>
129
    </condition>
130
    
131
    
132
    <!-- directory in which to build the issued .ZIP files -->
133
    <property name="issue.dir"
134
        value="${output.dir}/saxon-issues/saxon-issue-${release.date} (${version})"/>
135
    
136
    <!-- location of the archive directory -->
137
    <property name="archive.dir" value="../archive${versionh}"/>
138
    
139
    
140
    <property name="lib.dir" value="${repo-priv}/latest${major.version}/lib"/>
141
    <!--<property name="lib.dir" value="../lib"/>-->
142
    <property name="temp.dir" value="temp"/>
143
    
144
    <!-- following locations are relative to the destination directory -->
145
    
146
    <property name="build-resources.dir" value="${product.dir}/resources"/>
147
    
148
    <property name="build.debug" value="true"/>
149
    <property name="build.debuglevel" value="source,lines,vars"/>
150
    <property name="build.deprecation" value="true"/>
151
    <property name="build.optimize" value="true"/>
152
    <property name="build.compiler" value="javac1.8"/>
153
    <property name="build.compiler.source" value="1.8"/>
154
    <property name="build.compiler.target" value="1.8"/>
155
    <property name="build.compress" value="true"/>
156
    
157
    
158
    <!-- version of the ASM library to use -->
159
    <property name="asm.version" value="5.0.3"/>
160
    
161
</project>
(1-1/5)