forked from TeamDev-Archive/OpenFaces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Building OpenFaces.html
512 lines (448 loc) · 28.1 KB
/
Building OpenFaces.html
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
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1251">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Courier;
panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:0in;
line-height:115%;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
h3
{mso-style-link:"Heading 3 Char";
margin-right:0in;
margin-left:0in;
font-size:13.5pt;
font-family:"Times New Roman","serif";
font-weight:bold;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{margin-right:0in;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
tt
{font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:.5in;
line-height:115%;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.Heading3Char
{mso-style-name:"Heading 3 Char";
mso-style-link:"Heading 3";
font-family:"Times New Roman","serif";
font-weight:bold;}
p.msolistparagraphcxspfirst, li.msolistparagraphcxspfirst, div.msolistparagraphcxspfirst
{mso-style-name:msolistparagraphcxspfirst;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
p.msolistparagraphcxspmiddle, li.msolistparagraphcxspmiddle, div.msolistparagraphcxspmiddle
{mso-style-name:msolistparagraphcxspmiddle;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
p.msolistparagraphcxsplast, li.msolistparagraphcxsplast, div.msolistparagraphcxsplast
{mso-style-name:msolistparagraphcxsplast;
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:.5in;
line-height:115%;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
p.msopapdefault, li.msopapdefault, div.msopapdefault
{mso-style-name:msopapdefault;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:0in;
line-height:115%;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.msochpdefault, li.msochpdefault, div.msochpdefault
{mso-style-name:msochpdefault;
margin-right:0in;
margin-left:0in;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
.MsoChpDefault
{font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in .5in .5in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal style='line-height:normal'><b><span style='font-size:13.5pt;
font-family:"Times New Roman","serif"'>OpenFaces Project Structure</span></b></p>
<p class=MsoNormal style='text-indent:.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Here’s a
directory structure of the OpenFaces project:</span></p>
<p class=MsoListParagraph style='text-indent:-.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><b><span style='font-family:Courier'>funcTests</span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> – automated
Selenium-based tests for OpenFaces functionality.</span></p>
<p class=MsoListParagraph style='text-indent:-.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><b><span style='font-family:Courier'>lib</span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> – third-party
libraries required for building and running OpenFaces modules.</span></p>
<p class=MsoListParagraph style='text-indent:-.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><b><span style='font-family:Courier'>libsrc</span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> – source code
for some of the third-party libraries.</span></p>
<p class=MsoListParagraph style='text-indent:-.25in;line-height:normal'><span
style='font-family:"Times New Roman","serif"'>-</span><span style='font-size:
7.0pt;font-family:"Times New Roman","serif"'>
</span><b><span style='font-family:Courier'>liveDemo</span></b></p>
<p class=MsoListParagraph style='margin-left:1.0in;text-indent:-.25in;
line-height:normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><b><span style='font-family:Courier'>core</span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> – Source code
for the OpenFaces LiveDemo. It is not a self-sufficient application, but it
contains most of the demo code for creating two versions of the demo – Facelets
and JSP versions.</span></p>
<p class=MsoListParagraph style='margin-left:1.0in;text-indent:-.25in;
line-height:normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><b><span style='font-family:Courier'>facelets</span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> –
Facelets-based version of OpenFaces LiveDemo.</span></p>
<p class=MsoListParagraph style='margin-left:1.0in;text-indent:-.25in;
line-height:normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><b><span style='font-family:Courier'>jsp</span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> – JSP-based
version of OpenFaces LiveDemo.</span></p>
<p class=MsoListParagraph style='text-indent:-.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><b><span style='font-family:Courier'>openFaces</span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> – Source code
for the OpenFaces library itself.</span></p>
<p class=MsoListParagraph style='text-indent:-.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><b><span style='font-family:Courier'>seleniumInspector</span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> – A utility
package for running Selenium-based tests. Used by the </span><span
style='font-family:Courier'>funcTests</span><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'> module.</span></p>
<p class=MsoListParagraph style='text-indent:-.25in;line-height:normal'><span
style='font-family:"Times New Roman","serif"'>-</span><span style='font-size:
7.0pt;font-family:"Times New Roman","serif"'>
</span><b><span style='font-family:Courier'>testApp</span></b></p>
<p class=MsoListParagraph style='margin-left:1.0in;text-indent:-.25in;
line-height:normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><b><span style='font-family:Courier'>core</span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> – Source
code for the OpenFaces Test Application. It is not a self-sufficient
application, but it contains most of the application code for creating two
versions of the application – Facelets and JSP-based versions.</span></p>
<p class=MsoListParagraph style='margin-left:1.0in;text-indent:-.25in;
line-height:normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><b><span style='font-family:Courier'>facelets</span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> –
Facelets-based version of OpenFaces Test Application. </span></p>
<p class=MsoListParagraph style='margin-left:1.0in;text-indent:-.25in;
line-height:normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><b><span style='font-family:Courier'>jsp</span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> – JSP-based
version of OpenFaces Test Application.</span></p>
<p class=MsoListParagraph style='text-indent:-.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><b><span style='font-family:Courier'>testLib</span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> – third-party
libraries required for functional testing.</span></p>
<p class=MsoNormal style='text-indent:.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>You may build
OpenFaces project by several ways:</span></p>
<p class=MsoListParagraph style='text-indent:-.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Using
Eclipse IDE.</span></p>
<p class=MsoListParagraph style='text-indent:-.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Using
Intellij Idea IDE.</span></p>
<p class=MsoListParagraph style='text-indent:-.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Using
Ant build tool.</span></p>
<p class=MsoNormal style='margin-left:.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>After building
application you may find OpenFaces library archive and web application archives
for running Demo and Test applications. </span></p>
<p class=MsoNormal style='line-height:normal'><b><span style='font-size:13.5pt;
font-family:"Times New Roman","serif"'>Configuring Eclipse</span></b></p>
<p class=MsoNormal style='margin-left:.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>OpenFaces
project requires Eclipse 3.4 or higher to run.</span></p>
<p class=MsoNormal style='margin-left:.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> The
following configurations should be made in Workspace preferences to run
OpenFaces:</span></p>
<p class=MsoListParagraph style='margin-top:0in;margin-right:0in;margin-bottom:
0in;margin-left:.75in;margin-bottom:.0001pt;text-indent:-.25in;line-height:
normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>1.</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Install
<b>JDK version 1.5</b>. Set Compiler Compliance Level to <b>1.5</b>.</span></p>
<p class=MsoListParagraph style='margin-top:0in;margin-right:0in;margin-bottom:
0in;margin-left:.75in;margin-bottom:.0001pt;text-indent:-.25in;line-height:
normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>2.</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Define
<b>Apache Tomcat v6.0</b> Server Runtime Environment that is referenced to
Tomcat 6.0 installation folder.</span></p>
<p class=MsoListParagraph style='margin-top:0in;margin-right:0in;margin-bottom:
0in;margin-left:.75in;margin-bottom:.0001pt;text-indent:-.25in;line-height:
normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>3.</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Set
workspace <b>Text file encoding</b> preference to <b>UTF-8</b> to ensure the
correct interpretation of internationalized strings in source code.</span></p>
<p class=MsoListParagraph style='margin-top:0in;margin-right:0in;margin-bottom:
0in;margin-left:.75in;margin-bottom:.0001pt;text-indent:-.25in;line-height:
normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>4.</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Define
'<b>ProjectRoot</b>' variable in <b>Linked Resources</b> preference page that
links to the OpenFaces project's root folder in file system.</span></p>
<p class=MsoListParagraph style='margin-top:0in;margin-right:0in;margin-bottom:
0in;margin-left:.75in;margin-bottom:.0001pt;line-height:normal'><span
style='font-size:9.0pt;font-family:"Times New Roman","serif"'>(For this purpose
open Workspace Preferences dialog, type Linked Resources in quick search field,
choose Linked Resources preference page, check the Enable Linked Resources
check-box if unchecked, add new path variable named ‘ProjectRoot’ and choose project’s
root folder location).</span></p>
<p class=MsoNormal style='line-height:normal'><b><span style='font-size:13.5pt;
font-family:"Times New Roman","serif"'> </span></b></p>
<p class=MsoNormal style='line-height:normal'><b><span style='font-size:13.5pt;
font-family:"Times New Roman","serif"'>Configuring Idea</span></b></p>
<p class=MsoNormal style='margin-left:.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>You should have
IntelliJ IDEA 9.0.1 or higher to work with the OpenFaces project. Idea project
file is named </span><span style='font-size:12.0pt;font-family:Courier'>OpenFaces.ipr</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> .</span></p>
<p class=MsoNormal style='text-indent:.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>In order for
project files taken from SVN to work without any modifications the following
system-wide Idea settings must be configured:</span></p>
<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;line-height:
normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>1.</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>There
must be a JDK version 1.5.0_x in Idea named "<b>1.5</b>".</span></p>
<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;line-height:
normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>2.</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Configure
the Tomcat 6.0.x server named "<b>Tomcat 6</b>".</span></p>
<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;line-height:
normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>3.</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>File
encoding should be set to <b>UTF-8</b> to ensure correct interpretation of
internationalized strings in source code (configurable on the <i>Settings |
Project Settings | File Encodings </i>page of Idea settings).</span></p>
<p class=MsoNormal style='line-height:normal'><b><span style='font-size:13.5pt;
font-family:"Times New Roman","serif"'> </span></b></p>
<p class=MsoNormal style='line-height:normal'><b><span style='font-size:13.5pt;
font-family:"Times New Roman","serif"'>Using Ant Scripts</span></b></p>
<p class=MsoNormal style='margin-left:.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>There is an
ability to build the OpenFaces library, Test Application and Live Demo using
Ant scripts. To do this, find </span><span style='font-size:12.0pt;font-family:
Courier'>build.xml</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>
file in project’s root folder and run the default target named </span><span
style='font-size:12.0pt;font-family:Courier'>build</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>. The result of
executing the script is OpenFaces library file and several WAR files.</span></p>
<p class=MsoNormal style='margin-left:.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>The OpenFaces
library jar file may be found at </span><span style='font-family:Courier'><ProjectRoot>\openFaces\target\openfaces.jar</span><span
style='font-size:10.0pt;font-family:Courier'>.</span></p>
<p class=MsoNormal style='margin-left:.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>WAR files for
Demo and Test applications can be found in the following directories:</span></p>
<p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;
line-height:normal'><span style='font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span style='font-family:Courier'><ProjectRoot>\liveDemo\facelets\target\</span></p>
<p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;
line-height:normal'><span style='font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span style='font-family:Courier'><ProjectRoot>\liveDemo\jsp\target\</span></p>
<p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;
line-height:normal'><span style='font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span style='font-family:Courier'><ProjectRoot>\testApp\facelets\target\</span></p>
<p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;
line-height:normal'><span style='font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span style='font-family:Courier'><ProjectRoot>\testApp\jsp\target\</span></p>
<p class=MsoNormal style='line-height:normal'><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'> </span></p>
<p class=MsoNormal style='line-height:normal'><b><span style='font-size:13.5pt;
font-family:"Times New Roman","serif"'>Running</span></b><b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> </span></b><b><span
style='font-size:13.5pt;font-family:"Times New Roman","serif"'>Tests</span></b></p>
<p class=MsoNormal style='margin-left:.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>You may also run
functional Selenium tests after building and deploying test and demo
applications.</span></p>
<p class=MsoNormal style='margin-left:.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Here's a list of
ant targets that can be run from the project's root folder for running tests:</span></p>
<table class=MsoNormalTable border=0 cellpadding=0 style='margin-left:22.5pt'>
<tr>
<td width=225 valign=top style='width:168.75pt;padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:10.0pt;font-family:"Courier New"'>run-func-tests-facelets
</span></p>
</td>
<td width=959 style='width:719.25pt;padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Runs
Selenium tests for Facelets-based version of test and demo applications.<br>
<i>Requirements</i>: Installed Mozilla Firefox, test and demo applications
deployed under </span><span style='font-family:Courier'>TestAppFacelets_12</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> and </span><span
style='font-family:Courier'>LiveDemoFacelets_2x</span><span style='font-size:
12.0pt;font-family:"Times New Roman","serif"'> contexts accordingly. These
contexts may be defined at runtime with </span><span style='font-family:Courier'>test.app.context.path</span>
<span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>and </span><span
style='font-family:Courier'>demo.context.path</span><span style='font-size:
12.0pt;font-family:"Times New Roman","serif"'> system properties.</span></p>
</td>
</tr>
<tr>
<td width=225 valign=top style='width:168.75pt;padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:10.0pt;font-family:"Courier New"'>run-func-tests-jsp</span></p>
</td>
<td width=959 style='width:719.25pt;padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Runs
Selenium tests for jsp version test and demo applications.</span></p>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><i><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Requirements</span></i><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>: Installed
Mozilla Firefox, test and demo applications deployed under </span><span
style='font-family:Courier'>TestAppJsp_12</span><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'> and </span><span style='font-family:
Courier'>LiveDemo_2x</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>
contexts accordingly. These contexts may be defined at runtime with </span><span
style='font-family:Courier'>test.app.context.path</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> and </span><span
style='font-family:Courier'>demo.context.path</span><span style='font-size:
12.0pt;font-family:"Times New Roman","serif"'> system properties.</span></p>
</td>
</tr>
</table>
<p class=MsoNormal style='margin-left:.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>By default
applications must be deployed under </span><a href="http://localhost:8080"><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>http://localhost:8080</span></a><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>. To change this
setting find <i>funcTests.properties</i> file at </span><span style='font-family:
Courier'><ProjectRoot>\funcTests\source\</span><span style='font-size:
12.0pt;font-family:"Times New Roman","serif"'> folder and change </span><span
style='font-family:Courier'>org.openfaces.funcTests.startUrl</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> property.The
</span><span style='font-family:Courier'>funcTests.properties</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> file also
contains the </span><span style='font-family:Courier'>org.openfaces.funcTests.firefox.path</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> property that
specifies a location of the Firefox browser.</span></p>
<p class=MsoNormal style='text-indent:.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>By default
applications must be deployed under the following contexts:</span></p>
<p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;
line-height:normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span style='font-family:Courier'>LiveDemoFacelets</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> and </span><span
style='font-family:Courier'>TestAppFacelets</span><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'> for Facelets-based versions, </span></p>
<p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;
line-height:normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span style='font-family:Courier'>LiveDemoJsp</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> and </span><span
style='font-family:Courier'>TestAppJsp</span><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'> for JSP-based version.</span></p>
<p class=MsoNormal style='text-indent:.25in;line-height:normal'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>The following
Ant target may be found useful:</span></p>
<table class=MsoNormalTable border=0 cellpadding=0 style='margin-left:22.5pt'>
<tr>
<td width=51 valign=top style='width:38.25pt;padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:10.0pt;font-family:"Courier New"'>clean</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> </span></p>
</td>
<td width=609 style='width:456.75pt;padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Removes
the "target" directories generated during the build process. This
target should be invoked if you have to clean target directories.</span></p>
</td>
</tr>
</table>
<p class=MsoNormal style='line-height:normal'><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'> </span></p>
</div>
</body>
</html>