Project

General

Profile

Ciop-appcheck » History » Revision 3

Revision 2 (Herve Caumont, 2013-06-19 18:05) → Revision 3/4 (Herve Caumont, 2013-09-20 23:39)

h1. ciop-appcheck CLI reference 

 Perform a completeness check of an application template. 
 The application template is defined as a disk space with a structure of directories and files following a set of template rules. 
 Applications must conform to this template in order to integrate correctly as a processing workflow in Cluster mode. Moreover, an application workflow must be defined as a directed acyclic graph (DAG). 

 h2. Name 

 ciop-appcheck - checks the validity of the application descriptor file (application.xml) 

 h2. Synopsys 

 <pre> 
 ciop-appcheck [options] 
 </pre> 

 h2. Description 

 ciop-appcheck checks the validity of the application descriptor file (application.xml) against the XSD schema. 

 The following options are available 

 > -f file 
 application descriptor file 
 allows providing a application description file instead of ${_CIOP_APPLICATION_PATH}/application.xml 

 h2. Exit status 

 The ciop-appcheck returns are: 

 0 the application descriptor file check is successful 
 1 the application descriptor file is not found 

 *See man page for range and list operators.* 

 h2. Examples 

 Example 1. Check the validity of the application descriptor file in its default location (${_CIOP_APPLICATION_PATH}/application.xml) 
 <pre> 
 ciop-appcheck 
 </pre> 

 Example 2. Check the validity of an application descriptor file 
 <pre> 
 ciop-appcheck -f /tmp/test.xml 
 </pre> 

 h2. See also 

 ciop-package 

 hello world