Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Enums Support

Raja Nagendra Kumar

2010-04-09

Replies: Find Java Web Hosting

Author LoginPost Reply

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




--
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.