It is a simple modeling of Apache's ant,
The Ant configuration XML file is generated through the model, which can be called and executed. The method of generating XML uses the xworker.lang.MetaThing method of XWorker to generate XML data.
<?xml version='1.0' encoding='utf-8'?> <project name="TestProject" descriptors="xworker.ant.project" default="test"> <target name="test"> <delete name="delete" dir="./xworker/work/ant/test"/> <copyrunbat name="copyrunbat" destDir="." batFileName="./xworekr" thingPath="Test" method="run"/> </target> </project>
<?xml version='1.0' encoding='utf-8'?> <project default="test" name="TestProject"> <target name="test"> <delete dir="./xworker/work/ant/test"/> <copy file="D:\git\xworker\xworker_explorer\.\xworker\deploy\xer.bat" tofile="././xworekr"> <filterset> <filter value="org.xmeta.util.ThingRunner" token="classPath"/> </filterset> </copy> <copy file="D:\git\xworker\xworker_explorer\.\xworker\deploy\xer.ini" tofile="./xer.ini"> <filterset> <filter value="Test" token="thingPath"/> <filter value="run" token="actionName"/> </filterset> </copy> </target> </project>
Copyright © 2007-2019 XWorker.org 版权所有 沪ICP备08000575号