ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amol desai <amolsde...@yahoo.com>
Subject condition checking
Date Wed, 02 Oct 2002 16:15:37 GMT
Hi,

I have two targets namely deploy & undeploy in build
script which are run independently(ant deploy & ant
undeploy).

The build script fails when I run ant undeploy without

first deploying the application(ant deploy).

I need to set a property  while running the deploy
target.Check the same while running ant undeploy(if
set then execute contents of undeploy target else
contine with the build script without running the
contents of undeploy target).

How do I acheive this ?

Yours help will be appreciated.

Thanks,

-Amol





__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message