ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Simpson" <ssimp...@local.com>
Subject RE: Any way to optionally include an attribute in an ant task?
Date Tue, 24 Apr 2007 11:20:45 GMT
> a) Why do you have "sometimes" the value for mainclass set and sometimes not? 

Because sometimes I'm building a DLL and sometimes an executable depending on whether mainclass
is set.

> b) You could use conditional targets (<target if="mainclass">)

But then I'd have to repeat the target twice. I don't want to do that.

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