Here is one way to use Xilize during an ant build.
<?xml version="1.0"?> <project name="myProject"> <property name="engine.jar" location="x/dist/xilizeEngine.jar" /> <property name="bsh.jar" location="x/lib/bsh-core-2.0b4.jar" /> <property name="xsilent" value="true" /> <!-- value="" to undef for Xilize --> <path id="xilpath" path=""> <pathelement path="${engine.jar}"/> <pathelement path="${bsh.jar}" /> </path> <!-- xilize macro {{{ --> <macrodef name="xilize"> <attribute name="args"/> <sequential> <java classpathref="xilpath" classname="com.centeredwork.xilize.Main" failonerror="true" fork="true" > <sysproperty key="_Silent_" value="${xsilent}"/> <arg line="@{args}"/> </java> </sequential> </macrodef> <!-- }}} --> <target name="xil.docs" depends="init" description="xilize docs/ tree"> <xilize args="docs" /> </target> <!-- init and clean targets {{{ --> <target name="init" > <mkdir dir="html" /> <mkdir dir="html/docs" /> <tstamp> <format property="time" pattern="EEEE, MMMM d, yyyy HH:mm zzzzz" locale="en" /> </tstamp> </target> <target name="clean" > <delete dir="html/docs" quiet="true" /> </target> <!-- }}} --> </project>
ant build file Here is one way to use Xilize during an ant build. prex. {{ <?xml version="1.0"?> <project name="myProject"> <property name="engine.jar" location="x/dist/xilizeEngine.jar" /> <property name="bsh.jar" location="x/lib/bsh-core-2.0b4.jar" /> <property name="xsilent" value="true" /> <!-- value="" to undef for Xilize --> <path id="xilpath" path=""> <pathelement path="${engine.jar}"/> <pathelement path="${bsh.jar}" /> </path> <!-- xilize macro {{{ --> <macrodef name="xilize"> <attribute name="args"/> <sequential> <java classpathref="xilpath" classname="com.centeredwork.xilize.Main" failonerror="true" fork="true" > <sysproperty key="_Silent_" value="${xsilent}"/> <arg line="@{args}"/> </java> </sequential> </macrodef> <!-- }}} --> <target name="xil.docs" depends="init" description="xilize docs/ tree"> <xilize args="docs" /> </target> <!-- init and clean targets {{{ --> <target name="init" > <mkdir dir="html" /> <mkdir dir="html/docs" /> <tstamp> <format property="time" pattern="EEEE, MMMM d, yyyy HH:mm zzzzz" locale="en" /> </tstamp> </target> <target name="clean" > <delete dir="html/docs" quiet="true" /> </target> <!-- }}} --> </project> }}
Long lines are wrapped in this listing.
Use your web browser's "View Page Source" feature to examine the HTML