forked from betterFORM/betterFORM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.properties.xml
314 lines (302 loc) · 18.6 KB
/
build.properties.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
<!--
~ Copyright (c) 2012. betterFORM Project - http://www.betterform.de
~ Licensed under the terms of BSD License
-->
<root>
<properties>
<!-- path to forms for modules (actual: src/main/xforms src/main/html)-->
<rootDir>..</rootDir>
<!-- optional variable if user wants to deploy betterform to a different path-->
<webappPath>/Applications/apache-tomcat-5.5.26/webapps</webappPath>
<javac>
<deprecation>off</deprecation>
<debug>on</debug>
<optimize>off</optimize>
<version>1.5</version>
</javac>
<dojo>dojo-release-1.6.1-src</dojo>
<timeline>timeline_libraries_v2.3.0</timeline>
<syntaxhighlighter>syntaxhighlighter_3.0.83</syntaxhighlighter>
</properties>
<app>
<name>betterform</name>
<version>4.1</version>
</app>
<core>
<app>
<name>betterform-core</name>
<version>4.1</version>
</app>
<transform>
<classpath pathid="transform.class.path" description="classpath for saxon XPath and XSLT engine">
<pathelement location="${core.dir}/src/main/lib/saxon-9.2.1.5.jar" groupid="net.sf.saxon" version="9.2.1.5" artifactId="saxon"/>
</classpath>
</transform>
<compile>
<classpath pathid="compile.class.path" description="classpath for compiling core classes">
<pathelement path="${core.dir}/target/classes"/>
<path refid="transform.class.path"/>
<pathelement location="${core.dir}/src/main/lib/commons-codec-1.4.jar" groupid="commons-codec"
version="1.4" artifactId="commons-codec"/>
<pathelement location="${core.dir}/src/main/lib/commons-fileupload-1.2.1.jar"
groupid="commons-fileupload" version="1.2.1" artifactId="commons-fileupload"/>
<!-- <pathelement location="${core.dir}/src/main/lib/commons-httpclient-3.1.jar" groupid="commons-httpclient" version="3.1" artifactId="commons-httpclient"/> -->
<pathelement location="${core.dir}/src/main/lib/httpcore-4.1.jar" groupid="httpcomponents" version="4.1"
artifactId="httpcomponents-core"/>
<pathelement location="${core.dir}/src/main/lib/httpclient-4.1.1.jar" groupid="httpcomponents"
version="4.1.1" artifactId="httpcomponents-client"/>
<pathelement location="${core.dir}/src/main/lib/httpmime-4.1.1.jar" groupid="httpcomponents" version="4.1.1"
artifactId="httpcomponents-mime"/>
<pathelement location="${core.dir}/src/main/lib/commons-io-1.4.jar" groupid="commons-io" version="1.4"
artifactId="commons-io"/>
<pathelement location="${core.dir}/src/main/lib/commons-lang-2.4.jar" groupid="commons-lang"
version="2.4" artifactId="commons-lang"/>
<pathelement location="${core.dir}/src/main/lib/commons-logging-1.1.1.jar" groupid="commons-logging"
version="1.1.1" artifactId="commons-logging"/>
<pathelement location="${core.dir}/src/main/lib/activation-1.1.1.jar" groupid="javax.activation"
version="1.1.1" artifactId="activation"/>
<pathelement location="${core.dir}/src/main/lib/mail-1.4.2.jar" groupid="javax.mail" version="1.4.2"
artifactId="mail"/>
<pathelement location="${core.dir}/src/main/lib/log4j-1.2.15.jar" groupid="log4j" version="1.2.15"
artifactId="log4j"/>
<!--
<pathelement location="${core.dir}/src/main/lib/saxon-dom-9.1.0.8.jar" groupid="net.sf.saxon" version="9.1.0.8" artifactId="saxon-dom"/>
<pathelement location="${core.dir}/src/main/lib/saxon-9.1.0.8.jar" groupid="net.sf.saxon" version="9.1.0.8" artifactId="saxon"/>
-->
<pathelement location="${core.dir}/src/main/lib/xercesImpl-2.11.02.jar" groupid="xerces" version="2.11.02" artifactId="xercesImpl"/>
<pathelement location="${core.dir}/src/main/lib/xml-apis-1.4.01.jar" groupid="xml-apis" artifactId="xml-apis" version="1.4.01"/>
<pathelement location="${core.dir}/src/main/lib/xmlrpc-common-3.1.2.jar" groupid="org.apache.xmlrpc" version="3.1.2" artifactId="xmlrpc-common"/>
<pathelement location="${core.dir}/src/main/lib/xmlrpc-client-3.1.2.jar" groupid="org.apache.xmlrpc" version="3.1.2" artifactId="xmlrpc-client"/>
<pathelement location="${core.dir}/src/main/lib/xmlrpc-server-3.1.2.jar" groupid="org.apache.xmlrpc" version="3.1.2" artifactId="xmlrpc-server"/>
<pathelement location="${core.dir}/src/main/lib/ehcache-1.6.2.jar" groupid="net.sf.ehcache" version="1.6.2" artifactId="ehcache"/>
<pathelement location="${core.dir}/src/main/lib/ant-1.8.2.jar" groupid="org.apache.ant" version="1.8.2" artifactId="ant"/>
<!--
<pathelement location="${core.dir}/../tools/AppEngine/GAE.jar"
groupid="GoogleAppEngine" version="0.0.1"
artifactId="gae"/>
-->
</classpath>
</compile>
<test>
<classpath pathid="test.class.path" description="classpath for compiling core with test classes">
<pathelement location="${core.dir}/src/test/lib/junit-4.10.jar" groupid="junit" version="4.10" artifactId="junit" scope="test"/>
<path refid="compile.class.path"/>
<pathelement path="${core.dir}/target/test-classes"/>
<pathelement path="${core.dir}/src/test/lib/jmdns.jar"/>
<pathelement path="${core.dir}/src/test/lib/log4j-zeroconf.jar"/>
</classpath>
</test>
</core>
<web>
<app>
<name>betterform</name>
<version>4.1</version>
</app>
<transform>
<classpath pathid="transform2.class.path" description="classpath for saxon XPath and XSLT engine">
<path refid="compile.class.path"/>
</classpath>
</transform>
<compile>
<classpath pathid="web.class.path" description="classpath for compiling web classes">
<path refid="compile.class.path"/>
<pathelement location="${web.dir}/src/main/lib/dwr-2.0.5.jar" groupid="org.directwebremoting.dwr" version="2.0.5" artifactId="dwr"/>
<pathelement location="${web.dir}/src/main/lib/servlet-api-2.4.jar" groupid="javax.servlet" version="2.4" artifactId="servlet-api" scope="provided"/>
</classpath>
</compile>
<test>
<!-- Selenium Properties -->
<selenium>
<!-- which browser to use for tests -->
<browser>*firefox</browser>
<url-to-test-forms>/betterform/forms</url-to-test-forms>
<!--server properties -->
<server>
<!-- <jar>${basedir}/src/main/lib/selenium-server-1.0.1.jar</jar> -->
<jar>${basedir}/src/main/lib/selenium/selenium-server-standalone-2.0a5.jar</jar>
<host>localhost</host>
<port>4444</port>
<url>/selenium-server/core/index.html</url>
<errorsBeginAt>404</errorsBeginAt>
</server>
</selenium>
<!-- home of the tomcat-server which serves testpages -->
<tomcat>
<download-url>http://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.apache.org/dist/tomcat/tomcat-6/v6.0.26/bin/apache-tomcat-6.0.26.zip</download-url>
<version>apache-tomcat-6.0.26</version>
<shutdownport>42000</shutdownport>
<port>42042</port>
<host>localhost</host>
</tomcat>
<classpath pathid="web.test.class.path" description="classpath for compiling web classes">
<path refid="web.class.path"/>
<path refid="test.class.path"/>
<pathelement path="${web.dir}/target/test-classes"/>
<pathelement location="${web.dir}/src/main/lib/selenium/selenium-java-client-driver-1.0.1.jar" groupid="org.seleniumhq.selenium.client-drivers" version="1.0.1" artifactId="selenium-java-client-driver" scope="test"/>
</classpath>
<classpath pathid="webdriver.test.class.path" description="classpath for compiling webdriver based classes">
<pathelement scope="test" location="${web.dir}/src/test/lib/apache-mime4j-0.6.jar"
groupid="org.seleniumhq.selenium" version="0.6" artifactId="apache-mime"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/bsh-1.3.0.jar"
groupid="org.seleniumhq.selenium" version="1.3.0" artifactId="bsh"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/cglib-nodep-2.1_3.jar"
groupid="org.seleniumhq.selenium" version="2.1_3" artifactId="cglib-nodep"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/commons-codec-1.4.jar"
groupid="org.seleniumhq.selenium" version="1.4" artifactId="commons-codec"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/commons-collections-3.2.1.jar"
groupid="org.seleniumhq.selenium" version="3.2.1" artifactId="commons-collection"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/commons-exec-1.1.jar"
groupid="org.seleniumhq.selenium" version="1.1" artifactId="commons-exec"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/commons-io-2.0.1.jar"
groupid="org.seleniumhq.selenium" version="2.0.1" artifactId="commons-io"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/commons-lang-2.6.jar"
groupid="org.seleniumhq.selenium" version="2.6" artifactId="commons-lang"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/commons-logging-1.1.1.jar"
groupid="org.seleniumhq.selenium" version="1.1.1" artifactId="commons-logging"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/cssparser-0.9.5.jar"
groupid="org.seleniumhq.selenium" version="0.9.5" artifactId="cssparser"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/guava-10.0.1.jar"
groupid="org.seleniumhq.selenium" version="10.0.1" artifactId="guava"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/hamcrest-all-1.1.jar"
groupid="org.seleniumhq.selenium" version="1.1" artifactId="hamcrest-all"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/htmlunit-2.9.jar"
groupid="org.seleniumhq.selenium" version="2.9" artifactId="htmlunit"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/htmlunit-core-js-2.9.jar"
groupid="org.seleniumhq.selenium" version="2.9" artifactId="htmlunit-core-js"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/httpclient-4.1.2.jar"
groupid="org.seleniumhq.selenium" version="4.1.2" artifactId="httpclient"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/httpcore-4.1.3.jar"
groupid="org.seleniumhq.selenium" version="4.1.3" artifactId="httpcore"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/httpmime-4.1.2.jar"
groupid="org.seleniumhq.selenium" version="4.1.2" artifactId="httpmime"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/jcommander-1.13.jar"
groupid="org.seleniumhq.selenium" version="1.13" artifactId="jcommander"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/jna-3.4.0.jar"
groupid="org.seleniumhq.selenium" version="3.3.0" artifactId="jna"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/jna-platform-3.4.0.jar"
groupid="org.seleniumhq.selenium" version="3.3.0" artifactId="jna-platform"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/json-20080701.jar"
groupid="org.seleniumhq.selenium" version="20080701" artifactId="json"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/junit-dep-4.10.jar"
groupid="org.seleniumhq.selenium" version="4.10" artifactId="junit-dep"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/operadriver-v0.8.1.jar"
groupid="org.seleniumhq.selenium" version="v0.8.1" artifactId="operadriver"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/protobuf-java-2.4.1.jar"
groupid="org.seleniumhq.selenium" version="2.4.1" artifactId="protobuf-java"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/sac-1.3.jar"
groupid="org.seleniumhq.selenium" version="1.3" artifactId="sac"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/selenium-java-2.16.1.jar"
groupid="org.seleniumhq.selenium" version="2.16.1" artifactId="selenium-java"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/serializer-2.7.1.jar"
groupid="org.seleniumhq.selenium" version="2.7.1" artifactId="serializer"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/testng-6.0.1-nobsh-noguice.jar"
groupid="org.seleniumhq.selenium" version="6.0.1-nobsh-noguice" artifactId="testng"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/xalan-2.7.1.jar"
groupid="org.seleniumhq.selenium" version="2.7.1" artifactId="xalan"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/xercesImpl-2.9.1.jar"
groupid="org.seleniumhq.selenium" version="2.9.1" artifactId="xercesImpl"/>
<pathelement scope="test" location="${web.dir}/src/test/lib/xml-apis-1.3.04.jar"
groupid="org.seleniumhq.selenium" version="1.3.04" artifactId="xml-apis"/>
<pathelement scope="test" path="${web.dir}/target/classes"/>
</classpath>
<webdriver>
<firefox>
<binary>NOT USED YET - MAYBE MAKES NO SENSE</binary>
</firefox>
<tomcat>
<home>/var/lib/tomcat6</home>
</tomcat>
</webdriver>
<tomcat-webdriver>
<home>/var/lib/tomcat6</home>
</tomcat-webdriver>
</test>
</web>
<betty>
<app>
<name>betty</name>
<version>1.0</version>
</app>
<compile>
<classpath pathid="betty.class.path" description="classpath for compiling web classes">
<pathelement location="${betty.dir}/src/main/lib/plugin.jar" groupid="netscape" version="1.0" artifactId="netscape" scope="provided"/>
<path refid="compile.class.path"/>
</classpath>
</compile>
</betty>
<zaphod>
<app>
<name>zaphod</name>
<version>1.0</version>
</app>
</zaphod>
<xapp>
<app>
<name>xApplication</name>
<version>1.0</version>
</app>
</xapp>
<gae>
<compile>
<classpath pathid="gae.class.path" description="classpath for compiling web classes">
<path refid="web.class.path"/>
<pathelement location="${gae.dir}/lib/appengine-api.jar" groupid="google-appengine"
version="1.4.2" artifactId="gae"/>
<pathelement path="${gae.dir}/target/classes"/>
</classpath>
</compile>
</gae>
<!-- TODO: check if needed
<webtest>
<server>http://localhost:8080</server>
<url>/betterform/forms</url>
</webtest>
-->
<installer>
<!-- ### installerType must be either 'standard' or 'web'. Default value is 'web' ### -->
<installerType>standard</installerType>
<exist>
<version>1.4</version>
</exist>
<compile>
<classpath pathid="installer.class.path" description="classpath for compiling installer classes">
<!-- Use libs provided by eXist Installer -->
<!--
<pathelement location="${installer.dir}/src/main/lib/exist-1.4.jar" groupid="org.exist" version="1.4"
artifactId="exist"/>
<pathelement location="${installer.dir}/src/main/lib/xmldb.jar" groupid="org.xmldb" version="11112001"
artifactId="xmldb"/>
-->
<pathelement location="${installer.dir}/target/bf-XRX/exist.jar" groupid="org.exist" version="1.4" artifactId="exist"/>
<pathelement location="${installer.dir}/target/bf-XRX/lib/core/xmldb.jar" groupid="org.xmldb" version="11112001" artifactId="xmldb"/>
</classpath>
</compile>
<izPack>
<dir>/opt/izPack-4.3.4</dir>
</izPack>
<launch4j>
<dir>/opt/launch4j-3.0.2</dir>
</launch4j>
</installer>
<eXist>
<!-- point this to the place where you installed exist -->
<home>/Applications/betterFORM-4.0</home>
<!-- Leave this empty if you run eXist in root context -->
<!-- If you use the betterform XRX bundle this is 'betterform' -->
<context>/exist</context>
<!-- user name and password for the file storing tasks -->
<db>
<user>admin</user>
<passwd/>
<!-- The name of the collection where the betterFORM content should be stored -->
<rootcollection>
<name>betterform</name>
</rootcollection>
</db>
<!-- Name and port of the eXist server you want to use for the file storing tasks -->
<server>
<name>localhost</name>
<port>8080</port>
</server>
</eXist>
</root>