Raja Nagendra Kumar wrote:
Hi,
Is it possible to define a property which takes only X,Y, Z values.. and
nothing more.. If any other thing is set for that property.. ant should give
the error.
Sort of Enums in Java.. so that any wrong setting would result in compiler
error.
Regards,
Nagendra
Ant has a class called EnumeratedAttribute [out of the top of my head].
There are no enumerated properties, but this is conceivable.
You can try to write your own extension of the property task. I am not
sure whether there would be a consensus among committers to add this
function to ant-core ?
Regards,
Antoine
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]