Xvcl Ant Task
CjOS Project @ cjos.sourceforge.net
Index
Bind Pages
Cjos Library
Cjos Pages
Cjos News Pages
Eric Pages
Introduction To Smart Api
Osgi Pages
Registry Api Pages
Smart Api Pages
Xvcl Pages
CjOS Project
Summary Page
Mailing List
Download
CVS
JOS Technical Edition
Support This Project
Xvcl Pages; [ Cjos Audience]

Summary

This is an Ant-compatible plug-in.

Path: cp1

 <path id="cp1">
   <fileset dir="/usr/share/cjos/lib">
     <include name="cjos-xvcl.jar"/>
   </fileset>
 </path>

Target: taskdef

 <target name="taskdef">
   <taskdef
       name="xvcl"
       classname="gchii.tools.xvcl.XVCLAntTask"
       classpathref="cp1"/>
 </target>

Target: xvcl

 <target name="xvcl">
   <xvcl
       spc="spc-1h.xvcl"
       projectPath="."
       beautifyOutput="true"
       failonerror="true"
       verbose="true">
     <set var="name-1" value="value-1"/>
     <set var="name-2" value="${value-2}"/>
     <setmulti var="name-3" value="a,b,c"/>
   </model>
 </target>

  • spc: A specification file (SPC).
  • projectPath: Directory containing SPC.
  • beautifyOutput: When true, eliminates whitespace around XVCL commands.
  • failonerror: When true, an error in an XVCL script stops the build process. Otherwise, an error is ignored.
  • verbose: Additional information messages are displayed.

Set command

Creates an XVCL variable. See also Xvcl Set Command.

setmulti command

Creates an XVCL variable. See also Xvcl Set Multi Command.

See also