Here is a description of the most useful targets.
Table 6. XINS targets
Target name | Description |
run-<api> | Runs the WAR for the API. |
war-<api> | Creates the WAR for the API. |
specdocs-<api> | Generates all specification documentation for the API. |
javadoc-api-<api> | Generates Javadoc API documentation for the API. |
server-<api> | Generates the war file, the Javadoc API documentation for the server side and the specdocs for the API. |
jar-<api> | Generates and compiles the Java classes for the client-side API. |
javadoc-capi-<api> | Generates Javadoc API docs for the client-side API. |
client-<api> | Generates the specdocs, the Javadoc API docs for the client side, the CAPI jar file and a Zip file containing all of this. |
clean-<api> | Cleans everything for the API. |
rebuild-<api> | Regenerates everything for the API. |
all-<api> | Generates everything for the API. |
wsdl-<api> | Generates the WSDL of the API. |
stub-<api> | Generates the API stub. |
test-<api> | Generates the unit tests if needed and tests the API. |
javadoc-test-<api> | Generates Javadoc for the unit test of the API. |
opendoc-<api> | Generates the specification of the API in open document format. |
all | Generates everything. |
clean | Removes all generated files. |
specdocs | Generates all specification docs. |
clients | Generates client-<api> for all APIs. |
javadoc-capis | Generates the Javadoc for all CAPIs. |
javadoc-apis | Generates the Javadoc for all APIs. |
wars | Creates the WARs for all APIs. |
tests | Runs the unit tests of the APIs that have tests. |
create-api | Generates a new api specification file. |
create-function | Generates a new function specification file. |
create-rcd | Generates a new error code specification file. |
create-type | Generates a new type specification file. |
create-example | Generates a new example for a function. |
create-logdoc | Generates the basic logdoc files for an API. |
version or -version | Prints the version of XINS. |
help | Prints the possible targets along with the possibles APIs. |