ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pritesh saharey <>
Subject how to import another xml file
Date Thu, 06 Mar 2003 06:13:58 GMT
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!"/>

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"
			<arg line="-f SRC/org/net/carmel/services/ptts/PTTService.parceldef -o SRC/org/net/carmel/services/ptts/PTTService.parcel"/>

		<java append="true" fork="true" failonerror="true" classpathref="classpath"
			<arg line="-f SRC/org/net/carmel/services/ptts/PTTService.distribdef -o SRC/org/net/carmel/services/ptts/PTTService.distrib"/>
		<move file="SRC/org/net/carmel/services/ptts/PTTService.distrib" todir="${build.distrib.dir}"/>

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.

Join Community  --->

Select your own custom email address for FREE! Get w/No Ads, 6MB, POP &

View raw message