At 07:18 16/8/00 -0700, you wrote: > how can one determine in the execute method if myCond was set other than >comparing the value against the default value set in the implicit >constructor? In other words is there a facility in the subclasses to see if >a given attribute was set in the build.xml file or do I have to keep around >another boolean, haveMyCond, that I set in the setMycond method and test >against in the execute method? Thanks,
The only way is to keep a second variable around. Also could you refrain from posting HTML in future - some of us can't read it :P Cheers, Pete *------------------------------------------------------* | "Nearly all men can stand adversity, but if you want | | to test a man's character, give him power." | | -Abraham Lincoln | *------------------------------------------------------*
