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/04 06:29:05 UTC

Re: AW: How to use java attrib in build.xml

hi jan,
   thanx for your support ,but it is still not working fine as suggested by you i has written my code like this

<target name="distribute" depends="init,compile"
		description="Creats distribe file">
		<java append="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" 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>

but after running this target my build gets terminated without any message like this

distribute:
[pritesh@ora1 Carmel]$

as iam getting PTTService.parcel file but not PTTService.distrib what is the reason iam failing to understand, will u pls help me out

pritesh
--- message from Jan.Materne@rzf.fin-nrw.de attached:

_____________________________________________________________
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