Command Line Setting

From Documentation
Command Line Setting



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.


Last Update : 2011/05/26

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.