annotate src/ConnectionManager/nbproject/build-impl.xml @ 26:ce4df2e95a55 database-connection-manager

Remove LTPDARepositoryManager initialization
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents 960fe1aa1c10
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
2 <!--
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
3 *** GENERATED FROM project.xml - DO NOT EDIT ***
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
4 *** EDIT ../build.xml INSTEAD ***
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
5
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
6 For the purpose of easier reading the script
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
7 is divided into following sections:
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
8
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
9 - initialization
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
10 - compilation
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
11 - jar
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
12 - execution
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
13 - debugging
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
14 - javadoc
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
15 - junit compilation
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
16 - junit execution
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
17 - junit debugging
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
18 - applet
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
19 - cleanup
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
20
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
21 -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
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="ConnectionManager-impl">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
23 <fail message="Please build using Ant 1.7.1 or higher.">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
24 <condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
25 <not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
26 <antversion atleast="1.7.1"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
27 </not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
28 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
29 </fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
30 <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
31 <!--
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
32 ======================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
33 INITIALIZATION SECTION
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
34 ======================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
35 -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
36 <target name="-pre-init">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
37 <!-- Empty placeholder for easier customization. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
38 <!-- You can override this target in the ../build.xml file. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
39 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
40 <target depends="-pre-init" name="-init-private">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
41 <property file="nbproject/private/config.properties"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
42 <property file="nbproject/private/configs/${config}.properties"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
43 <property file="nbproject/private/private.properties"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
44 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
45 <target depends="-pre-init,-init-private" name="-init-user">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
46 <property file="${user.properties.file}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
47 <!-- The two properties below are usually overridden -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
48 <!-- by the active platform. Just a fallback. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
49 <property name="default.javac.source" value="1.4"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
50 <property name="default.javac.target" value="1.4"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
51 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
52 <target depends="-pre-init,-init-private,-init-user" name="-init-project">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
53 <property file="nbproject/configs/${config}.properties"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
54 <property file="nbproject/project.properties"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
55 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
56 <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
57 <available file="${manifest.file}" property="manifest.available"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
58 <condition property="splashscreen.available">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
59 <and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
60 <not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
61 <equals arg1="${application.splash}" arg2="" trim="true"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
62 </not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
63 <available file="${application.splash}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
64 </and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
65 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
66 <condition property="main.class.available">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
67 <and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
68 <isset property="main.class"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
69 <not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
70 <equals arg1="${main.class}" arg2="" trim="true"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
71 </not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
72 </and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
73 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
74 <condition property="manifest.available+main.class">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
75 <and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
76 <isset property="manifest.available"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
77 <isset property="main.class.available"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
78 </and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
79 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
80 <condition property="do.archive">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
81 <not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
82 <istrue value="${jar.archive.disabled}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
83 </not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
84 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
85 <condition property="do.mkdist">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
86 <and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
87 <isset property="do.archive"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
88 <isset property="libs.CopyLibs.classpath"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
89 <not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
90 <istrue value="${mkdist.disabled}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
91 </not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
92 </and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
93 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
94 <condition property="manifest.available+main.class+mkdist.available">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
95 <and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
96 <istrue value="${manifest.available+main.class}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
97 <isset property="do.mkdist"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
98 </and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
99 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
100 <condition property="do.archive+manifest.available">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
101 <and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
102 <isset property="manifest.available"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
103 <istrue value="${do.archive}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
104 </and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
105 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
106 <condition property="do.archive+main.class.available">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
107 <and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
108 <isset property="main.class.available"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
109 <istrue value="${do.archive}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
110 </and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
111 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
112 <condition property="do.archive+splashscreen.available">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
113 <and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
114 <isset property="splashscreen.available"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
115 <istrue value="${do.archive}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
116 </and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
117 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
118 <condition property="do.archive+manifest.available+main.class">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
119 <and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
120 <istrue value="${manifest.available+main.class}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
121 <istrue value="${do.archive}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
122 </and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
123 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
124 <condition property="manifest.available-mkdist.available">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
125 <or>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
126 <istrue value="${manifest.available}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
127 <isset property="do.mkdist"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
128 </or>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
129 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
130 <condition property="manifest.available+main.class-mkdist.available">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
131 <or>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
132 <istrue value="${manifest.available+main.class}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
133 <isset property="do.mkdist"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
134 </or>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
135 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
136 <condition property="have.tests">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
137 <or>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
138 <available file="${test.src.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
139 </or>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
140 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
141 <condition property="have.sources">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
142 <or>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
143 <available file="${src.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
144 </or>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
145 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
146 <condition property="netbeans.home+have.tests">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
147 <and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
148 <isset property="netbeans.home"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
149 <isset property="have.tests"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
150 </and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
151 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
152 <condition property="no.javadoc.preview">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
153 <and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
154 <isset property="javadoc.preview"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
155 <isfalse value="${javadoc.preview}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
156 </and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
157 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
158 <property name="run.jvmargs" value=""/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
159 <property name="javac.compilerargs" value=""/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
160 <property name="work.dir" value="${basedir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
161 <condition property="no.deps">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
162 <and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
163 <istrue value="${no.dependencies}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
164 </and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
165 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
166 <property name="javac.debug" value="true"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
167 <property name="javadoc.preview" value="true"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
168 <property name="application.args" value=""/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
169 <property name="source.encoding" value="${file.encoding}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
170 <property name="runtime.encoding" value="${source.encoding}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
171 <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
172 <and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
173 <isset property="javadoc.encoding"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
174 <not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
175 <equals arg1="${javadoc.encoding}" arg2=""/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
176 </not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
177 </and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
178 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
179 <property name="javadoc.encoding.used" value="${source.encoding}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
180 <property name="includes" value="**"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
181 <property name="excludes" value=""/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
182 <property name="do.depend" value="false"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
183 <condition property="do.depend.true">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
184 <istrue value="${do.depend}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
185 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
186 <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
187 <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
188 <length length="0" string="${endorsed.classpath}" when="greater"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
189 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
190 <condition else="false" property="jdkBug6558476">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
191 <and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
192 <matches pattern="1\.[56]" string="${java.specification.version}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
193 <not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
194 <os family="unix"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
195 </not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
196 </and>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
197 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
198 <property name="javac.fork" value="${jdkBug6558476}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
199 <property name="jar.index" value="false"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
200 <property name="jar.index.metainf" value="${jar.index}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
201 <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
202 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
203 <target name="-post-init">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
204 <!-- Empty placeholder for easier customization. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
205 <!-- You can override this target in the ../build.xml file. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
206 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
207 <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
208 <fail unless="src.dir">Must set src.dir</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
209 <fail unless="test.src.dir">Must set test.src.dir</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
210 <fail unless="build.dir">Must set build.dir</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
211 <fail unless="dist.dir">Must set dist.dir</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
212 <fail unless="build.classes.dir">Must set build.classes.dir</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
213 <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
214 <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
215 <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
216 <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
217 <fail unless="dist.jar">Must set dist.jar</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
218 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
219 <target name="-init-macrodef-property">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
220 <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
221 <attribute name="name"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
222 <attribute name="value"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
223 <sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
224 <property name="@{name}" value="${@{value}}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
225 </sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
226 </macrodef>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
227 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
228 <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
229 <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
230 <attribute default="${src.dir}" name="srcdir"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
231 <attribute default="${build.classes.dir}" name="destdir"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
232 <attribute default="${javac.classpath}" name="classpath"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
233 <attribute default="${javac.processorpath}" name="processorpath"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
234 <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
235 <attribute default="${includes}" name="includes"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
236 <attribute default="${excludes}" name="excludes"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
237 <attribute default="${javac.debug}" name="debug"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
238 <attribute default="${empty.dir}" name="sourcepath"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
239 <attribute default="${empty.dir}" name="gensrcdir"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
240 <element name="customize" optional="true"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
241 <sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
242 <property location="${build.dir}/empty" name="empty.dir"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
243 <mkdir dir="${empty.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
244 <mkdir dir="@{apgeneratedsrcdir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
245 <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}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
246 <src>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
247 <dirset dir="@{gensrcdir}" erroronmissingdir="false">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
248 <include name="*"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
249 </dirset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
250 </src>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
251 <classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
252 <path path="@{classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
253 </classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
254 <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
255 <compilerarg line="${javac.compilerargs}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
256 <compilerarg value="-processorpath"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
257 <compilerarg path="@{processorpath}:${empty.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
258 <compilerarg line="${ap.processors.internal}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
259 <compilerarg line="${annotation.processing.processor.options}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
260 <compilerarg value="-s"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
261 <compilerarg path="@{apgeneratedsrcdir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
262 <compilerarg line="${ap.proc.none.internal}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
263 <customize/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
264 </javac>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
265 </sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
266 </macrodef>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
267 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
268 <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
269 <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
270 <attribute default="${src.dir}" name="srcdir"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
271 <attribute default="${build.classes.dir}" name="destdir"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
272 <attribute default="${javac.classpath}" name="classpath"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
273 <attribute default="${javac.processorpath}" name="processorpath"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
274 <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
275 <attribute default="${includes}" name="includes"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
276 <attribute default="${excludes}" name="excludes"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
277 <attribute default="${javac.debug}" name="debug"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
278 <attribute default="${empty.dir}" name="sourcepath"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
279 <attribute default="${empty.dir}" name="gensrcdir"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
280 <element name="customize" optional="true"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
281 <sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
282 <property location="${build.dir}/empty" name="empty.dir"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
283 <mkdir dir="${empty.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
284 <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}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
285 <src>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
286 <dirset dir="@{gensrcdir}" erroronmissingdir="false">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
287 <include name="*"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
288 </dirset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
289 </src>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
290 <classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
291 <path path="@{classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
292 </classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
293 <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
294 <compilerarg line="${javac.compilerargs}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
295 <customize/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
296 </javac>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
297 </sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
298 </macrodef>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
299 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
300 <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
301 <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
302 <attribute default="${src.dir}" name="srcdir"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
303 <attribute default="${build.classes.dir}" name="destdir"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
304 <attribute default="${javac.classpath}" name="classpath"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
305 <sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
306 <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
307 <classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
308 <path path="@{classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
309 </classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
310 </depend>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
311 </sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
312 </macrodef>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
313 <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
314 <attribute default="${build.classes.dir}" name="destdir"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
315 <sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
316 <fail unless="javac.includes">Must set javac.includes</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
317 <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
318 <path>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
319 <filelist dir="@{destdir}" files="${javac.includes}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
320 </path>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
321 <globmapper from="*.java" to="*.class"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
322 </pathconvert>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
323 <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
324 <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
325 <delete>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
326 <files includesfile="${javac.includesfile.binary}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
327 </delete>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
328 <delete>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
329 <fileset file="${javac.includesfile.binary}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
330 </delete>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
331 </sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
332 </macrodef>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
333 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
334 <target name="-init-macrodef-junit">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
335 <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
336 <attribute default="${includes}" name="includes"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
337 <attribute default="${excludes}" name="excludes"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
338 <attribute default="**" name="testincludes"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
339 <sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
340 <property name="junit.forkmode" value="perTest"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
341 <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
342 <batchtest todir="${build.test.results.dir}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
343 <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
344 <filename name="@{testincludes}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
345 </fileset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
346 </batchtest>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
347 <classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
348 <path path="${run.test.classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
349 </classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
350 <syspropertyset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
351 <propertyref prefix="test-sys-prop."/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
352 <mapper from="test-sys-prop.*" to="*" type="glob"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
353 </syspropertyset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
354 <formatter type="brief" usefile="false"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
355 <formatter type="xml"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
356 <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
357 <jvmarg value="-ea"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
358 <jvmarg line="${run.jvmargs}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
359 </junit>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
360 </sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
361 </macrodef>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
362 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
363 <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" name="profile-init"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
364 <target name="-profile-pre-init">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
365 <!-- Empty placeholder for easier customization. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
366 <!-- You can override this target in the ../build.xml file. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
367 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
368 <target name="-profile-post-init">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
369 <!-- Empty placeholder for easier customization. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
370 <!-- You can override this target in the ../build.xml file. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
371 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
372 <target name="-profile-init-macrodef-profile">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
373 <macrodef name="resolve">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
374 <attribute name="name"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
375 <attribute name="value"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
376 <sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
377 <property name="@{name}" value="${env.@{value}}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
378 </sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
379 </macrodef>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
380 <macrodef name="profile">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
381 <attribute default="${main.class}" name="classname"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
382 <element name="customize" optional="true"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
383 <sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
384 <property environment="env"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
385 <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
386 <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
387 <jvmarg value="${profiler.info.jvmargs.agent}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
388 <jvmarg line="${profiler.info.jvmargs}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
389 <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
390 <arg line="${application.args}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
391 <classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
392 <path path="${run.classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
393 </classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
394 <syspropertyset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
395 <propertyref prefix="run-sys-prop."/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
396 <mapper from="run-sys-prop.*" to="*" type="glob"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
397 </syspropertyset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
398 <customize/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
399 </java>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
400 </sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
401 </macrodef>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
402 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
403 <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" name="-profile-init-check">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
404 <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
405 <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
406 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
407 <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
408 <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
409 <attribute default="${main.class}" name="name"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
410 <attribute default="${debug.classpath}" name="classpath"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
411 <attribute default="" name="stopclassname"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
412 <sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
413 <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
414 <classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
415 <path path="@{classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
416 </classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
417 </nbjpdastart>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
418 </sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
419 </macrodef>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
420 <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
421 <attribute default="${build.classes.dir}" name="dir"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
422 <sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
423 <nbjpdareload>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
424 <fileset dir="@{dir}" includes="${fix.classes}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
425 <include name="${fix.includes}*.class"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
426 </fileset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
427 </nbjpdareload>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
428 </sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
429 </macrodef>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
430 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
431 <target name="-init-debug-args">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
432 <property name="version-output" value="java version &quot;${ant.java.version}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
433 <condition property="have-jdk-older-than-1.4">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
434 <or>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
435 <contains string="${version-output}" substring="java version &quot;1.0"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
436 <contains string="${version-output}" substring="java version &quot;1.1"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
437 <contains string="${version-output}" substring="java version &quot;1.2"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
438 <contains string="${version-output}" substring="java version &quot;1.3"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
439 </or>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
440 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
441 <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
442 <istrue value="${have-jdk-older-than-1.4}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
443 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
444 <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
445 <os family="windows"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
446 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
447 <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
448 <isset property="debug.transport"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
449 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
450 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
451 <target depends="-init-debug-args" name="-init-macrodef-debug">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
452 <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
453 <attribute default="${main.class}" name="classname"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
454 <attribute default="${debug.classpath}" name="classpath"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
455 <element name="customize" optional="true"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
456 <sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
457 <java classname="@{classname}" dir="${work.dir}" fork="true">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
458 <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
459 <jvmarg line="${debug-args-line}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
460 <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
461 <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
462 <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
463 <jvmarg line="${run.jvmargs}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
464 <classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
465 <path path="@{classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
466 </classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
467 <syspropertyset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
468 <propertyref prefix="run-sys-prop."/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
469 <mapper from="run-sys-prop.*" to="*" type="glob"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
470 </syspropertyset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
471 <customize/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
472 </java>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
473 </sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
474 </macrodef>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
475 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
476 <target name="-init-macrodef-java">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
477 <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
478 <attribute default="${main.class}" name="classname"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
479 <attribute default="${run.classpath}" name="classpath"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
480 <element name="customize" optional="true"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
481 <sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
482 <java classname="@{classname}" dir="${work.dir}" fork="true">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
483 <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
484 <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
485 <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
486 <jvmarg line="${run.jvmargs}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
487 <classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
488 <path path="@{classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
489 </classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
490 <syspropertyset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
491 <propertyref prefix="run-sys-prop."/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
492 <mapper from="run-sys-prop.*" to="*" type="glob"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
493 </syspropertyset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
494 <customize/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
495 </java>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
496 </sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
497 </macrodef>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
498 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
499 <target name="-init-macrodef-copylibs">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
500 <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
501 <attribute default="${manifest.file}" name="manifest"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
502 <element name="customize" optional="true"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
503 <sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
504 <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
505 <pathconvert property="run.classpath.without.build.classes.dir">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
506 <path path="${run.classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
507 <map from="${build.classes.dir.resolved}" to=""/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
508 </pathconvert>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
509 <pathconvert pathsep=" " property="jar.classpath">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
510 <path path="${run.classpath.without.build.classes.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
511 <chainedmapper>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
512 <flattenmapper/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
513 <globmapper from="*" to="lib/*"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
514 </chainedmapper>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
515 </pathconvert>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
516 <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
517 <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
518 <fileset dir="${build.classes.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
519 <manifest>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
520 <attribute name="Class-Path" value="${jar.classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
521 <customize/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
522 </manifest>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
523 </copylibs>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
524 </sequential>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
525 </macrodef>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
526 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
527 <target name="-init-presetdef-jar">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
528 <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
529 <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
530 <j2seproject1:fileset dir="${build.classes.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
531 </jar>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
532 </presetdef>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
533 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
534 <target name="-init-ap-cmdline-properties">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
535 <property name="annotation.processing.enabled" value="true"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
536 <property name="annotation.processing.processors.list" value=""/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
537 <property name="annotation.processing.processor.options" value=""/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
538 <property name="annotation.processing.run.all.processors" value="true"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
539 <property name="javac.processorpath" value="${javac.classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
540 <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
541 <condition property="ap.supported.internal" value="true">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
542 <not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
543 <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
544 </not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
545 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
546 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
547 <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
548 <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
549 <isfalse value="${annotation.processing.run.all.processors}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
550 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
551 <condition else="" property="ap.proc.none.internal" value="-proc:none">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
552 <isfalse value="${annotation.processing.enabled}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
553 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
554 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
555 <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
556 <property name="ap.cmd.line.internal" value=""/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
557 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
558 <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar,-init-ap-cmdline" name="init"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
559 <!--
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
560 ===================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
561 COMPILATION SECTION
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
562 ===================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
563 -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
564 <target name="-deps-jar-init" unless="built-jar.properties">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
565 <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
566 <delete file="${built-jar.properties}" quiet="true"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
567 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
568 <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
569 <echo level="warn" message="Cycle detected: ConnectionManager was already built"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
570 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
571 <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
572 <mkdir dir="${build.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
573 <touch file="${built-jar.properties}" verbose="false"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
574 <property file="${built-jar.properties}" prefix="already.built.jar."/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
575 <antcall target="-warn-already-built-jar"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
576 <propertyfile file="${built-jar.properties}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
577 <entry key="${basedir}" value=""/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
578 </propertyfile>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
579 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
580 <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
581 <target depends="init" name="-check-automatic-build">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
582 <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
583 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
584 <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
585 <antcall target="clean"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
586 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
587 <target depends="init,deps-jar" name="-pre-pre-compile">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
588 <mkdir dir="${build.classes.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
589 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
590 <target name="-pre-compile">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
591 <!-- Empty placeholder for easier customization. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
592 <!-- You can override this target in the ../build.xml file. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
593 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
594 <target if="do.depend.true" name="-compile-depend">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
595 <pathconvert property="build.generated.subdirs">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
596 <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
597 <include name="*"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
598 </dirset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
599 </pathconvert>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
600 <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
601 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
602 <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
603 <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
604 <copy todir="${build.classes.dir}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
605 <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
606 </copy>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
607 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
608 <target if="has.persistence.xml" name="-copy-persistence-xml">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
609 <mkdir dir="${build.classes.dir}/META-INF"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
610 <copy todir="${build.classes.dir}/META-INF">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
611 <fileset dir="${meta.inf.dir}" includes="persistence.xml"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
612 </copy>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
613 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
614 <target name="-post-compile">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
615 <!-- Empty placeholder for easier customization. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
616 <!-- You can override this target in the ../build.xml file. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
617 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
618 <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
619 <target name="-pre-compile-single">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
620 <!-- Empty placeholder for easier customization. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
621 <!-- You can override this target in the ../build.xml file. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
622 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
623 <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
624 <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
625 <j2seproject3:force-recompile/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
626 <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
627 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
628 <target name="-post-compile-single">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
629 <!-- Empty placeholder for easier customization. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
630 <!-- You can override this target in the ../build.xml file. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
631 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
632 <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
633 <!--
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
634 ====================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
635 JAR BUILDING SECTION
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
636 ====================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
637 -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
638 <target depends="init" name="-pre-pre-jar">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
639 <dirname file="${dist.jar}" property="dist.jar.dir"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
640 <mkdir dir="${dist.jar.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
641 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
642 <target name="-pre-jar">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
643 <!-- Empty placeholder for easier customization. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
644 <!-- You can override this target in the ../build.xml file. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
645 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
646 <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive" name="-do-jar-without-manifest" unless="manifest.available-mkdist.available">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
647 <j2seproject1:jar/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
648 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
649 <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class-mkdist.available">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
650 <j2seproject1:jar manifest="${manifest.file}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
651 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
652 <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
653 <j2seproject1:jar manifest="${manifest.file}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
654 <j2seproject1:manifest>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
655 <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
656 </j2seproject1:manifest>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
657 </j2seproject1:jar>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
658 <echo level="info">To run this application from the command line without Ant, try:</echo>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
659 <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
660 <property location="${dist.jar}" name="dist.jar.resolved"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
661 <pathconvert property="run.classpath.with.dist.jar">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
662 <path path="${run.classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
663 <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
664 </pathconvert>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
665 <echo level="info">java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
666 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
667 <target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
668 <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
669 <touch file="${tmp.manifest.file}" verbose="false"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
670 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
671 <target depends="init" if="do.archive+manifest.available" name="-do-jar-with-libraries-copy-manifest">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
672 <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
673 <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
674 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
675 <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest" if="do.archive+main.class.available" name="-do-jar-with-libraries-set-main">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
676 <manifest file="${tmp.manifest.file}" mode="update">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
677 <attribute name="Main-Class" value="${main.class}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
678 </manifest>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
679 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
680 <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-with-libraries-set-splashscreen">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
681 <basename file="${application.splash}" property="splashscreen.basename"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
682 <mkdir dir="${build.classes.dir}/META-INF"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
683 <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
684 <manifest file="${tmp.manifest.file}" mode="update">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
685 <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
686 </manifest>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
687 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
688 <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen" if="do.mkdist" name="-do-jar-with-libraries-pack">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
689 <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
690 <echo level="info">To run this application from the command line without Ant, try:</echo>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
691 <property location="${dist.jar}" name="dist.jar.resolved"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
692 <echo level="info">java -jar "${dist.jar.resolved}"</echo>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
693 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
694 <target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
695 <delete>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
696 <fileset file="${tmp.manifest.file}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
697 </delete>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
698 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
699 <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen,-do-jar-with-libraries-pack,-do-jar-with-libraries-delete-manifest" name="-do-jar-with-libraries"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
700 <target name="-post-jar">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
701 <!-- Empty placeholder for easier customization. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
702 <!-- You can override this target in the ../build.xml file. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
703 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
704 <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
705 <!--
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
706 =================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
707 EXECUTION SECTION
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
708 =================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
709 -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
710 <target depends="init,compile" description="Run a main class." name="run">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
711 <j2seproject1:java>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
712 <customize>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
713 <arg line="${application.args}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
714 </customize>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
715 </j2seproject1:java>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
716 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
717 <target name="-do-not-recompile">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
718 <property name="javac.includes.binary" value=""/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
719 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
720 <target depends="init,compile-single" name="run-single">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
721 <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
722 <j2seproject1:java classname="${run.class}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
723 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
724 <target depends="init,compile-test-single" name="run-test-with-main">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
725 <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
726 <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
727 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
728 <!--
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
729 =================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
730 DEBUGGING SECTION
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
731 =================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
732 -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
733 <target depends="init" if="netbeans.home" name="-debug-start-debugger">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
734 <j2seproject1:nbjpdastart name="${debug.class}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
735 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
736 <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
737 <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
738 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
739 <target depends="init,compile" name="-debug-start-debuggee">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
740 <j2seproject3:debug>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
741 <customize>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
742 <arg line="${application.args}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
743 </customize>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
744 </j2seproject3:debug>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
745 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
746 <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
747 <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
748 <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
749 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
750 <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
751 <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
752 <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
753 <j2seproject3:debug classname="${debug.class}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
754 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
755 <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
756 <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
757 <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
758 <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
759 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
760 <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
761 <target depends="init" name="-pre-debug-fix">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
762 <fail unless="fix.includes">Must set fix.includes</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
763 <property name="javac.includes" value="${fix.includes}.java"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
764 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
765 <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
766 <j2seproject1:nbjpdareload/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
767 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
768 <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
769 <!--
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
770 =================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
771 PROFILING SECTION
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
772 =================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
773 -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
774 <target depends="profile-init,compile" description="Profile a project in the IDE." if="netbeans.home" name="profile">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
775 <nbprofiledirect>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
776 <classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
777 <path path="${run.classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
778 </classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
779 </nbprofiledirect>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
780 <profile/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
781 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
782 <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="netbeans.home" name="profile-single">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
783 <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
784 <nbprofiledirect>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
785 <classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
786 <path path="${run.classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
787 </classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
788 </nbprofiledirect>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
789 <profile classname="${profile.class}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
790 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
791 <!--
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
792 =========================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
793 APPLET PROFILING SECTION
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
794 =========================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
795 -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
796 <target depends="profile-init,compile-single" if="netbeans.home" name="profile-applet">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
797 <nbprofiledirect>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
798 <classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
799 <path path="${run.classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
800 </classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
801 </nbprofiledirect>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
802 <profile classname="sun.applet.AppletViewer">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
803 <customize>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
804 <arg value="${applet.url}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
805 </customize>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
806 </profile>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
807 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
808 <!--
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
809 =========================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
810 TESTS PROFILING SECTION
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
811 =========================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
812 -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
813 <target depends="profile-init,compile-test-single" if="netbeans.home" name="profile-test-single">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
814 <nbprofiledirect>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
815 <classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
816 <path path="${run.test.classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
817 </classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
818 </nbprofiledirect>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
819 <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
820 <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
821 <jvmarg value="${profiler.info.jvmargs.agent}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
822 <jvmarg line="${profiler.info.jvmargs}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
823 <test name="${profile.class}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
824 <classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
825 <path path="${run.test.classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
826 </classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
827 <syspropertyset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
828 <propertyref prefix="test-sys-prop."/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
829 <mapper from="test-sys-prop.*" to="*" type="glob"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
830 </syspropertyset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
831 <formatter type="brief" usefile="false"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
832 <formatter type="xml"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
833 </junit>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
834 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
835 <!--
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
836 ===============
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
837 JAVADOC SECTION
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
838 ===============
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
839 -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
840 <target depends="init" if="have.sources" name="-javadoc-build">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
841 <mkdir dir="${dist.javadoc.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
842 <javadoc additionalparam="${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}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
843 <classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
844 <path path="${javac.classpath}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
845 </classpath>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
846 <fileset dir="${src.dir}" excludes="*.java,${excludes}" includes="${includes}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
847 <filename name="**/*.java"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
848 </fileset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
849 <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
850 <include name="**/*.java"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
851 <exclude name="*.java"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
852 </fileset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
853 </javadoc>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
854 <copy todir="${dist.javadoc.dir}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
855 <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
856 <filename name="**/doc-files/**"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
857 </fileset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
858 <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
859 <include name="**/doc-files/**"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
860 </fileset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
861 </copy>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
862 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
863 <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
864 <nbbrowse file="${dist.javadoc.dir}/index.html"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
865 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
866 <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
867 <!--
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
868 =========================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
869 JUNIT COMPILATION SECTION
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
870 =========================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
871 -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
872 <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
873 <mkdir dir="${build.test.classes.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
874 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
875 <target name="-pre-compile-test">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
876 <!-- Empty placeholder for easier customization. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
877 <!-- You can override this target in the ../build.xml file. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
878 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
879 <target if="do.depend.true" name="-compile-test-depend">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
880 <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
881 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
882 <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
883 <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}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
884 <copy todir="${build.test.classes.dir}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
885 <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
886 </copy>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
887 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
888 <target name="-post-compile-test">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
889 <!-- Empty placeholder for easier customization. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
890 <!-- You can override this target in the ../build.xml file. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
891 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
892 <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
893 <target name="-pre-compile-test-single">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
894 <!-- Empty placeholder for easier customization. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
895 <!-- You can override this target in the ../build.xml file. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
896 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
897 <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
898 <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
899 <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
900 <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}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
901 <copy todir="${build.test.classes.dir}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
902 <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
903 </copy>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
904 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
905 <target name="-post-compile-test-single">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
906 <!-- Empty placeholder for easier customization. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
907 <!-- You can override this target in the ../build.xml file. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
908 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
909 <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
910 <!--
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
911 =======================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
912 JUNIT EXECUTION SECTION
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
913 =======================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
914 -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
915 <target depends="init" if="have.tests" name="-pre-test-run">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
916 <mkdir dir="${build.test.results.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
917 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
918 <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
919 <j2seproject3:junit testincludes="**/*Test.java"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
920 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
921 <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
922 <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
923 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
924 <target depends="init" if="have.tests" name="test-report"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
925 <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
926 <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
927 <target depends="init" if="have.tests" name="-pre-test-run-single">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
928 <mkdir dir="${build.test.results.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
929 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
930 <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
931 <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
932 <j2seproject3:junit excludes="" includes="${test.includes}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
933 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
934 <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
935 <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
936 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
937 <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"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
938 <!--
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
939 =======================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
940 JUNIT DEBUGGING SECTION
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
941 =======================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
942 -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
943 <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
944 <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
945 <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
946 <delete file="${test.report.file}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
947 <mkdir dir="${build.test.results.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
948 <j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
949 <customize>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
950 <syspropertyset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
951 <propertyref prefix="test-sys-prop."/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
952 <mapper from="test-sys-prop.*" to="*" type="glob"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
953 </syspropertyset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
954 <arg value="${test.class}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
955 <arg value="showoutput=true"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
956 <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
957 <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
958 </customize>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
959 </j2seproject3:debug>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
960 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
961 <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
962 <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
963 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
964 <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
965 <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
966 <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
967 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
968 <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
969 <!--
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
970 =========================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
971 APPLET EXECUTION SECTION
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
972 =========================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
973 -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
974 <target depends="init,compile-single" name="run-applet">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
975 <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
976 <j2seproject1:java classname="sun.applet.AppletViewer">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
977 <customize>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
978 <arg value="${applet.url}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
979 </customize>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
980 </j2seproject1:java>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
981 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
982 <!--
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
983 =========================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
984 APPLET DEBUGGING SECTION
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
985 =========================
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
986 -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
987 <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
988 <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
989 <j2seproject3:debug classname="sun.applet.AppletViewer">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
990 <customize>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
991 <arg value="${applet.url}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
992 </customize>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
993 </j2seproject3:debug>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
994 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
995 <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
996 <!--
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
997 ===============
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
998 CLEANUP SECTION
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
999 ===============
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1000 -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1001 <target name="-deps-clean-init" unless="built-clean.properties">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1002 <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1003 <delete file="${built-clean.properties}" quiet="true"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1004 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1005 <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1006 <echo level="warn" message="Cycle detected: ConnectionManager was already built"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1007 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1008 <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1009 <mkdir dir="${build.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1010 <touch file="${built-clean.properties}" verbose="false"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1011 <property file="${built-clean.properties}" prefix="already.built.clean."/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1012 <antcall target="-warn-already-built-clean"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1013 <propertyfile file="${built-clean.properties}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1014 <entry key="${basedir}" value=""/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1015 </propertyfile>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1016 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1017 <target depends="init" name="-do-clean">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1018 <delete dir="${build.dir}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1019 <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1020 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1021 <target name="-post-clean">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1022 <!-- Empty placeholder for easier customization. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1023 <!-- You can override this target in the ../build.xml file. -->
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1024 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1025 <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1026 <target name="-check-call-dep">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1027 <property file="${call.built.properties}" prefix="already.built."/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1028 <condition property="should.call.dep">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1029 <not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1030 <isset property="already.built.${call.subproject}"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1031 </not>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1032 </condition>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1033 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1034 <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1035 <ant antfile="${call.script}" inheritall="false" target="${call.target}">
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1036 <propertyset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1037 <propertyref prefix="transfer."/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1038 <mapper from="transfer.*" to="*" type="glob"/>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1039 </propertyset>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1040 </ant>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1041 </target>
960fe1aa1c10 Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1042 </project>