You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by se...@apache.org on 2002/09/05 19:56:21 UTC
cvs commit: xml-axis/java/docs AxisTestRedesign.html
seibert 2002/09/05 10:56:21
Modified: java/docs AxisTestRedesign.html
Log:
Updated this as to the status of the new test structure
Revision Changes Path
1.4 +14 -18 xml-axis/java/docs/AxisTestRedesign.html
Index: AxisTestRedesign.html
===================================================================
RCS file: /home/cvs/xml-axis/java/docs/AxisTestRedesign.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- AxisTestRedesign.html 7 Aug 2002 17:50:45 -0000 1.3
+++ AxisTestRedesign.html 5 Sep 2002 17:56:21 -0000 1.4
@@ -13,18 +13,14 @@
<HR>
<a name="quickstart"><H2>Quick Start</H2></a>
<P>
-To see a full running of this, as the different component would be replaced by the new system, do the following:
-<PRE>ant clean compile
-ant -buildfile buildPreTestTaskdefs.xml
-ant -buildfile buildSamples.xml compile
-ant -buildfile buildTest.xml compile
-ant -buildfile buildTest.xml functional-tests
-</PRE>
+To run the full build system, as the old was run, do the following:
+<PRE>ant clean functional-tests</PRE>
To see how the componentized build structure is affected, as well as cross-dependancies, do the following:
<PRE>ant clean compile
-ant -buildfile buildTest.xml encoding
+cd test/encoding
+ant clean compile run
</PRE>
-(The encoding test has a dependancy on the echo sample.)
+(The encoding test has a dependancy on the echo sample)
</P>
<a href="#top">Back to the Top</a><BR>
<HR>
@@ -44,8 +40,8 @@
To this end, the general theory was applied to everything:<BR>
<UL>
<LI>Remove the neccessary steps that are in build.xml into build<I><B>thing</B></I>.xml (where <I><B>thing</B></I> is either "Samples" or "Test")
-<LI>Create a buildComponent.xml file in each samples/** and test/** directory
-<LI>Stub each buildComponent.xml with the following:
+<LI>Create a build.xml file in each samples/** and test/** directory
+<LI>Stub each build.xml with the following:
<PRE><?xml version="1.0" ?>
<!-- =========================================================================================== -->
@@ -104,15 +100,15 @@
</PRE>
<LI>If you want to instantiate this component directly, then add the following type stub into buildSamples.xml or buildTest.xml as appropriate:
<PRE>< target name="echo">
- < ant inheritAll="true" antfile="samples/echo/buildComponent.xml"/>
+ < ant inheritAll="true" antfile="samples/echo/build.xml"/>
</target></PRE>
This should be done if this sample/test is to be a dependancy of another sample or test.
-<LI>If you don't want to instantiate it directly, the "compile" target looping in the buildSamples.xml or buildTest.xml file will pick up any buildComponent.xml files in the appropriate path.
-<LI>In order to reference a dependancy in a buildComponent.xml file, do the following (taken from test/soap/buildComponent.xml):
+<LI>If you don't want to instantiate it directly, the "compile" target looping in the buildSamples.xml or buildTest.xml file will pick up any build.xml files in the appropriate path.
+<LI>In order to reference a dependancy in a component build.xml file, do the following (taken from test/soap/build.xml):
<PRE>
< target name="copy">
- < ant inheritAll="true" antfile="buildTest.xml" target="utils"/>
- < ant inheritAll="true" antfile="buildTest.xml" target="RFCDispatch"/>
+ < ant inheritAll="true" antfile="build.xml" target="utils"/>
+ < ant inheritAll="true" antfile="build.xml" target="RFCDispatch"/>
</target></PRE>
</UL>
</P>
@@ -136,7 +132,7 @@
In order to alleviate this risk, and to better define the actual samples compilation and use, the samples building has been moved to a new xml file <B>buildSamples.xml</B> but the original target is still stubbed into build.xml for backwards compatibility and use does not change.
</P>
<P>
-Then, I extracted the actual compilation logic for each sample, and componentized it into a buildComponent.xml file, located in the actual sample sub-directory. For example, for the echo sample is now run by the file samples/echo/buildComponent.xml. It can be singularly instantiated by invoking:
+Then, I extracted the actual compilation logic for each sample, and componentized it into a build.xml file, located in the actual sample sub-directory. For example, for the echo sample is now run by the file samples/echo/build.xml. It can be singularly instantiated by invoking:
<CENTER><PRE>ant -buildfile buildSamples.xml echo</PRE></CENTER>
or as part of the batch (as the old function) by invoking:
<CENTER><PRE>ant samples</PRE></CENTER>
@@ -152,7 +148,7 @@
In order to alleviate this risk, and to better define the actual test compilation and use, the test building has been moved to a new xml file <B>buildTest.xml</B> but the original target is still stubbed into build.xml for backwards compatibility and use does not change.
</P>
<P>
-Then, I extracted the actual compilation logic for each test, and componentized it into a buildComponent.xml file, located in the actual test sub-directory. For example, for the session test is now compiled by the file test/session/buildComponent.xml. It can be singularly instantiated by invoking:
+Then, I extracted the actual compilation logic for each test, and componentized it into a build.xml file, located in the actual test sub-directory. For example, for the session test is now compiled by the file test/session/build.xml. It can be singularly instantiated by invoking:
<CENTER><PRE>ant -buildfile buildTest.xml session</PRE></CENTER>
or as part of the batch (as the old function) by invoking:
<CENTER><PRE>ant functional-tests</PRE></CENTER>