ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vimil Saju <vimils...@yahoo.com>
Subject optional depends for targets
Date Thu, 21 Jul 2011 21:16:48 GMT
Hi,

Is it possible for a target to optionally depend on another target? For example considerĀ 

target A has an optional dependency on target BĀ 
target C depends on target A

When the build is invoked with target C then only targets A and C should get executed in the
order A,C. However if the build is invoked with targets C,B,A then the targets should be executed
in the order B, A, C.

Thanks
Vimil
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message