You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Pritesh saharey <pr...@sqatester.com> on 2003/03/06 07:13:58 UTC
how to import another xml file
I got a query regarding two xml files
in build.xml file my code is like this
<?xml version="1.0"?>
<project name="PICASSO" default="deploy" basedir=".">
<target name="deploy" depends="parcel,create-zipfile,create-apidoc,create-jar">
<fileset dir ="." includes="java.xml"/>
<echo message="Completed Successfully!"/>
</target>
and in java.xml file my code is like this
<?xml version="1.0" ?>
<target name="parcel" depends="init,compile"
description="Creats parcel file">
<java append="true" fork="true" failonerror="true" classpathref="classpath"
classname="com.ora.ITS.SDK.Tools.ConsoleParcelBuilder">
<arg line="-f SRC/org/net/carmel/services/ptts/PTTService.parceldef -o SRC/org/net/carmel/services/ptts/PTTService.parcel"/>
</java>
<java append="true" fork="true" failonerror="true" classpathref="classpath"
classname="com.ora.ITS.SDK.Tools.ConsoleDistribBuilder">
<arg line="-f SRC/org/net/carmel/services/ptts/PTTService.distribdef -o SRC/org/net/carmel/services/ptts/PTTService.distrib"/>
</java>
<move file="SRC/org/net/carmel/services/ptts/PTTService.distrib" todir="${build.distrib.dir}"/>
</target>
now how can i call this java.xml file in my build.xml file so that while i run build.xml file the commands in java.xml file should be executed.
reg
pritesh
_____________________________________________________________
Join SQAtester.com Community ---> http://www.sqatester.com/testersarea/joinus.htm
_____________________________________________________________
Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag