author | František Kučera <franta-hg@frantovo.cz> |
Sun, 17 May 2015 00:27:56 +0200 | |
branch | v_0 |
changeset 192 | a32bfcbdee51 |
parent 188 | 54bacc7ed42b |
child 231 | 71439ecbe71f |
permissions | -rw-r--r-- |
187
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
2 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
3 |
*** GENERATED FROM project.xml - DO NOT EDIT *** |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
4 |
*** EDIT ../build.xml INSTEAD *** |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
5 |
|
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
6 |
For the purpose of easier reading the script |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
7 |
is divided into following sections: |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
8 |
|
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
9 |
- initialization |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
10 |
- compilation |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
11 |
- jar |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
12 |
- execution |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
13 |
- debugging |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
14 |
- javadoc |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
15 |
- test compilation |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
16 |
- test execution |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
17 |
- test debugging |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
18 |
- applet |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
19 |
- cleanup |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
20 |
|
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
21 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
22 |
<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="jdbc-dk-driver-impl"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
23 |
<fail message="Please build using Ant 1.8.0 or higher."> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
24 |
<condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
25 |
<not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
26 |
<antversion atleast="1.8.0"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
27 |
</not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
28 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
29 |
</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
30 |
<target depends="test,jar,javadoc" description="Build and test whole project." name="default"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
31 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
32 |
====================== |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
33 |
INITIALIZATION SECTION |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
34 |
====================== |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
35 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
36 |
<target name="-pre-init"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
37 |
<!-- Empty placeholder for easier customization. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
38 |
<!-- You can override this target in the ../build.xml file. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
39 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
40 |
<target depends="-pre-init" name="-init-private"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
41 |
<property file="nbproject/private/config.properties"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
42 |
<property file="nbproject/private/configs/${config}.properties"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
43 |
<property file="nbproject/private/private.properties"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
44 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
45 |
<target depends="-pre-init,-init-private" name="-init-user"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
46 |
<property file="${user.properties.file}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
47 |
<!-- The two properties below are usually overridden --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
48 |
<!-- by the active platform. Just a fallback. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
49 |
<property name="default.javac.source" value="1.4"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
50 |
<property name="default.javac.target" value="1.4"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
51 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
52 |
<target depends="-pre-init,-init-private,-init-user" name="-init-project"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
53 |
<property file="nbproject/configs/${config}.properties"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
54 |
<property file="nbproject/project.properties"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
55 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
56 |
<target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
57 |
<property name="platform.java" value="${java.home}/bin/java"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
58 |
<available file="${manifest.file}" property="manifest.available"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
59 |
<condition property="splashscreen.available"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
60 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
61 |
<not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
62 |
<equals arg1="${application.splash}" arg2="" trim="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
63 |
</not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
64 |
<available file="${application.splash}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
65 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
66 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
67 |
<condition property="main.class.available"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
68 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
69 |
<isset property="main.class"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
70 |
<not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
71 |
<equals arg1="${main.class}" arg2="" trim="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
72 |
</not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
73 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
74 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
75 |
<condition property="profile.available"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
76 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
77 |
<isset property="javac.profile"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
78 |
<length length="0" string="${javac.profile}" when="greater"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
79 |
<matches pattern="1\.[89](\..*)?" string="${javac.source}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
80 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
81 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
82 |
<condition property="do.archive"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
83 |
<or> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
84 |
<not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
85 |
<istrue value="${jar.archive.disabled}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
86 |
</not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
87 |
<istrue value="${not.archive.disabled}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
88 |
</or> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
89 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
90 |
<condition property="do.mkdist"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
91 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
92 |
<isset property="do.archive"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
93 |
<isset property="libs.CopyLibs.classpath"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
94 |
<not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
95 |
<istrue value="${mkdist.disabled}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
96 |
</not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
97 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
98 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
99 |
<condition property="do.archive+manifest.available"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
100 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
101 |
<isset property="manifest.available"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
102 |
<istrue value="${do.archive}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
103 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
104 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
105 |
<condition property="do.archive+main.class.available"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
106 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
107 |
<isset property="main.class.available"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
108 |
<istrue value="${do.archive}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
109 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
110 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
111 |
<condition property="do.archive+splashscreen.available"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
112 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
113 |
<isset property="splashscreen.available"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
114 |
<istrue value="${do.archive}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
115 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
116 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
117 |
<condition property="do.archive+profile.available"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
118 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
119 |
<isset property="profile.available"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
120 |
<istrue value="${do.archive}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
121 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
122 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
123 |
<condition property="have.tests"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
124 |
<or> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
125 |
<available file="${test.src.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
126 |
</or> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
127 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
128 |
<condition property="have.sources"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
129 |
<or> |
192
a32bfcbdee51
jdbc-dk-driver: first working version
František Kučera <franta-hg@frantovo.cz>
parents:
188
diff
changeset
|
130 |
<available file="${src.conf.dir}"/> |
187
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
131 |
<available file="${src.dir}"/> |
188
54bacc7ed42b
jdbc-dk-driver: include main project sources
František Kučera <franta-hg@frantovo.cz>
parents:
187
diff
changeset
|
132 |
<available file="${src.sql-dk.dir}"/> |
187
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
133 |
</or> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
134 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
135 |
<condition property="netbeans.home+have.tests"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
136 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
137 |
<isset property="netbeans.home"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
138 |
<isset property="have.tests"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
139 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
140 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
141 |
<condition property="no.javadoc.preview"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
142 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
143 |
<isset property="javadoc.preview"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
144 |
<isfalse value="${javadoc.preview}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
145 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
146 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
147 |
<property name="run.jvmargs" value=""/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
148 |
<property name="run.jvmargs.ide" value=""/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
149 |
<property name="javac.compilerargs" value=""/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
150 |
<property name="work.dir" value="${basedir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
151 |
<condition property="no.deps"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
152 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
153 |
<istrue value="${no.dependencies}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
154 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
155 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
156 |
<property name="javac.debug" value="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
157 |
<property name="javadoc.preview" value="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
158 |
<property name="application.args" value=""/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
159 |
<property name="source.encoding" value="${file.encoding}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
160 |
<property name="runtime.encoding" value="${source.encoding}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
161 |
<condition property="javadoc.encoding.used" value="${javadoc.encoding}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
162 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
163 |
<isset property="javadoc.encoding"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
164 |
<not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
165 |
<equals arg1="${javadoc.encoding}" arg2=""/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
166 |
</not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
167 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
168 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
169 |
<property name="javadoc.encoding.used" value="${source.encoding}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
170 |
<property name="includes" value="**"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
171 |
<property name="excludes" value=""/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
172 |
<property name="do.depend" value="false"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
173 |
<condition property="do.depend.true"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
174 |
<istrue value="${do.depend}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
175 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
176 |
<path id="endorsed.classpath.path" path="${endorsed.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
177 |
<condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
178 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
179 |
<isset property="endorsed.classpath"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
180 |
<not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
181 |
<equals arg1="${endorsed.classpath}" arg2="" trim="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
182 |
</not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
183 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
184 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
185 |
<condition else="" property="javac.profile.cmd.line.arg" value="-profile ${javac.profile}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
186 |
<isset property="profile.available"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
187 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
188 |
<condition else="false" property="jdkBug6558476"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
189 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
190 |
<matches pattern="1\.[56]" string="${java.specification.version}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
191 |
<not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
192 |
<os family="unix"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
193 |
</not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
194 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
195 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
196 |
<property name="javac.fork" value="${jdkBug6558476}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
197 |
<property name="jar.index" value="false"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
198 |
<property name="jar.index.metainf" value="${jar.index}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
199 |
<property name="copylibs.rebase" value="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
200 |
<available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
201 |
<condition property="junit.available"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
202 |
<or> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
203 |
<available classname="org.junit.Test" classpath="${run.test.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
204 |
<available classname="junit.framework.Test" classpath="${run.test.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
205 |
</or> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
206 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
207 |
<condition property="testng.available"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
208 |
<available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
209 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
210 |
<condition property="junit+testng.available"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
211 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
212 |
<istrue value="${junit.available}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
213 |
<istrue value="${testng.available}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
214 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
215 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
216 |
<condition else="testng" property="testng.mode" value="mixed"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
217 |
<istrue value="${junit+testng.available}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
218 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
219 |
<condition else="" property="testng.debug.mode" value="-mixed"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
220 |
<istrue value="${junit+testng.available}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
221 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
222 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
223 |
<target name="-post-init"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
224 |
<!-- Empty placeholder for easier customization. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
225 |
<!-- You can override this target in the ../build.xml file. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
226 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
227 |
<target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check"> |
192
a32bfcbdee51
jdbc-dk-driver: first working version
František Kučera <franta-hg@frantovo.cz>
parents:
188
diff
changeset
|
228 |
<fail unless="src.conf.dir">Must set src.conf.dir</fail> |
187
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
229 |
<fail unless="src.dir">Must set src.dir</fail> |
188
54bacc7ed42b
jdbc-dk-driver: include main project sources
František Kučera <franta-hg@frantovo.cz>
parents:
187
diff
changeset
|
230 |
<fail unless="src.sql-dk.dir">Must set src.sql-dk.dir</fail> |
187
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
231 |
<fail unless="test.src.dir">Must set test.src.dir</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
232 |
<fail unless="build.dir">Must set build.dir</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
233 |
<fail unless="dist.dir">Must set dist.dir</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
234 |
<fail unless="build.classes.dir">Must set build.classes.dir</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
235 |
<fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
236 |
<fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
237 |
<fail unless="build.test.results.dir">Must set build.test.results.dir</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
238 |
<fail unless="build.classes.excludes">Must set build.classes.excludes</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
239 |
<fail unless="dist.jar">Must set dist.jar</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
240 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
241 |
<target name="-init-macrodef-property"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
242 |
<macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
243 |
<attribute name="name"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
244 |
<attribute name="value"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
245 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
246 |
<property name="@{name}" value="${@{value}}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
247 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
248 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
249 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
250 |
<target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
251 |
<macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3"> |
192
a32bfcbdee51
jdbc-dk-driver: first working version
František Kučera <franta-hg@frantovo.cz>
parents:
188
diff
changeset
|
252 |
<attribute default="${src.conf.dir}:${src.dir}:${src.sql-dk.dir}" name="srcdir"/> |
187
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
253 |
<attribute default="${build.classes.dir}" name="destdir"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
254 |
<attribute default="${javac.classpath}" name="classpath"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
255 |
<attribute default="${javac.processorpath}" name="processorpath"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
256 |
<attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
257 |
<attribute default="${includes}" name="includes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
258 |
<attribute default="${excludes}" name="excludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
259 |
<attribute default="${javac.debug}" name="debug"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
260 |
<attribute default="${empty.dir}" name="sourcepath"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
261 |
<attribute default="${empty.dir}" name="gensrcdir"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
262 |
<element name="customize" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
263 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
264 |
<property location="${build.dir}/empty" name="empty.dir"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
265 |
<mkdir dir="${empty.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
266 |
<mkdir dir="@{apgeneratedsrcdir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
267 |
<javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
268 |
<src> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
269 |
<dirset dir="@{gensrcdir}" erroronmissingdir="false"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
270 |
<include name="*"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
271 |
</dirset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
272 |
</src> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
273 |
<classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
274 |
<path path="@{classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
275 |
</classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
276 |
<compilerarg line="${endorsed.classpath.cmd.line.arg}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
277 |
<compilerarg line="${javac.profile.cmd.line.arg}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
278 |
<compilerarg line="${javac.compilerargs}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
279 |
<compilerarg value="-processorpath"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
280 |
<compilerarg path="@{processorpath}:${empty.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
281 |
<compilerarg line="${ap.processors.internal}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
282 |
<compilerarg line="${annotation.processing.processor.options}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
283 |
<compilerarg value="-s"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
284 |
<compilerarg path="@{apgeneratedsrcdir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
285 |
<compilerarg line="${ap.proc.none.internal}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
286 |
<customize/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
287 |
</javac> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
288 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
289 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
290 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
291 |
<target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
292 |
<macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3"> |
192
a32bfcbdee51
jdbc-dk-driver: first working version
František Kučera <franta-hg@frantovo.cz>
parents:
188
diff
changeset
|
293 |
<attribute default="${src.conf.dir}:${src.dir}:${src.sql-dk.dir}" name="srcdir"/> |
187
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
294 |
<attribute default="${build.classes.dir}" name="destdir"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
295 |
<attribute default="${javac.classpath}" name="classpath"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
296 |
<attribute default="${javac.processorpath}" name="processorpath"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
297 |
<attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
298 |
<attribute default="${includes}" name="includes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
299 |
<attribute default="${excludes}" name="excludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
300 |
<attribute default="${javac.debug}" name="debug"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
301 |
<attribute default="${empty.dir}" name="sourcepath"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
302 |
<attribute default="${empty.dir}" name="gensrcdir"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
303 |
<element name="customize" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
304 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
305 |
<property location="${build.dir}/empty" name="empty.dir"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
306 |
<mkdir dir="${empty.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
307 |
<javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
308 |
<src> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
309 |
<dirset dir="@{gensrcdir}" erroronmissingdir="false"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
310 |
<include name="*"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
311 |
</dirset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
312 |
</src> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
313 |
<classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
314 |
<path path="@{classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
315 |
</classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
316 |
<compilerarg line="${endorsed.classpath.cmd.line.arg}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
317 |
<compilerarg line="${javac.profile.cmd.line.arg}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
318 |
<compilerarg line="${javac.compilerargs}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
319 |
<customize/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
320 |
</javac> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
321 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
322 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
323 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
324 |
<target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
325 |
<macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3"> |
192
a32bfcbdee51
jdbc-dk-driver: first working version
František Kučera <franta-hg@frantovo.cz>
parents:
188
diff
changeset
|
326 |
<attribute default="${src.conf.dir}:${src.dir}:${src.sql-dk.dir}" name="srcdir"/> |
187
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
327 |
<attribute default="${build.classes.dir}" name="destdir"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
328 |
<attribute default="${javac.classpath}" name="classpath"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
329 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
330 |
<depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
331 |
<classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
332 |
<path path="@{classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
333 |
</classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
334 |
</depend> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
335 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
336 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
337 |
<macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
338 |
<attribute default="${build.classes.dir}" name="destdir"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
339 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
340 |
<fail unless="javac.includes">Must set javac.includes</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
341 |
<pathconvert pathsep="${line.separator}" property="javac.includes.binary"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
342 |
<path> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
343 |
<filelist dir="@{destdir}" files="${javac.includes}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
344 |
</path> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
345 |
<globmapper from="*.java" to="*.class"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
346 |
</pathconvert> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
347 |
<tempfile deleteonexit="true" property="javac.includesfile.binary"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
348 |
<echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
349 |
<delete> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
350 |
<files includesfile="${javac.includesfile.binary}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
351 |
</delete> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
352 |
<delete> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
353 |
<fileset file="${javac.includesfile.binary}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
354 |
</delete> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
355 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
356 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
357 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
358 |
<target if="${junit.available}" name="-init-macrodef-junit-init"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
359 |
<condition else="false" property="nb.junit.batch" value="true"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
360 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
361 |
<istrue value="${junit.available}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
362 |
<not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
363 |
<isset property="test.method"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
364 |
</not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
365 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
366 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
367 |
<condition else="false" property="nb.junit.single" value="true"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
368 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
369 |
<istrue value="${junit.available}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
370 |
<isset property="test.method"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
371 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
372 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
373 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
374 |
<target name="-init-test-properties"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
375 |
<property name="test.binaryincludes" value="<nothing>"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
376 |
<property name="test.binarytestincludes" value=""/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
377 |
<property name="test.binaryexcludes" value=""/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
378 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
379 |
<target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
380 |
<macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
381 |
<attribute default="${includes}" name="includes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
382 |
<attribute default="${excludes}" name="excludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
383 |
<attribute default="**" name="testincludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
384 |
<attribute default="" name="testmethods"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
385 |
<element name="customize" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
386 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
387 |
<property name="junit.forkmode" value="perTest"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
388 |
<junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
389 |
<test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
390 |
<syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
391 |
<propertyref prefix="test-sys-prop."/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
392 |
<mapper from="test-sys-prop.*" to="*" type="glob"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
393 |
</syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
394 |
<formatter type="brief" usefile="false"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
395 |
<formatter type="xml"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
396 |
<jvmarg value="-ea"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
397 |
<customize/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
398 |
</junit> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
399 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
400 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
401 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
402 |
<target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
403 |
<macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
404 |
<attribute default="${includes}" name="includes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
405 |
<attribute default="${excludes}" name="excludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
406 |
<attribute default="**" name="testincludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
407 |
<attribute default="" name="testmethods"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
408 |
<element name="customize" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
409 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
410 |
<property name="junit.forkmode" value="perTest"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
411 |
<junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
412 |
<batchtest todir="${build.test.results.dir}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
413 |
<fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
414 |
<filename name="@{testincludes}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
415 |
</fileset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
416 |
<fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
417 |
<filename name="${test.binarytestincludes}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
418 |
</fileset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
419 |
</batchtest> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
420 |
<syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
421 |
<propertyref prefix="test-sys-prop."/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
422 |
<mapper from="test-sys-prop.*" to="*" type="glob"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
423 |
</syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
424 |
<formatter type="brief" usefile="false"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
425 |
<formatter type="xml"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
426 |
<jvmarg value="-ea"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
427 |
<customize/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
428 |
</junit> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
429 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
430 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
431 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
432 |
<target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
433 |
<target if="${testng.available}" name="-init-macrodef-testng"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
434 |
<macrodef name="testng" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
435 |
<attribute default="${includes}" name="includes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
436 |
<attribute default="${excludes}" name="excludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
437 |
<attribute default="**" name="testincludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
438 |
<attribute default="" name="testmethods"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
439 |
<element name="customize" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
440 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
441 |
<condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
442 |
<isset property="test.method"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
443 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
444 |
<union id="test.set"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
445 |
<fileset dir="${test.src.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
446 |
<filename name="@{testincludes}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
447 |
</fileset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
448 |
</union> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
449 |
<taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
450 |
<testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="jdbc-dk-driver" testname="TestNG tests" workingDir="${work.dir}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
451 |
<xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
452 |
<propertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
453 |
<propertyref prefix="test-sys-prop."/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
454 |
<mapper from="test-sys-prop.*" to="*" type="glob"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
455 |
</propertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
456 |
<customize/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
457 |
</testng> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
458 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
459 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
460 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
461 |
<target name="-init-macrodef-test-impl"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
462 |
<macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
463 |
<attribute default="${includes}" name="includes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
464 |
<attribute default="${excludes}" name="excludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
465 |
<attribute default="**" name="testincludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
466 |
<attribute default="" name="testmethods"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
467 |
<element implicit="true" name="customize" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
468 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
469 |
<echo>No tests executed.</echo> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
470 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
471 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
472 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
473 |
<target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
474 |
<macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
475 |
<attribute default="${includes}" name="includes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
476 |
<attribute default="${excludes}" name="excludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
477 |
<attribute default="**" name="testincludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
478 |
<attribute default="" name="testmethods"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
479 |
<element implicit="true" name="customize" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
480 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
481 |
<j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
482 |
<customize/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
483 |
</j2seproject3:junit> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
484 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
485 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
486 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
487 |
<target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
488 |
<macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
489 |
<attribute default="${includes}" name="includes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
490 |
<attribute default="${excludes}" name="excludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
491 |
<attribute default="**" name="testincludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
492 |
<attribute default="" name="testmethods"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
493 |
<element implicit="true" name="customize" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
494 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
495 |
<j2seproject3:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
496 |
<customize/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
497 |
</j2seproject3:testng> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
498 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
499 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
500 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
501 |
<target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
502 |
<macrodef name="test" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
503 |
<attribute default="${includes}" name="includes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
504 |
<attribute default="${excludes}" name="excludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
505 |
<attribute default="**" name="testincludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
506 |
<attribute default="" name="testmethods"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
507 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
508 |
<j2seproject3:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
509 |
<customize> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
510 |
<classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
511 |
<path path="${run.test.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
512 |
</classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
513 |
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
514 |
<jvmarg line="${run.jvmargs}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
515 |
<jvmarg line="${run.jvmargs.ide}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
516 |
</customize> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
517 |
</j2seproject3:test-impl> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
518 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
519 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
520 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
521 |
<target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
522 |
<macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
523 |
<attribute default="${includes}" name="includes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
524 |
<attribute default="${excludes}" name="excludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
525 |
<attribute default="**" name="testincludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
526 |
<attribute default="" name="testmethods"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
527 |
<element name="customize" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
528 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
529 |
<property name="junit.forkmode" value="perTest"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
530 |
<junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
531 |
<test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
532 |
<syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
533 |
<propertyref prefix="test-sys-prop."/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
534 |
<mapper from="test-sys-prop.*" to="*" type="glob"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
535 |
</syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
536 |
<formatter type="brief" usefile="false"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
537 |
<formatter type="xml"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
538 |
<jvmarg value="-ea"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
539 |
<jvmarg line="${debug-args-line}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
540 |
<jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
541 |
<customize/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
542 |
</junit> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
543 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
544 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
545 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
546 |
<target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
547 |
<macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
548 |
<attribute default="${includes}" name="includes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
549 |
<attribute default="${excludes}" name="excludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
550 |
<attribute default="**" name="testincludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
551 |
<attribute default="" name="testmethods"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
552 |
<element name="customize" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
553 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
554 |
<property name="junit.forkmode" value="perTest"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
555 |
<junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
556 |
<batchtest todir="${build.test.results.dir}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
557 |
<fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
558 |
<filename name="@{testincludes}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
559 |
</fileset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
560 |
<fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
561 |
<filename name="${test.binarytestincludes}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
562 |
</fileset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
563 |
</batchtest> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
564 |
<syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
565 |
<propertyref prefix="test-sys-prop."/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
566 |
<mapper from="test-sys-prop.*" to="*" type="glob"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
567 |
</syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
568 |
<formatter type="brief" usefile="false"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
569 |
<formatter type="xml"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
570 |
<jvmarg value="-ea"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
571 |
<jvmarg line="${debug-args-line}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
572 |
<jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
573 |
<customize/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
574 |
</junit> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
575 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
576 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
577 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
578 |
<target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
579 |
<macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
580 |
<attribute default="${includes}" name="includes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
581 |
<attribute default="${excludes}" name="excludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
582 |
<attribute default="**" name="testincludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
583 |
<attribute default="" name="testmethods"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
584 |
<element implicit="true" name="customize" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
585 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
586 |
<j2seproject3:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
587 |
<customize/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
588 |
</j2seproject3:junit-debug> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
589 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
590 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
591 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
592 |
<target if="${testng.available}" name="-init-macrodef-testng-debug"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
593 |
<macrodef name="testng-debug" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
594 |
<attribute default="${main.class}" name="testClass"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
595 |
<attribute default="" name="testMethod"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
596 |
<element name="customize2" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
597 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
598 |
<condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
599 |
<isset property="test.method"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
600 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
601 |
<condition else="-suitename jdbc-dk-driver -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
602 |
<matches pattern=".*\.xml" string="@{testClass}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
603 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
604 |
<delete dir="${build.test.results.dir}" quiet="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
605 |
<mkdir dir="${build.test.results.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
606 |
<j2seproject3:debug classname="org.testng.TestNG" classpath="${debug.test.classpath}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
607 |
<customize> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
608 |
<customize2/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
609 |
<jvmarg value="-ea"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
610 |
<arg line="${testng.debug.mode}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
611 |
<arg line="-d ${build.test.results.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
612 |
<arg line="-listener org.testng.reporters.VerboseReporter"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
613 |
<arg line="${testng.cmd.args}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
614 |
</customize> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
615 |
</j2seproject3:debug> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
616 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
617 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
618 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
619 |
<target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
620 |
<macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
621 |
<attribute default="${main.class}" name="testClass"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
622 |
<attribute default="" name="testMethod"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
623 |
<element implicit="true" name="customize2" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
624 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
625 |
<j2seproject3:testng-debug testClass="@{testClass}" testMethod="@{testMethod}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
626 |
<customize2/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
627 |
</j2seproject3:testng-debug> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
628 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
629 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
630 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
631 |
<target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
632 |
<macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
633 |
<attribute default="${includes}" name="includes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
634 |
<attribute default="${excludes}" name="excludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
635 |
<attribute default="**" name="testincludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
636 |
<attribute default="" name="testmethods"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
637 |
<attribute default="${main.class}" name="testClass"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
638 |
<attribute default="" name="testMethod"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
639 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
640 |
<j2seproject3:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
641 |
<customize> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
642 |
<classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
643 |
<path path="${run.test.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
644 |
</classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
645 |
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
646 |
<jvmarg line="${run.jvmargs}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
647 |
<jvmarg line="${run.jvmargs.ide}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
648 |
</customize> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
649 |
</j2seproject3:test-debug-impl> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
650 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
651 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
652 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
653 |
<target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
654 |
<macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
655 |
<attribute default="${includes}" name="includes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
656 |
<attribute default="${excludes}" name="excludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
657 |
<attribute default="**" name="testincludes"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
658 |
<attribute default="" name="testmethods"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
659 |
<attribute default="${main.class}" name="testClass"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
660 |
<attribute default="" name="testMethod"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
661 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
662 |
<j2seproject3:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
663 |
<customize2> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
664 |
<syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
665 |
<propertyref prefix="test-sys-prop."/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
666 |
<mapper from="test-sys-prop.*" to="*" type="glob"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
667 |
</syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
668 |
</customize2> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
669 |
</j2seproject3:testng-debug-impl> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
670 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
671 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
672 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
673 |
<target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
674 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
675 |
pre NB7.2 profiling section; consider it deprecated |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
676 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
677 |
<target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" if="profiler.info.jvmargs.agent" name="profile-init"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
678 |
<target if="profiler.info.jvmargs.agent" name="-profile-pre-init"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
679 |
<!-- Empty placeholder for easier customization. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
680 |
<!-- You can override this target in the ../build.xml file. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
681 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
682 |
<target if="profiler.info.jvmargs.agent" name="-profile-post-init"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
683 |
<!-- Empty placeholder for easier customization. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
684 |
<!-- You can override this target in the ../build.xml file. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
685 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
686 |
<target if="profiler.info.jvmargs.agent" name="-profile-init-macrodef-profile"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
687 |
<macrodef name="resolve"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
688 |
<attribute name="name"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
689 |
<attribute name="value"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
690 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
691 |
<property name="@{name}" value="${env.@{value}}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
692 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
693 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
694 |
<macrodef name="profile"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
695 |
<attribute default="${main.class}" name="classname"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
696 |
<element name="customize" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
697 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
698 |
<property environment="env"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
699 |
<resolve name="profiler.current.path" value="${profiler.info.pathvar}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
700 |
<java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
701 |
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
702 |
<jvmarg value="${profiler.info.jvmargs.agent}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
703 |
<jvmarg line="${profiler.info.jvmargs}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
704 |
<env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
705 |
<arg line="${application.args}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
706 |
<classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
707 |
<path path="${run.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
708 |
</classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
709 |
<syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
710 |
<propertyref prefix="run-sys-prop."/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
711 |
<mapper from="run-sys-prop.*" to="*" type="glob"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
712 |
</syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
713 |
<customize/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
714 |
</java> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
715 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
716 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
717 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
718 |
<target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" if="profiler.info.jvmargs.agent" name="-profile-init-check"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
719 |
<fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
720 |
<fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
721 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
722 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
723 |
end of pre NB7.2 profiling section |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
724 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
725 |
<target depends="-init-debug-args" name="-init-macrodef-nbjpda"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
726 |
<macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
727 |
<attribute default="${main.class}" name="name"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
728 |
<attribute default="${debug.classpath}" name="classpath"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
729 |
<attribute default="" name="stopclassname"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
730 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
731 |
<nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
732 |
<classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
733 |
<path path="@{classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
734 |
</classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
735 |
</nbjpdastart> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
736 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
737 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
738 |
<macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
739 |
<attribute default="${build.classes.dir}" name="dir"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
740 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
741 |
<nbjpdareload> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
742 |
<fileset dir="@{dir}" includes="${fix.classes}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
743 |
<include name="${fix.includes}*.class"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
744 |
</fileset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
745 |
</nbjpdareload> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
746 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
747 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
748 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
749 |
<target name="-init-debug-args"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
750 |
<property name="version-output" value="java version "${ant.java.version}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
751 |
<condition property="have-jdk-older-than-1.4"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
752 |
<or> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
753 |
<contains string="${version-output}" substring="java version "1.0"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
754 |
<contains string="${version-output}" substring="java version "1.1"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
755 |
<contains string="${version-output}" substring="java version "1.2"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
756 |
<contains string="${version-output}" substring="java version "1.3"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
757 |
</or> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
758 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
759 |
<condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
760 |
<istrue value="${have-jdk-older-than-1.4}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
761 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
762 |
<condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
763 |
<os family="windows"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
764 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
765 |
<condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
766 |
<isset property="debug.transport"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
767 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
768 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
769 |
<target depends="-init-debug-args" name="-init-macrodef-debug"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
770 |
<macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
771 |
<attribute default="${main.class}" name="classname"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
772 |
<attribute default="${debug.classpath}" name="classpath"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
773 |
<element name="customize" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
774 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
775 |
<java classname="@{classname}" dir="${work.dir}" fork="true"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
776 |
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
777 |
<jvmarg line="${debug-args-line}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
778 |
<jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
779 |
<jvmarg value="-Dfile.encoding=${runtime.encoding}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
780 |
<redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
781 |
<jvmarg line="${run.jvmargs}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
782 |
<jvmarg line="${run.jvmargs.ide}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
783 |
<classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
784 |
<path path="@{classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
785 |
</classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
786 |
<syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
787 |
<propertyref prefix="run-sys-prop."/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
788 |
<mapper from="run-sys-prop.*" to="*" type="glob"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
789 |
</syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
790 |
<customize/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
791 |
</java> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
792 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
793 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
794 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
795 |
<target name="-init-macrodef-java"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
796 |
<macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
797 |
<attribute default="${main.class}" name="classname"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
798 |
<attribute default="${run.classpath}" name="classpath"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
799 |
<attribute default="jvm" name="jvm"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
800 |
<element name="customize" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
801 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
802 |
<java classname="@{classname}" dir="${work.dir}" fork="true"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
803 |
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
804 |
<jvmarg value="-Dfile.encoding=${runtime.encoding}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
805 |
<redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
806 |
<jvmarg line="${run.jvmargs}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
807 |
<jvmarg line="${run.jvmargs.ide}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
808 |
<classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
809 |
<path path="@{classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
810 |
</classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
811 |
<syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
812 |
<propertyref prefix="run-sys-prop."/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
813 |
<mapper from="run-sys-prop.*" to="*" type="glob"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
814 |
</syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
815 |
<customize/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
816 |
</java> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
817 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
818 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
819 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
820 |
<target name="-init-macrodef-copylibs"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
821 |
<macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
822 |
<attribute default="${manifest.file}" name="manifest"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
823 |
<element name="customize" optional="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
824 |
<sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
825 |
<property location="${build.classes.dir}" name="build.classes.dir.resolved"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
826 |
<pathconvert property="run.classpath.without.build.classes.dir"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
827 |
<path path="${run.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
828 |
<map from="${build.classes.dir.resolved}" to=""/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
829 |
</pathconvert> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
830 |
<pathconvert pathsep=" " property="jar.classpath"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
831 |
<path path="${run.classpath.without.build.classes.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
832 |
<chainedmapper> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
833 |
<flattenmapper/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
834 |
<filtermapper> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
835 |
<replacestring from=" " to="%20"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
836 |
</filtermapper> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
837 |
<globmapper from="*" to="lib/*"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
838 |
</chainedmapper> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
839 |
</pathconvert> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
840 |
<taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
841 |
<copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
842 |
<fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
843 |
<manifest> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
844 |
<attribute name="Class-Path" value="${jar.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
845 |
<customize/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
846 |
</manifest> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
847 |
</copylibs> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
848 |
</sequential> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
849 |
</macrodef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
850 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
851 |
<target name="-init-presetdef-jar"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
852 |
<presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
853 |
<jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
854 |
<j2seproject1:fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
855 |
</jar> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
856 |
</presetdef> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
857 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
858 |
<target name="-init-ap-cmdline-properties"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
859 |
<property name="annotation.processing.enabled" value="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
860 |
<property name="annotation.processing.processors.list" value=""/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
861 |
<property name="annotation.processing.processor.options" value=""/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
862 |
<property name="annotation.processing.run.all.processors" value="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
863 |
<property name="javac.processorpath" value="${javac.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
864 |
<property name="javac.test.processorpath" value="${javac.test.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
865 |
<condition property="ap.supported.internal" value="true"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
866 |
<not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
867 |
<matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
868 |
</not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
869 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
870 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
871 |
<target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
872 |
<condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
873 |
<isfalse value="${annotation.processing.run.all.processors}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
874 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
875 |
<condition else="" property="ap.proc.none.internal" value="-proc:none"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
876 |
<isfalse value="${annotation.processing.enabled}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
877 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
878 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
879 |
<target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
880 |
<property name="ap.cmd.line.internal" value=""/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
881 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
882 |
<target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-test,-init-macrodef-test-debug,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar,-init-ap-cmdline" name="init"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
883 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
884 |
=================== |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
885 |
COMPILATION SECTION |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
886 |
=================== |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
887 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
888 |
<target name="-deps-jar-init" unless="built-jar.properties"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
889 |
<property location="${build.dir}/built-jar.properties" name="built-jar.properties"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
890 |
<delete file="${built-jar.properties}" quiet="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
891 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
892 |
<target if="already.built.jar.${basedir}" name="-warn-already-built-jar"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
893 |
<echo level="warn" message="Cycle detected: jdbc-dk-driver was already built"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
894 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
895 |
<target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
896 |
<mkdir dir="${build.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
897 |
<touch file="${built-jar.properties}" verbose="false"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
898 |
<property file="${built-jar.properties}" prefix="already.built.jar."/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
899 |
<antcall target="-warn-already-built-jar"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
900 |
<propertyfile file="${built-jar.properties}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
901 |
<entry key="${basedir}" value=""/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
902 |
</propertyfile> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
903 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
904 |
<target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
905 |
<target depends="init" name="-check-automatic-build"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
906 |
<available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
907 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
908 |
<target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
909 |
<antcall target="clean"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
910 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
911 |
<target depends="init,deps-jar" name="-pre-pre-compile"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
912 |
<mkdir dir="${build.classes.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
913 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
914 |
<target name="-pre-compile"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
915 |
<!-- Empty placeholder for easier customization. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
916 |
<!-- You can override this target in the ../build.xml file. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
917 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
918 |
<target if="do.depend.true" name="-compile-depend"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
919 |
<pathconvert property="build.generated.subdirs"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
920 |
<dirset dir="${build.generated.sources.dir}" erroronmissingdir="false"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
921 |
<include name="*"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
922 |
</dirset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
923 |
</pathconvert> |
192
a32bfcbdee51
jdbc-dk-driver: first working version
František Kučera <franta-hg@frantovo.cz>
parents:
188
diff
changeset
|
924 |
<j2seproject3:depend srcdir="${src.conf.dir}:${src.dir}:${src.sql-dk.dir}:${build.generated.subdirs}"/> |
187
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
925 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
926 |
<target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
927 |
<j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
928 |
<copy todir="${build.classes.dir}"> |
192
a32bfcbdee51
jdbc-dk-driver: first working version
František Kučera <franta-hg@frantovo.cz>
parents:
188
diff
changeset
|
929 |
<fileset dir="${src.conf.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
187
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
930 |
<fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
188
54bacc7ed42b
jdbc-dk-driver: include main project sources
František Kučera <franta-hg@frantovo.cz>
parents:
187
diff
changeset
|
931 |
<fileset dir="${src.sql-dk.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
187
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
932 |
</copy> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
933 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
934 |
<target if="has.persistence.xml" name="-copy-persistence-xml"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
935 |
<mkdir dir="${build.classes.dir}/META-INF"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
936 |
<copy todir="${build.classes.dir}/META-INF"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
937 |
<fileset dir="${meta.inf.dir}" includes="persistence.xml orm.xml"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
938 |
</copy> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
939 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
940 |
<target name="-post-compile"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
941 |
<!-- Empty placeholder for easier customization. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
942 |
<!-- You can override this target in the ../build.xml file. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
943 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
944 |
<target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
945 |
<target name="-pre-compile-single"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
946 |
<!-- Empty placeholder for easier customization. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
947 |
<!-- You can override this target in the ../build.xml file. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
948 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
949 |
<target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
950 |
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
951 |
<j2seproject3:force-recompile/> |
192
a32bfcbdee51
jdbc-dk-driver: first working version
František Kučera <franta-hg@frantovo.cz>
parents:
188
diff
changeset
|
952 |
<j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.conf.dir}:${src.dir}:${src.sql-dk.dir}"/> |
187
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
953 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
954 |
<target name="-post-compile-single"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
955 |
<!-- Empty placeholder for easier customization. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
956 |
<!-- You can override this target in the ../build.xml file. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
957 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
958 |
<target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
959 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
960 |
==================== |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
961 |
JAR BUILDING SECTION |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
962 |
==================== |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
963 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
964 |
<target depends="init" name="-pre-pre-jar"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
965 |
<dirname file="${dist.jar}" property="dist.jar.dir"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
966 |
<mkdir dir="${dist.jar.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
967 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
968 |
<target name="-pre-jar"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
969 |
<!-- Empty placeholder for easier customization. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
970 |
<!-- You can override this target in the ../build.xml file. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
971 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
972 |
<target depends="init" if="do.archive" name="-do-jar-create-manifest" unless="manifest.available"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
973 |
<tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
974 |
<touch file="${tmp.manifest.file}" verbose="false"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
975 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
976 |
<target depends="init" if="do.archive+manifest.available" name="-do-jar-copy-manifest"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
977 |
<tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
978 |
<copy file="${manifest.file}" tofile="${tmp.manifest.file}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
979 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
980 |
<target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+main.class.available" name="-do-jar-set-mainclass"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
981 |
<manifest file="${tmp.manifest.file}" mode="update"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
982 |
<attribute name="Main-Class" value="${main.class}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
983 |
</manifest> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
984 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
985 |
<target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+profile.available" name="-do-jar-set-profile"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
986 |
<manifest file="${tmp.manifest.file}" mode="update"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
987 |
<attribute name="Profile" value="${javac.profile}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
988 |
</manifest> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
989 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
990 |
<target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-set-splashscreen"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
991 |
<basename file="${application.splash}" property="splashscreen.basename"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
992 |
<mkdir dir="${build.classes.dir}/META-INF"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
993 |
<copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
994 |
<manifest file="${tmp.manifest.file}" mode="update"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
995 |
<attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
996 |
</manifest> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
997 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
998 |
<target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.mkdist" name="-do-jar-copylibs"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
999 |
<j2seproject3:copylibs manifest="${tmp.manifest.file}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1000 |
<echo level="info">To run this application from the command line without Ant, try:</echo> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1001 |
<property location="${dist.jar}" name="dist.jar.resolved"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1002 |
<echo level="info">java -jar "${dist.jar.resolved}"</echo> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1003 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1004 |
<target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.archive" name="-do-jar-jar" unless="do.mkdist"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1005 |
<j2seproject1:jar manifest="${tmp.manifest.file}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1006 |
<property location="${build.classes.dir}" name="build.classes.dir.resolved"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1007 |
<property location="${dist.jar}" name="dist.jar.resolved"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1008 |
<pathconvert property="run.classpath.with.dist.jar"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1009 |
<path path="${run.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1010 |
<map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1011 |
</pathconvert> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1012 |
<condition else="" property="jar.usage.message" value="To run this application from the command line without Ant, try:${line.separator}${platform.java} -cp ${run.classpath.with.dist.jar} ${main.class}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1013 |
<isset property="main.class.available"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1014 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1015 |
<condition else="debug" property="jar.usage.level" value="info"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1016 |
<isset property="main.class.available"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1017 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1018 |
<echo level="${jar.usage.level}" message="${jar.usage.message}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1019 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1020 |
<target depends="-do-jar-copylibs" if="do.archive" name="-do-jar-delete-manifest"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1021 |
<delete> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1022 |
<fileset file="${tmp.manifest.file}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1023 |
</delete> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1024 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1025 |
<target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-jar,-do-jar-delete-manifest" name="-do-jar-without-libraries"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1026 |
<target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-copylibs,-do-jar-delete-manifest" name="-do-jar-with-libraries"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1027 |
<target name="-post-jar"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1028 |
<!-- Empty placeholder for easier customization. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1029 |
<!-- You can override this target in the ../build.xml file. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1030 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1031 |
<target depends="init,compile,-pre-jar,-do-jar-without-libraries,-do-jar-with-libraries,-post-jar" name="-do-jar"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1032 |
<target depends="init,compile,-pre-jar,-do-jar,-post-jar" description="Build JAR." name="jar"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1033 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1034 |
================= |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1035 |
EXECUTION SECTION |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1036 |
================= |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1037 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1038 |
<target depends="init,compile" description="Run a main class." name="run"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1039 |
<j2seproject1:java> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1040 |
<customize> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1041 |
<arg line="${application.args}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1042 |
</customize> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1043 |
</j2seproject1:java> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1044 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1045 |
<target name="-do-not-recompile"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1046 |
<property name="javac.includes.binary" value=""/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1047 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1048 |
<target depends="init,compile-single" name="run-single"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1049 |
<fail unless="run.class">Must select one file in the IDE or set run.class</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1050 |
<j2seproject1:java classname="${run.class}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1051 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1052 |
<target depends="init,compile-test-single" name="run-test-with-main"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1053 |
<fail unless="run.class">Must select one file in the IDE or set run.class</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1054 |
<j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1055 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1056 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1057 |
================= |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1058 |
DEBUGGING SECTION |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1059 |
================= |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1060 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1061 |
<target depends="init" if="netbeans.home" name="-debug-start-debugger"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1062 |
<j2seproject1:nbjpdastart name="${debug.class}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1063 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1064 |
<target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1065 |
<j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1066 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1067 |
<target depends="init,compile" name="-debug-start-debuggee"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1068 |
<j2seproject3:debug> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1069 |
<customize> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1070 |
<arg line="${application.args}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1071 |
</customize> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1072 |
</j2seproject3:debug> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1073 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1074 |
<target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1075 |
<target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1076 |
<j2seproject1:nbjpdastart stopclassname="${main.class}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1077 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1078 |
<target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1079 |
<target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1080 |
<fail unless="debug.class">Must select one file in the IDE or set debug.class</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1081 |
<j2seproject3:debug classname="${debug.class}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1082 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1083 |
<target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1084 |
<target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1085 |
<fail unless="debug.class">Must select one file in the IDE or set debug.class</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1086 |
<j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1087 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1088 |
<target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1089 |
<target depends="init" name="-pre-debug-fix"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1090 |
<fail unless="fix.includes">Must set fix.includes</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1091 |
<property name="javac.includes" value="${fix.includes}.java"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1092 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1093 |
<target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1094 |
<j2seproject1:nbjpdareload/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1095 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1096 |
<target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1097 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1098 |
================= |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1099 |
PROFILING SECTION |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1100 |
================= |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1101 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1102 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1103 |
pre NB7.2 profiler integration |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1104 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1105 |
<target depends="profile-init,compile" description="Profile a project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1106 |
<fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1107 |
<nbprofiledirect> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1108 |
<classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1109 |
<path path="${run.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1110 |
</classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1111 |
</nbprofiledirect> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1112 |
<profile/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1113 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1114 |
<target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="profiler.info.jvmargs.agent" name="-profile-single-pre72"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1115 |
<fail unless="profile.class">Must select one file in the IDE or set profile.class</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1116 |
<fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1117 |
<nbprofiledirect> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1118 |
<classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1119 |
<path path="${run.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1120 |
</classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1121 |
</nbprofiledirect> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1122 |
<profile classname="${profile.class}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1123 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1124 |
<target depends="profile-init,compile-single" if="profiler.info.jvmargs.agent" name="-profile-applet-pre72"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1125 |
<fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1126 |
<nbprofiledirect> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1127 |
<classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1128 |
<path path="${run.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1129 |
</classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1130 |
</nbprofiledirect> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1131 |
<profile classname="sun.applet.AppletViewer"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1132 |
<customize> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1133 |
<arg value="${applet.url}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1134 |
</customize> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1135 |
</profile> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1136 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1137 |
<target depends="profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1138 |
<fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1139 |
<nbprofiledirect> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1140 |
<classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1141 |
<path path="${run.test.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1142 |
</classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1143 |
</nbprofiledirect> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1144 |
<junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1145 |
<env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1146 |
<jvmarg value="${profiler.info.jvmargs.agent}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1147 |
<jvmarg line="${profiler.info.jvmargs}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1148 |
<test name="${profile.class}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1149 |
<classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1150 |
<path path="${run.test.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1151 |
</classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1152 |
<syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1153 |
<propertyref prefix="test-sys-prop."/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1154 |
<mapper from="test-sys-prop.*" to="*" type="glob"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1155 |
</syspropertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1156 |
<formatter type="brief" usefile="false"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1157 |
<formatter type="xml"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1158 |
</junit> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1159 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1160 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1161 |
end of pre NB72 profiling section |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1162 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1163 |
<target if="netbeans.home" name="-profile-check"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1164 |
<condition property="profiler.configured"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1165 |
<or> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1166 |
<contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1167 |
<contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1168 |
</or> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1169 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1170 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1171 |
<target depends="-profile-check,-profile-pre72" description="Profile a project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1172 |
<startprofiler/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1173 |
<antcall target="run"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1174 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1175 |
<target depends="-profile-check,-profile-single-pre72" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-single" unless="profiler.info.jvmargs.agent"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1176 |
<fail unless="run.class">Must select one file in the IDE or set run.class</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1177 |
<startprofiler/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1178 |
<antcall target="run-single"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1179 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1180 |
<target depends="-profile-test-single-pre72" description="Profile a selected test in the IDE." name="profile-test-single"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1181 |
<target depends="-profile-check" description="Profile a selected test in the IDE." if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1182 |
<fail unless="test.includes">Must select some files in the IDE or set test.includes</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1183 |
<startprofiler/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1184 |
<antcall target="test-single"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1185 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1186 |
<target depends="-profile-check" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-test-with-main"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1187 |
<fail unless="run.class">Must select one file in the IDE or set run.class</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1188 |
<startprofiler/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1189 |
<antcal target="run-test-with-main"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1190 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1191 |
<target depends="-profile-check,-profile-applet-pre72" if="profiler.configured" name="profile-applet" unless="profiler.info.jvmargs.agent"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1192 |
<fail unless="applet.url">Must select one file in the IDE or set applet.url</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1193 |
<startprofiler/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1194 |
<antcall target="run-applet"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1195 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1196 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1197 |
=============== |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1198 |
JAVADOC SECTION |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1199 |
=============== |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1200 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1201 |
<target depends="init" if="have.sources" name="-javadoc-build"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1202 |
<mkdir dir="${dist.javadoc.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1203 |
<condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1204 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1205 |
<isset property="endorsed.classpath.cmd.line.arg"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1206 |
<not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1207 |
<equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1208 |
</not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1209 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1210 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1211 |
<condition else="" property="bug5101868workaround" value="*.java"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1212 |
<matches pattern="1\.[56](\..*)?" string="${java.version}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1213 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1214 |
<javadoc additionalparam="-J-Dfile.encoding=${file.encoding} ${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1215 |
<classpath> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1216 |
<path path="${javac.classpath}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1217 |
</classpath> |
192
a32bfcbdee51
jdbc-dk-driver: first working version
František Kučera <franta-hg@frantovo.cz>
parents:
188
diff
changeset
|
1218 |
<fileset dir="${src.conf.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}"> |
a32bfcbdee51
jdbc-dk-driver: first working version
František Kučera <franta-hg@frantovo.cz>
parents:
188
diff
changeset
|
1219 |
<filename name="**/*.java"/> |
a32bfcbdee51
jdbc-dk-driver: first working version
František Kučera <franta-hg@frantovo.cz>
parents:
188
diff
changeset
|
1220 |
</fileset> |
187
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1221 |
<fileset dir="${src.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1222 |
<filename name="**/*.java"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1223 |
</fileset> |
188
54bacc7ed42b
jdbc-dk-driver: include main project sources
František Kučera <franta-hg@frantovo.cz>
parents:
187
diff
changeset
|
1224 |
<fileset dir="${src.sql-dk.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}"> |
54bacc7ed42b
jdbc-dk-driver: include main project sources
František Kučera <franta-hg@frantovo.cz>
parents:
187
diff
changeset
|
1225 |
<filename name="**/*.java"/> |
54bacc7ed42b
jdbc-dk-driver: include main project sources
František Kučera <franta-hg@frantovo.cz>
parents:
187
diff
changeset
|
1226 |
</fileset> |
187
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1227 |
<fileset dir="${build.generated.sources.dir}" erroronmissingdir="false"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1228 |
<include name="**/*.java"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1229 |
<exclude name="*.java"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1230 |
</fileset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1231 |
<arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1232 |
</javadoc> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1233 |
<copy todir="${dist.javadoc.dir}"> |
192
a32bfcbdee51
jdbc-dk-driver: first working version
František Kučera <franta-hg@frantovo.cz>
parents:
188
diff
changeset
|
1234 |
<fileset dir="${src.conf.dir}" excludes="${excludes}" includes="${includes}"> |
a32bfcbdee51
jdbc-dk-driver: first working version
František Kučera <franta-hg@frantovo.cz>
parents:
188
diff
changeset
|
1235 |
<filename name="**/doc-files/**"/> |
a32bfcbdee51
jdbc-dk-driver: first working version
František Kučera <franta-hg@frantovo.cz>
parents:
188
diff
changeset
|
1236 |
</fileset> |
187
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1237 |
<fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1238 |
<filename name="**/doc-files/**"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1239 |
</fileset> |
188
54bacc7ed42b
jdbc-dk-driver: include main project sources
František Kučera <franta-hg@frantovo.cz>
parents:
187
diff
changeset
|
1240 |
<fileset dir="${src.sql-dk.dir}" excludes="${excludes}" includes="${includes}"> |
54bacc7ed42b
jdbc-dk-driver: include main project sources
František Kučera <franta-hg@frantovo.cz>
parents:
187
diff
changeset
|
1241 |
<filename name="**/doc-files/**"/> |
54bacc7ed42b
jdbc-dk-driver: include main project sources
František Kučera <franta-hg@frantovo.cz>
parents:
187
diff
changeset
|
1242 |
</fileset> |
187
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1243 |
<fileset dir="${build.generated.sources.dir}" erroronmissingdir="false"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1244 |
<include name="**/doc-files/**"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1245 |
</fileset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1246 |
</copy> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1247 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1248 |
<target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1249 |
<nbbrowse file="${dist.javadoc.dir}/index.html"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1250 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1251 |
<target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1252 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1253 |
========================= |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1254 |
TEST COMPILATION SECTION |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1255 |
========================= |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1256 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1257 |
<target depends="init,compile" if="have.tests" name="-pre-pre-compile-test"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1258 |
<mkdir dir="${build.test.classes.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1259 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1260 |
<target name="-pre-compile-test"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1261 |
<!-- Empty placeholder for easier customization. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1262 |
<!-- You can override this target in the ../build.xml file. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1263 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1264 |
<target if="do.depend.true" name="-compile-test-depend"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1265 |
<j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1266 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1267 |
<target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1268 |
<j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" processorpath="${javac.test.processorpath}" srcdir="${test.src.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1269 |
<copy todir="${build.test.classes.dir}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1270 |
<fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1271 |
</copy> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1272 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1273 |
<target name="-post-compile-test"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1274 |
<!-- Empty placeholder for easier customization. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1275 |
<!-- You can override this target in the ../build.xml file. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1276 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1277 |
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1278 |
<target name="-pre-compile-test-single"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1279 |
<!-- Empty placeholder for easier customization. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1280 |
<!-- You can override this target in the ../build.xml file. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1281 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1282 |
<target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1283 |
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1284 |
<j2seproject3:force-recompile destdir="${build.test.classes.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1285 |
<j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" processorpath="${javac.test.processorpath}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1286 |
<copy todir="${build.test.classes.dir}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1287 |
<fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1288 |
</copy> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1289 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1290 |
<target name="-post-compile-test-single"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1291 |
<!-- Empty placeholder for easier customization. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1292 |
<!-- You can override this target in the ../build.xml file. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1293 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1294 |
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1295 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1296 |
======================= |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1297 |
TEST EXECUTION SECTION |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1298 |
======================= |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1299 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1300 |
<target depends="init" if="have.tests" name="-pre-test-run"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1301 |
<mkdir dir="${build.test.results.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1302 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1303 |
<target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1304 |
<j2seproject3:test includes="${includes}" testincludes="**/*Test.java"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1305 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1306 |
<target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1307 |
<fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1308 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1309 |
<target depends="init" if="have.tests" name="test-report"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1310 |
<target depends="init" if="netbeans.home+have.tests" name="-test-browse"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1311 |
<target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1312 |
<target depends="init" if="have.tests" name="-pre-test-run-single"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1313 |
<mkdir dir="${build.test.results.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1314 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1315 |
<target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1316 |
<fail unless="test.includes">Must select some files in the IDE or set test.includes</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1317 |
<j2seproject3:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1318 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1319 |
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1320 |
<fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1321 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1322 |
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1323 |
<target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1324 |
<fail unless="test.class">Must select some files in the IDE or set test.class</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1325 |
<fail unless="test.method">Must select some method in the IDE or set test.method</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1326 |
<j2seproject3:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1327 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1328 |
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method" if="have.tests" name="-post-test-run-single-method"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1329 |
<fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1330 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1331 |
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method,-post-test-run-single-method" description="Run single unit test." name="test-single-method"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1332 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1333 |
======================= |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1334 |
TEST DEBUGGING SECTION |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1335 |
======================= |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1336 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1337 |
<target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1338 |
<fail unless="test.class">Must select one file in the IDE or set test.class</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1339 |
<j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1340 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1341 |
<target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1342 |
<fail unless="test.class">Must select one file in the IDE or set test.class</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1343 |
<fail unless="test.method">Must select some method in the IDE or set test.method</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1344 |
<j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1345 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1346 |
<target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1347 |
<j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1348 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1349 |
<target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1350 |
<target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1351 |
<target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1352 |
<j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1353 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1354 |
<target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1355 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1356 |
========================= |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1357 |
APPLET EXECUTION SECTION |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1358 |
========================= |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1359 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1360 |
<target depends="init,compile-single" name="run-applet"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1361 |
<fail unless="applet.url">Must select one file in the IDE or set applet.url</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1362 |
<j2seproject1:java classname="sun.applet.AppletViewer"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1363 |
<customize> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1364 |
<arg value="${applet.url}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1365 |
</customize> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1366 |
</j2seproject1:java> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1367 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1368 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1369 |
========================= |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1370 |
APPLET DEBUGGING SECTION |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1371 |
========================= |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1372 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1373 |
<target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1374 |
<fail unless="applet.url">Must select one file in the IDE or set applet.url</fail> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1375 |
<j2seproject3:debug classname="sun.applet.AppletViewer"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1376 |
<customize> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1377 |
<arg value="${applet.url}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1378 |
</customize> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1379 |
</j2seproject3:debug> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1380 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1381 |
<target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1382 |
<!-- |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1383 |
=============== |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1384 |
CLEANUP SECTION |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1385 |
=============== |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1386 |
--> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1387 |
<target name="-deps-clean-init" unless="built-clean.properties"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1388 |
<property location="${build.dir}/built-clean.properties" name="built-clean.properties"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1389 |
<delete file="${built-clean.properties}" quiet="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1390 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1391 |
<target if="already.built.clean.${basedir}" name="-warn-already-built-clean"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1392 |
<echo level="warn" message="Cycle detected: jdbc-dk-driver was already built"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1393 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1394 |
<target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1395 |
<mkdir dir="${build.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1396 |
<touch file="${built-clean.properties}" verbose="false"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1397 |
<property file="${built-clean.properties}" prefix="already.built.clean."/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1398 |
<antcall target="-warn-already-built-clean"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1399 |
<propertyfile file="${built-clean.properties}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1400 |
<entry key="${basedir}" value=""/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1401 |
</propertyfile> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1402 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1403 |
<target depends="init" name="-do-clean"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1404 |
<delete dir="${build.dir}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1405 |
<delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1406 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1407 |
<target name="-post-clean"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1408 |
<!-- Empty placeholder for easier customization. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1409 |
<!-- You can override this target in the ../build.xml file. --> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1410 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1411 |
<target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1412 |
<target name="-check-call-dep"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1413 |
<property file="${call.built.properties}" prefix="already.built."/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1414 |
<condition property="should.call.dep"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1415 |
<and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1416 |
<not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1417 |
<isset property="already.built.${call.subproject}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1418 |
</not> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1419 |
<available file="${call.script}"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1420 |
</and> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1421 |
</condition> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1422 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1423 |
<target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1424 |
<ant antfile="${call.script}" inheritall="false" target="${call.target}"> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1425 |
<propertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1426 |
<propertyref prefix="transfer."/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1427 |
<mapper from="transfer.*" to="*" type="glob"/> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1428 |
</propertyset> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1429 |
</ant> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1430 |
</target> |
65d1eb327cb1
jdbc-dk-driver: netbeans project for the meta driver
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1431 |
</project> |