Project

Profile

Help

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

he / latest9.5 / build / build-constants.xml @ 6717e3bc

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"/> <!-- defines $repo-os and $repo-priv -->
35
    
36
    <property name="version" value="9.5.1.4"/>
37
    <property name="versionh" value="9-5-1-4"/>
38
    <property name="version.maven" value="9.5.1-4"/>
39
    <property name="major.version" value="9.5"/>
40
    <property name="major.versionh" value="9-5"/>
41
    <property name="release.date" value="2014-01-22"/>
42
    
43
    <!-- REMEMBER ALSO TO SET THE VERSION IN Version.java -->
44
    
45
    <makeurl file="${basedir}" property="baseurl"/>
46
    
47
    <!-- following locations are specific to the machine -->
48
   
49
    <!-- Java source (used for building both the Java and .NET products) -->
50

    
51
    <property name="repository" value=".."/>
52
    <property name="development-j.dir" value="${repository}/src"/>   
53
    <property name="development-data.dir" value="${development-j.dir}/he/data"/>        
54
    <property name="source-hej.dir" value="${repo-os}/latest9.5/hej"/>
55
    <property name="source-eej.dir" value="${repo-priv}/latest9.5/eej"/> 
56
    <!--<property name="source-hej.dir" value="${repo-os}/he/java"/>
57
    <property name="source-eej.dir" value="${repo-priv}/ee/java"/>-->
58
                
59
    <!-- directory holding XML user documentation -->
60
  <property name="userdoc.dir" value="${repo-priv}/latest9.5/userdoc"/>
61
    
62
    
63
    <!-- directories holding use cases and sample applications -->
64
    <property name="usecases.dir" value="${repository}/use-cases"/>
65
    <property name="samples.dir" value="${repository}/samples"/>
66

    
67
    <!-- directory in which to build the product for release -->
68
    <property name="output.dir" value="output"/>
69
    
70
     <condition  property="product.dir" value="${output.dir}/saxon-build/${version}">
71
        <or>
72
          <os family="unix"/>
73
          <os family="mac"/>
74
        </or>
75
      </condition>
76
      <condition property="product.dir" value="${output.dir}/saxon-build/${version}">
77
        <os family="windows"/>
78
      </condition>
79
    
80
    <!-- directory in which to build the issued .ZIP files -->
81
    <property name="issue.dir" value="${output.dir}/saxon-issues/saxon-issue-${release.date} (${version})"/>
82
                
83
    <!-- location of the archive directory -->
84
    <property name="archive.dir" value="../archive${versionh}"/>
85
                    
86
    
87
    <!-- following locations are relative to the build file -->
88
        
89
    <property name="lib.dir" value="../lib"/>
90
    <property name="temp.dir" value="temp"/>
91

    
92
        <!-- following locations are relative to the destination directory -->
93
                
94
    <property name="build-resources.dir" value="${product.dir}/resources"/> 
95
 
96
    <property name="build.debug" value="true"/>
97
    <property name="build.debuglevel" value="source,lines,vars"/>
98
    <property name="build.deprecation" value="true"/>
99
    <property name="build.optimize" value="true"/>
100
    <property name="build.compiler" value="javac1.5"/>
101
    <property name="build.compiler.source" value="1.5"/>
102
    <property name="build.compiler.target" value="1.5"/>
103
    <property name="build.compress" value="false"/>
104
    
105
 
106
    
107
</project>
(1-1/7)