| AW: how to import another xml file | AW: how to import another xml file 2003-03-06 - By Pritesh saharey
The problem is solved by making java.xml as another build file and calling this java.xml to my build.xml file like this
<target name="parcel" depends="init,compile" description="Creates parcel and distrib file"> <echo message="Running java.xml..."/> <ant antfile="java.xml" dir="." target="all"/>
</target>
for time beign my purpose is solved, but i want to create a properties.xml file in which my two command will be called in all my projects
<java classname="com.org.ITS.SDK.Tools.ConsoleParcelBuilder"> <arg line="-f PTTService.parceldef -o PTTService.parcel" /> </java>
<java classname="com.org.ITS.SDK.Tools.ConsoleDistribBuilder"> <arg line="-f PTTService.distribdef -o PTTService.distrib" /> </java> here this line: java classname="com.org.ITS.SDK.Tools.ConsoleParcelBuilder"> and this line : <java classname="com.org.ITS.SDK.Tools.ConsoleDistribBuilder">
is going to be called in my each and every project so i want this to in one place but failing to understand how to write these code in properties.xml file and how to call them in build.xml iknow DOCTYPE will solve my puropse but as i mentioned it is giving me pesudo error.
what can i do pritesh
--- message from Jan.Materne@(protected) attached:
_____________________________________________________________ Join SQAtester.com Community ---> http://www.sqatester.com/testersarea/joinus .htm
_____________________________________________________________ Select your own custom email address for FREE! Get you@(protected) w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag
|
|
 |