ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Simpson" <ssimp...@local.com>
Subject Any way to optionally include an attribute in an ant task?
Date Mon, 23 Apr 2007 19:30:41 GMT
I want to optionally include an attribute in a task. Is this possible?
That is, I'm using the csc task and if I'm creating an executable, I
want to include the attribute "mainclass" like
 
<csc mainclass="..."
 
but if the "mainclass" property isn't set, I want it to run like
 
<csc ...
 
without the mainclass attribute.
 

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