Project

Profile

Help

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

he / tags / 9.6.0.9 / build / build-constants.xml @ 02f8308b

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.6.0.1"/>
38
    <property name="versionh" value="9-6-0-1"/>
39
    <property name="major.version" value="9.6"/>
40
    <property name="major.versionh" value="9-6"/>
41
    <property name="release.date" value="2014-10-02"/>
42
    <property name="version.maven" value="9.6.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="development-j.dir" value="${repository}/src"/>
54
    <property name="development-data.dir" value="${development-j.dir}/he/data"/>
55
    <!--<property name="source-hej.dir" value="${repo-os}/latest9.5/hej"/>
56
    <property name="source-eej.dir" value="${repo-priv}/latest9.5/eej"/>-->
57
    <property name="source-hej.dir" value="${repo-os}/he/java"/>
58
    <property name="source-eej.dir" value="${repo-priv}/ee/java"/>
59

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

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

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

    
71
    <!-- directory in which to build the product for release -->
72
    <property name="output.dir" value="output"/>
73

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

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

    
101
    <!-- location of the archive directory -->
102
    <property name="archive.dir" value="../archive${versionh}"/>
103

    
104

    
105
    <!-- following locations are relative to the build file -->
106

    
107
    <property name="lib.dir" value="../lib"/>
108
    <property name="temp.dir" value="temp"/>
109

    
110
    <!-- following locations are relative to the destination directory -->
111

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

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

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

    
132
</project>
(1-1/9)