blob: 309815441746fb2a1c1a94ac597738dfa8ee2208 [file] [log] [blame]
david_williams26f3a5f2008-03-07 22:56:23 +00001<project
2 name="Automated Eclipse Testing"
3 default="all"
4 basedir=".">
5 <property environment="env" />
6
7 <echo
8 level="info"
9 message="starting Automated Eclipse Testing" />
10 <echo
11 level="debug"
12 message="basedir: ${basedir}" />
13 <echo
14 level="debug"
15 message="testRoot: ${testRoot}" />
16 <fail
17 message="testRoot must be set"
18 unless="testRoot" />
19
20 <!--properties file containing the some server name properties -->
21 <property
22 file="${testRoot}/testServer.properties" />
23
24 <!--properties file containing the build information-->
25 <property
26 file="${buildDirectory}/label.properties" />
27
28 <!--default directory where test-eclipse will be installed-->
29 <property
30 name="install"
31 value="${testRoot}" />
32
33 <!--name that can be added to report name to identify which platform tests results come from-->
34 <property
35 name="platform"
36 value="" />
37
38 <!-- The root of the eclipse installation -->
39 <property
40 name="eclipse-home"
41 value="${testRoot}/eclipse" />
42
43 <!-- The directory that will contain the xml and html results from the tests that are run -->
44 <property
45 name="results"
46 value="${testRoot}/results" />
47
48 <!-- jonas install directory -->
49 <property
50 name="jonas432Dir"
51 value="${testRoot}/${jonas432DirName}" />
52 <target
53 name="init">
54 <antcall
55 target="setPropertyJOnAS432Dir" />
56 <antcall
57 target="computePluginVersion" />
58 <property
59 file="${testRoot}/test2.properties" />
60 </target>
61 <target
62 name="setPropertyJOnAS432Dir"
63 unless="jonas432Dir">
64 <property
65 name="jonas432Dir"
66 value="${testRoot}/${jonas432DirName}" />
67 </target>
68 <target
69 name="setup"
70 if="clean"
71 description="Reinstall the test Eclipse installation if specified by user">
72 <delete
73 dir="${install}" />
74 <mkdir
75 dir="${install}" />
76 <exec
77 dir="."
78 executable="unzip">
79 <arg
80 line="-o -qq ../downloads/*.zip -d ${install}" />
81 </exec>
82 <exec
83 dir="."
84 executable="unzip">
85 <arg
86 line="-o -qq wtp-wst-tests-feature*.zip -d ${install}" />
87 </exec>
88 </target>
89 <target
90 name="runapitests"
91 depends="setup">
92 <antcall
93 target="runtests" />
94 </target>
95 <target
96 name="runtests"
97 depends="setup"
98 description="Runs ant on the test.xml for a specified plugin.">
99 <available
100 file="${eclipse-home}/plugins/${testPlugin}/test.xml"
101 property="test.xml.exists" />
102 <antcall
103 target="runtests2" />
104 </target>
105 <target
106 name="runtests2"
107 if="test.xml.exists">
108 <antcall
109 target="runtests-normal" />
110 <copy
111 file="${eclipse-home}/${report}.xml"
112 tofile="${results}/xml/${report}_${platform}.xml"
113 failonerror="false" />
114 <antcall
115 target="genHtml" />
116 </target>
117 <target
118 name="runtests-normal">
119 <ant
120 antfile="${eclipse-home}/plugins/${testPlugin}/test.xml"
121 dir="${eclipse-home}">
122 <property
123 name="library-file"
124 value="${testRoot}/wtp-junit-tests.xml" />
125 </ant>
126 <copy
127 file="${eclipse-home}/${report}.xml"
128 tofile="${results}/xml/${report}_${platform}.xml"
129 failonerror="false" />
130 <antcall
131 target="genHtml" />
132 </target>
133 <target
134 name="wst-server-tests"
135 depends="init"
136 description="Runs the org.eclipse.wst.server.*.tests test.xml">
137 <antcall
138 target="runapitests">
139 <param
140 name="testPlugin"
141 value="${org.eclipse.wst.server.core.tests}" />
142 <param
143 name="report"
144 value="org.eclipse.wst.server.core.tests" />
145 <param
146 name="package.includes"
147 value="org.eclipse.wst.server" />
148 </antcall>
149 <antcall
150 target="runapitests">
151 <param
152 name="testPlugin"
153 value="${org.eclipse.wst.server.ui.tests}" />
154 <param
155 name="report"
156 value="org.eclipse.wst.server.ui.tests" />
157 <param
158 name="package.includes"
159 value="org.eclipse.wst.server" />
160 </antcall>
161 </target>
162 <target
163 name="wst-monitor-tests"
164 depends="init"
165 description="Runs the org.eclipse.wst.internet.monitor.*.tests test.xml">
166 <antcall
167 target="runtests">
168 <param
169 name="testPlugin"
170 value="${org.eclipse.wst.internet.monitor.core.tests}" />
171 <param
172 name="report"
173 value="org.eclipse.wst.internet.monitor.core.tests" />
174 </antcall>
175 <antcall
176 target="runtests">
177 <param
178 name="testPlugin"
179 value="${org.eclipse.wst.internet.monitor.ui.tests}" />
180 <param
181 name="report"
182 value="org.eclipse.wst.internet.monitor.ui.tests" />
183 </antcall>
184 </target>
185 <target
186 name="wst-cache-tests"
187 depends="init"
188 description="Runs the org.eclipse.wst.internet.cache.tests test.xml">
189 <antcall
190 target="runtests">
191 <param
192 name="testPlugin"
193 value="${org.eclipse.wst.internet.cache.tests}" />
194 <param
195 name="report"
196 value="org.eclipse.wst.internet.cache.tests" />
197 </antcall>
198 </target>
199 <target
200 name="jst-server-tests"
201 depends="init"
202 description="Runs the org.eclipse.jst.server.*.tests test.xml">
203 <antcall
204 target="runtests">
205 <param
206 name="testPlugin"
207 value="${org.eclipse.jst.server.core.tests}" />
208 <param
209 name="report"
210 value="org.eclipse.jst.server.core.tests" />
211 </antcall>
212 <antcall
213 target="runtests">
214 <param
215 name="testPlugin"
216 value="${org.eclipse.jst.server.ui.tests}" />
217 <param
218 name="report"
219 value="org.eclipse.jst.server.ui.tests" />
220 </antcall>
221 </target>
222 <target
223 name="jst-server-tomcat-tests"
224 depends="init"
225 description="Runs the org.eclipse.jst.server.tomcat.*.tests test.xml">
226 <antcall
227 target="runtests">
228 <param
229 name="testPlugin"
230 value="${org.eclipse.jst.server.tomcat.core.tests}" />
231 <param
232 name="report"
233 value="org.eclipse.jst.server.tomcat.core.tests" />
234 </antcall>
235 <antcall
236 target="runtests">
237 <param
238 name="testPlugin"
239 value="${org.eclipse.jst.server.tomcat.ui.tests}" />
240 <param
241 name="report"
242 value="org.eclipse.jst.server.tomcat.ui.tests" />
243 </antcall>
244 </target>
245 <target
246 name="jst-server-generic-tests"
247 depends="init"
248 description="Runs the org.eclipse.jst.server.generic.tests test.xml">
249 <antcall
250 target="runtests">
251 <param
252 name="testPlugin"
253 value="${org.eclipse.jst.server.generic.tests}" />
254 <param
255 name="report"
256 value="org.eclipse.jst.server.generic.tests" />
257 </antcall>
258 </target>
259 <target
260 name="jst-server-geronimo-tests"
261 depends="init"
262 description="Runs the org.eclipse.jst.server.geronimo.*.tests test.xml">
263 <antcall
264 target="runtests">
265 <param
266 name="testPlugin"
267 value="${org.eclipse.jst.server.geronimo.core.tests}" />
268 <param
269 name="report"
270 value="org.eclipse.jst.server.geronimo.core.tests" />
271 </antcall>
272 <antcall
273 target="runtests">
274 <param
275 name="testPlugin"
276 value="${org.eclipse.jst.server.geronimo.ui.tests}" />
277 <param
278 name="report"
279 value="org.eclipse.jst.server.geronimo.ui.tests" />
280 </antcall>
281 </target>
282 <target
283 name="jst-jem-tests"
284 depends="init"
285 description="Runs the org.eclipse.jem.tests test.xml">
286 <antcall
287 target="runtests">
288 <param
289 name="testPlugin"
290 value="${org.eclipse.jem.tests}" />
291 <param
292 name="report"
293 value="org.eclipse.jem.tests" />
294 </antcall>
295 </target>
296 <target
297 name="jst-j2ee-core-tests"
298 depends="init"
299 description="Runs the org.eclipse.jst.j2ee.core.tests test.xml">
300 <antcall
301 target="runtests">
302 <param
303 name="testPlugin"
304 value="${org.eclipse.jst.j2ee.core.tests}" />
305 <param
306 name="report"
307 value="org.eclipse.jst.j2ee.core.tests" />
308 </antcall>
309 </target>
310 <target
311 name="jst-j2ee-tests"
312 depends="init"
313 description="Runs the org.eclipse.jst.j2ee.tests test.xml">
314 <antcall
315 target="runtests">
316 <param
317 name="testPlugin"
318 value="${org.eclipse.jst.j2ee.tests}" />
319 <param
320 name="report"
321 value="org.eclipse.jst.j2ee.tests" />
322 </antcall>
323 </target>
324 <target
325 name="wst-common-tests"
326 depends="init"
327 description="Runs the org.eclipse.jst.j2ee.tests test.xml">
328 <antcall
329 target="runtests">
330 <param
331 name="testPlugin"
332 value="${org.eclipse.wst.common.tests}" />
333 <param
334 name="report"
335 value="org.eclipse.wst.common.tests" />
336 </antcall>
337 </target>
338 <target
339 name="wst-common-snippets-tests"
340 depends="init">
341 <antcall
342 target="runtests">
343 <param
344 name="testPlugin"
345 value="${org.eclipse.wst.common.snippets.tests}" />
346 <param
347 name="report"
348 value="org.eclipse.wst.common.snippets.tests" />
349 </antcall>
350 </target>
351 <target
352 name="jst-servlet-tests"
353 depends="init"
354 description="Runs the org.eclipse.jst.servlet.tests test.xml">
355 <antcall
356 target="runtests">
357 <param
358 name="testPlugin"
359 value="${org.eclipse.jst.servlet.tests}" />
360 <param
361 name="report"
362 value="org.eclipse.jst.servlet.tests" />
363 </antcall>
364 </target>
365 <target
366 name="jst-validation-framework-tests"
367 depends="init"
368 description="Runs the org.eclipse.jst.validation.test test.xml">
369 <antcall
370 target="runtests">
371 <param
372 name="testPlugin"
373 value="${org.eclipse.jst.validation.test}" />
374 <param
375 name="report"
376 value="org.eclipse.jst.validation.test" />
377 </antcall>
378 </target>
379
380 <!-- JSP TESTS -->
381 <target
382 name="jst-jsp-tests"
383 depends="init"
384 description="Runs test.xml for JSP tests">
385 <antcall
386 target="runtests">
387 <param
388 name="testPlugin"
389 value="${org.eclipse.jst.jsp.core.tests}" />
390 <param
391 name="report"
392 value="org.eclipse.jst.jsp.core.tests" />
393 </antcall>
394 <antcall
395 target="runtests">
396 <param
397 name="testPlugin"
398 value="${org.eclipse.jst.jsp.ui.tests}" />
399 <param
400 name="report"
401 value="org.eclipse.jst.jsp.ui.tests" />
402 </antcall>
403 <antcall
404 target="runtests">
405 <param
406 name="testPlugin"
407 value="${org.eclipse.jst.jsp.tests.encoding}" />
408 <param
409 name="report"
410 value="org.eclipse.jst.jsp.tests.encoding" />
411 </antcall>
412 </target>
413
414 <!-- SSE TESTS -->
415 <target
416 name="wst-sse-tests"
417 depends="init"
418 description="Runs test.xml for SSE tests">
419 <antcall
420 target="runtests">
421 <param
422 name="testPlugin"
423 value="${org.eclipse.wst.sse.core.tests}" />
424 <param
425 name="report"
426 value="org.eclipse.wst.sse.core.tests" />
427 </antcall>
428 <antcall
429 target="runtests">
430 <param
431 name="testPlugin"
432 value="${org.eclipse.wst.sse.ui.tests}" />
433 <param
434 name="report"
435 value="org.eclipse.wst.sse.ui.tests" />
436 </antcall>
437 </target>
438
439 <!-- XML TESTS -->
440 <target
441 name="wst-xml-tests"
442 depends="init"
443 description="Runs test.xml for XML tests">
444 <antcall
445 target="runtests">
446 <param
447 name="testPlugin"
448 value="${org.eclipse.wst.xml.core.tests}" />
449 <param
450 name="report"
451 value="org.eclipse.wst.xml.core.tests" />
452 </antcall>
453 <antcall
454 target="runtests">
455 <param
456 name="testPlugin"
457 value="${org.eclipse.wst.xml.ui.tests}" />
458 <param
459 name="report"
460 value="org.eclipse.wst.xml.ui.tests" />
461 </antcall>
462 <antcall
463 target="runtests">
464 <param
465 name="testPlugin"
466 value="${org.eclipse.wst.xml.tests.encoding}" />
467 <param
468 name="report"
469 value="org.eclipse.wst.xml.tests.encoding" />
470 </antcall>
471 <antcall
472 target="runtests">
473 <param
474 name="testPlugin"
475 value="${org.eclipse.wst.xml.validation.tests}" />
476 <param
477 name="report"
478 value="org.eclipse.wst.xml.validation.tests" />
479 </antcall>
480 </target>
481
482 <!-- WSDL TESTS -->
483 <target
484 name="wst-wsdl-tests"
485 depends="init"
486 description="Runs test.xml for WSDL ">
487 <antcall
488 target="runapitests">
489 <param
490 name="testPlugin"
491 value="${org.eclipse.wst.wsdl.tests}" />
492 <param
493 name="report"
494 value="org.eclipse.wst.wsdl.tests" />
495 <param
496 name="package.includes"
497 value="org.eclipse.wst.wsdl" />
498 </antcall>
499 <antcall
500 target="runtests">
501 <param
502 name="testPlugin"
503 value="${org.eclipse.wst.wsdl.validation.tests}" />
504 <param
505 name="report"
506 value="org.eclipse.wst.wsdl.validation.tests" />
507 </antcall>
508 </target>
509
510 <!-- WSI TESTS -->
511 <target
512 name="wst-wsi-tests"
513 depends="init"
514 description="Runs test.xml for WSI tests">
515 <antcall
516 target="runtests">
517 <param
518 name="testPlugin"
519 value="${org.eclipse.wst.wsi.tests}" />
520 <param
521 name="report"
522 value="org.eclipse.wst.wsi.tests" />
523 </antcall>
524 </target>
525
526 <!-- XSD TESTS -->
527 <target
528 name="wst-xsd-tests"
529 depends="init"
530 description="Runs test.xml for XSD tests ">
531 <antcall
532 target="runtests">
533 <param
534 name="testPlugin"
535 value="${org.eclipse.wst.xsd.validation.tests}" />
536 <param
537 name="report"
538 value="org.eclipse.wst.xsd.validation.tests" />
539 </antcall>
540 <antcall
541 target="runtests">
542 <param
543 name="testPlugin"
544 value="${org.eclipse.wst.xsd.core.tests}" />
545 <param
546 name="report"
547 value="org.eclipse.wst.xsd.core.tests" />
548 </antcall>
549 </target>
550
551 <!-- HTML TESTS -->
552 <target
553 name="wst-html-tests"
554 depends="init"
555 description="Runs test.xml for HTML tests">
556 <antcall
557 target="runtests">
558 <param
559 name="testPlugin"
560 value="${org.eclipse.wst.html.core.tests}" />
561 <param
562 name="report"
563 value="org.eclipse.wst.html.core.tests" />
564 </antcall>
565 <antcall
566 target="runtests">
567 <param
568 name="testPlugin"
569 value="${org.eclipse.wst.html.ui.tests}" />
570 <param
571 name="report"
572 value="org.eclipse.wst.html.ui.tests" />
573 </antcall>
574 <antcall
575 target="runtests">
576 <param
577 name="testPlugin"
578 value="${org.eclipse.wst.html.tests.encoding}" />
579 <param
580 name="report"
581 value="org.eclipse.wst.html.tests.encoding" />
582 </antcall>
583 </target>
584
585 <!-- DTD Tests -->
586 <target
587 name="wst-dtd-tests"
588 depends="init">
589 <antcall
590 target="runtests">
591 <param
592 name="testPlugin"
593 value="${org.eclipse.wst.dtd.ui.tests}" />
594 <param
595 name="report"
596 value="org.eclipse.wst.dtd.ui.tests" />
597 </antcall>
598 <antcall
599 target="runtests">
600 <param
601 name="testPlugin"
602 value="${org.eclipse.wst.dtd.core.tests}" />
603 <param
604 name="report"
605 value="org.eclipse.wst.dtd.core.tests" />
606 </antcall>
607 </target>
608
609 <!-- CSS TESTS -->
610 <target
611 name="wst-css-tests"
612 depends="init"
613 description="Runs test.xml for
614 org.eclipse.wst.css.core.tests
615 org.eclipse.wst.css.ui.tests
616 org.eclipse.wst.css.tests.encoding">
617 <antcall
618 target="runtests">
619 <param
620 name="testPlugin"
621 value="${org.eclipse.wst.css.core.tests}" />
622 <param
623 name="report"
624 value="org.eclipse.wst.css.core.tests" />
625 </antcall>
626 <antcall
627 target="runtests">
628 <param
629 name="testPlugin"
630 value="${org.eclipse.wst.css.tests.encoding}" />
631 <param
632 name="report"
633 value="org.eclipse.wst.css.tests.encoding" />
634 </antcall>
635 <antcall
636 target="runtests">
637 <param
638 name="testPlugin"
639 value="${org.eclipse.wst.css.ui.tests}" />
640 <param
641 name="report"
642 value="org.eclipse.wst.css.ui.tests" />
643 </antcall>
644 </target>
645
646 <!-- JSF TESTS -->
647 <target
648 name="jsf-tests"
649 depends="init"
650 description="Runs test.xml for org.eclipse.jst.jsf.core.tests, org.eclipse.jst.jsf.ui.tests">
651 <antcall
652 target="runtests">
653 <param
654 name="testPlugin"
655 value="${org.eclipse.jst.jsf.core.tests}" />
656 <param
657 name="report"
658 value="org.eclipse.jst.jsf.core.tests" />
659 </antcall>
660 <antcall
661 target="runtests">
662 <param
663 name="testPlugin"
664 value="${org.eclipse.jst.jsf.ui.tests}" />
665 <param
666 name="report"
667 value="org.eclipse.jst.jsf.ui.tests" />
668 </antcall>
669 <antcall
670 target="runtests">
671 <param
672 name="testPlugin"
673 value="${org.eclipse.jst.jsf.metadata.tests}" />
674 <param
675 name="report"
676 value="org.eclipse.jst.jsf.metadata.tests" />
677 </antcall>
678 <antcall
679 target="runtests">
680 <param
681 name="testPlugin"
682 value="${org.eclipse.jst.jsf.contentassist.tests}" />
683 <param
684 name="report"
685 value="org.eclipse.jst.jsf.contentassist.tests" />
686 </antcall>
687 <antcall
688 target="runtests">
689 <param
690 name="testPlugin"
691 value="${org.eclipse.jst.jsf.context.symbol.tests}" />
692 <param
693 name="report"
694 value="org.eclipse.jst.jsf.context.symbol.tests" />
695 </antcall>
696 <antcall
697 target="runtests">
698 <param
699 name="testPlugin"
700 value="${org.eclipse.jst.jsf.designtime.tests}" />
701 <param
702 name="report"
703 value="org.eclipse.jst.jsf.designtime.tests" />
704 </antcall>
705
706 <antcall
707 target="runtests">
708 <param
709 name="testPlugin"
710 value="${org.eclipse.jst.jsf.facesconfig.tests}" />
711 <param
712 name="report"
713 value="org.eclipse.jst.jsf.facesconfig.tests" />
714 </antcall>
715 <antcall
716 target="runtests">
717 <param
718 name="testPlugin"
719 value="${org.eclipse.jst.jsf.facesconfig.ui.test}" />
720 <param
721 name="report"
722 value="org.eclipse.jst.jsf.facesconfig.ui.test" />
723 </antcall>
724 <antcall
725 target="runtests">
726 <param
727 name="testPlugin"
728 value="${org.eclipse.jst.jsf.validation.el.tests}" />
729 <param
730 name="report"
731 value="org.eclipse.jst.jsf.validation.el.tests" />
732 </antcall>
733 <antcall
734 target="runtests">
735 <param
736 name="testPlugin"
737 value="${org.eclipse.jst.pagedesigner.tests}" />
738 <param
739 name="report"
740 value="org.eclipse.jst.pagedesigner.tests" />
741 </antcall>
742 </target>
743
744 <!-- WS TESTS -->
745 <target
746 name="wst-ws-tests"
747 depends="init"
748 description="Runs the org.eclipse.wst.ws.tests test.xml">
749 <antcall
750 target="runtests">
751 <param
752 name="testPlugin"
753 value="${org.eclipse.wst.ws.tests}" />
754 <param
755 name="report"
756 value="org.eclipse.wst.ws.tests" />
757 </antcall>
758 </target>
759 <target
760 name="jst-ws-tests"
761 depends="init"
762 description="Runs the org.eclipse.jst.ws.tests test.xml">
763 <antcall
764 target="runtests">
765 <param
766 name="testPlugin"
767 value="${org.eclipse.jst.ws.tests}" />
768 <param
769 name="report"
770 value="org.eclipse.jst.ws.tests" />
771 </antcall>
772 </target>
773
774 <!-- Faceted Project Framework Tests -->
775 <target
776 name="wst-facets-tests"
777 depends="init"
778 description="Runs the Faceted Project Framework tests.">
779 <antcall
780 target="runtests">
781 <param
782 name="testPlugin"
783 value="${org.eclipse.wst.common.project.facet.core.tests}" />
784 <param
785 name="report"
786 value="org.eclipse.wst.common.project.facet.core.tests" />
787 </antcall>
788 </target>
789
790 <!-- Dali tests -->
791 <target
792 name="jpt-utility-tests"
793 depends="init"
794 description="Runs the org.eclipse.jpt.utility.tests test.xml">
795 <antcall
796 target="runtests">
797 <param
798 name="testPlugin"
799 value="${org.eclipse.jpt.utility.tests}" />
800 <param
801 name="report"
802 value="org.eclipse.jpt.utility.tests" />
803 </antcall>
804 </target>
805 <target
806 name="dali-core-tests"
807 description="Runs the org.eclipse.jpt.core.tests test.xml">
808 <antcall
809 target="runtests">
810 <param
811 name="testPlugin"
812 value="${org.eclipse.jpt.core.tests}" />
813 <param
814 name="report"
815 value="org.eclipse.jpt.core.tests" />
816 </antcall>
817 </target>
818
819 <!-- JSDT tests -->
820 <target
821 name="jsdt-tests"
822 depends="init"
823 description="Runs the org.eclipse.wst.jsdt.core.test.* test.xml">
824 <antcall
825 target="runtests">
826 <param
827 name="testPlugin"
828 value="${org.eclipse.wst.jsdt.core.tests.compiler}" />
829 <param
830 name="report"
831 value="org.eclipse.wst.jsdt.core.tests.compiler" />
832 </antcall>
833 <antcall
834 target="runtests">
835 <param
836 name="testPlugin"
837 value="${org.eclipse.wst.jsdt.core.tests.model}" />
838 <param
839 name="report"
840 value="org.eclipse.wst.jsdt.core.tests.model" />
841 </antcall>
842 </target>
843
844
845 <!-- releng Tests -->
846 <target
847 name="releng-tests"
848 depends="init"
849 description="Runs the releng tests.">
850 <antcall
851 target="runtests">
852 <param
853 name="testPlugin"
854 value="${org.eclipse.wtp.releng.tests}" />
855 <param
856 name="report"
857 value="org.eclipse.wtp.releng.tests" />
858 </antcall>
859 </target>
860 <target
861 name="all"
862 depends="init">
863 <echo
864 level="info"
865 message="Starting WTP Unit Tests" />
866 <echo
867 level="info"
868 message="Starting releng tests" />
869 <antcall
870 target="releng-tests" />
871 <echo
872 level="info"
873 message="Starting wst-server-tests" />
874 <antcall
875 target="wst-server-tests" />
876 <echo
877 level="info"
878 message="Starting wst-monitor-tests" />
879 <antcall
880 target="wst-monitor-tests" />
881 <echo
882 level="info"
883 message="Starting wst-cache-tests" />
884 <antcall
885 target="wst-cache-tests" />
886 <echo
887 level="info"
888 message="Starting wst-common-tests" />
889 <antcall
890 target="wst-common-tests" />
891 <echo
892 level="info"
893 message="Starting wst-common-snippets-tests" />
894 <antcall
895 target="wst-common-snippets-tests" />
896 <echo
897 level="info"
898 message="Starting wst-sse-tests" />
899 <antcall
900 target="wst-sse-tests" />
901 <echo
902 level="info"
903 message="Starting wst-xml-tests" />
904 <antcall
905 target="wst-xml-tests" />
906 <echo
907 level="info"
908 message="Starting wst-wsdl-tests" />
909 <antcall
910 target="wst-wsdl-tests" />
911 <echo
912 level="info"
913 message="Starting wst-wsi-tests" />
914 <antcall
915 target="wst-wsi-tests" />
916 <echo
917 level="info"
918 message="Starting wst-xsd-tests" />
919 <antcall
920 target="wst-xsd-tests" />
921 <echo
922 level="info"
923 message="Starting wst-html-tests" />
924 <antcall
925 target="wst-html-tests" />
926 <echo
927 level="info"
928 message="Starting wst-dtd-tests" />
929 <antcall
930 target="wst-dtd-tests" />
931 <echo
932 level="info"
933 message="Starting wst-css-tests" />
934 <antcall
935 target="wst-css-tests" />
936 <echo
937 level="info"
938 message="Starting wst-ws-tests" />
939 <antcall
940 target="wst-ws-tests" />
941 <echo
942 level="info"
943 message="Starting jst-server-tests" />
944 <antcall
945 target="jst-server-tests" />
946 <echo
947 level="info"
948 message="Starting jst-server-tomcat-tests" />
949 <antcall
950 target="jst-server-tomcat-tests" />
951 <echo
952 level="info"
953 message="Starting jst-server-geronimo-tests" />
954 <antcall
955 target="jst-server-geronimo-tests" />
956 <echo
957 level="info"
958 message="Starting jst-server-generic-tests" />
959 <antcall
960 target="jst-server-generic-tests" />
961 <echo
962 level="info"
963 message="Starting jst-jem-tests" />
964 <antcall
965 target="jst-jem-tests" />
966 <echo
967 level="info"
968 message="Starting jst-j2ee-core-tests" />
969 <antcall
970 target="jst-j2ee-core-tests" />
971 <echo
972 level="info"
973 message="Starting jst-j2ee-tests" />
974 <antcall
975 target="jst-j2ee-tests" />
976 <echo
977 level="info"
978 message="Starting jst-validation-framework-tests" />
979 <antcall
980 target="jst-validation-framework-tests" />
981 <echo
982 level="info"
983 message="Starting jst-jsp-tests" />
984 <antcall
985 target="jst-jsp-tests" />
986 <echo
987 level="info"
988 message="Starting jst-ws-tests" />
989 <antcall
990 target="jst-ws-tests" />
991 <echo
992 level="info"
993 message="Starting wst-facets-tests" />
994 <antcall
995 target="wst-facets-tests" />
996 <echo
997 level="info"
998 message="Starting JPT Unit Tests" />
999 <echo
1000 level="info"
1001 message="Starting jpt-utility-tests" />
1002 <antcall
1003 target="jpt-utility-tests" />
1004 <echo
1005 level="info"
1006 message="Starting dali-core-tests" />
1007 <antcall
1008 target="dali-core-tests" />
1009 <echo
1010 level="info"
1011 message="Ended JPT Unit Tests" />
1012 <echo
1013 level="info"
1014 message="Starting JSF Tests" />
1015 <antcall
1016 target="jsf-tests" />
1017 <echo
1018 level="info"
1019 message="Ended WTP Unit Tests" />
1020 <echo
1021 level="info"
1022 message="Starting JSDT Tests" />
1023 <antcall
1024 target="jsdt-tests" />
1025 <echo
1026 level="info"
1027 message="Ended JSDT Unit Tests" />
1028 </target>
1029 <target
1030 name="genHtml"
1031 description="Generates HTML results with provided JUNIT.XSL provided"
1032 unless="genHtml.disable">
1033 <xslt
1034 style="JUNIT.XSL"
1035 basedir="${results}/xml"
1036 destdir="${results}/html" />
1037 </target>
1038 <target
1039 name="computePluginVersion"
1040 depends="test2properties"
1041 unless="test2propertiesexists">
1042 <java
1043 classname="org.eclipse.wtp.releng.test.ComputePluginVersion">
1044 <classpath>
1045 <pathelement
1046 location="ComputePluginVersion.jar" />
1047 </classpath>
1048 <arg
1049 value="${testRoot}/eclipse/plugins" />
1050 <arg
1051 value="${testRoot}/test2.properties" />
1052 <jvmarg value="-Djava.io.tmpdir=${env.RECOMMENDED_TMP_DIR}" />
1053 </java>
1054 </target>
1055 <target
1056 name="test2properties">
1057 <condition
1058 property="test2propertiesexists">
1059 <available
1060 file="${testRoot}/test2.properties" />
1061 </condition>
1062 </target>
1063</project>