Command Line Setting"
From Documentation
Jumperchen (talk | contribs) (Created page with "{{ZTLEssentialsPageHeader}} You can use [http://ant.apache.org/ Ant] to run the build.xml under the '''ztl''' folder. For example, $ztl ant <source lang="bash"> help: [e...") |
Jumperchen (talk | contribs) |
||
Line 27: | Line 27: | ||
==Change ZTL directory== | ==Change ZTL directory== | ||
− | You can change the value of test.src under ztl/build.prop.xml to your own directory where the ZTL files are located. | + | You can change the value of '''test.src''' under '''ztl/build.prop.xml''' to your own directory where the ZTL files are located. |
{{ZTLEssentialsPageFooter}} | {{ZTLEssentialsPageFooter}} |
Latest revision as of 06:32, 26 May 2011
You can use Ant to run the build.xml under the ztl folder. For example,
$ztl ant
help:
[echo]
[echo] Usage:
[echo] ant clean
[echo] Clean the source.
[echo] ant build
[echo] Generate the Java class and compile them
[echo] ant generate
[echo] Generate the Java class and build the ztl.jar file
[echo] ant run -Dtags=a,b,c
[echo] Run the test in the given package acrroding to the specific tags
[echo] ant runcase -Dcase=B30-123456.ztl,...
[echo] Run the test in the given package acrroding to the specific ztl file name
[echo] ant junit report
[echo] Run all of the test case and generate the report
[echo] ant javadoc
[echo] Generate the Javadoc
[echo]
Change ZTL directory
You can change the value of test.src under ztl/build.prop.xml to your own directory where the ZTL files are located.