File: common-ant-tasks-jdkdepend.ant-inc.xml

package info (click to toggle)
libgroboutils-java 5-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,396 kB
  • ctags: 11,186
  • sloc: java: 59,748; xml: 12,762; sh: 377; perl: 104; makefile: 20
file content (50 lines) | stat: -rw-r--r-- 1,693 bytes parent folder | download | duplicates (3)
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
45
46
47
48
49
50
<!-- Common properties/tasks that are shared by all projects

However, for possible overrides, these are all prefixed by
"_shared.common."

 -->
    
    <!-- JDK Dependency Checks -->

    <!-- _shared.common.depend.jdk-checker can be found in
        common-ant-tasks-init.ant-inc.xml -->
    
    <target name="_shared.common.depend.jdk.1_1"
            depends="_shared.common.depend.jdk-checker"
            unless="_shared.common.depend.has-jdk11" >
        <!-- fail - require JDK 1.1 -->
        <fail message="You must compile ${product} with a compiler that
supports JDK 1.1 or higher." />
    </target>

    
    <target name="_shared.common.depend.jdk.1_2"
            depends="_shared.common.depend.jdk-checker,
                _shared.common.depend.jdk.1_1"
            unless="_shared.common.depend.has-jdk12" >
        <!-- fail - require JDK 1.2 -->
        <fail message="You must compile ${product} with a compiler that
supports JDK 1.2 or higher." />
    </target>

    
    <target name="_shared.common.depend.jdk.1_3"
            depends="_shared.common.depend.jdk-checker,
                _shared.common.depend.jdk.1_2"
            unless="_shared.common.depend.has-jdk13" >
        <!-- fail - require JDK 1.3 -->
        <fail message="You must compile ${product} with a compiler that
supports JDK 1.3 or higher." />
    </target>

     
    <target name="_shared.common.depend.jdk.1_4"
            depends="_shared.common.depend.jdk-checker,
                _shared.common.depend.jdk.1_3"
            unless="_shared.common.depend.has-jdk14">
        <fail message="You must compile ${product} with a compiler that
supports JDK 1.4 or higher." />
    </target>