From: Ted D. <tdu...@ve...> - 2008-04-12 22:02:05
|
On 4/11/08 5:35 PM, "Benjamin Reed" <br...@ya...> wrote: > Great to hear from you Ted! > > A) Yes, I agree. I think the common ACL patterns are buried in a weird > place. You have a great perspective since you are a completely new user. > Where was the first place you looked? Actually, I didn't do the looking. I typed ANY Alt-Space I expected IntelliJ to find something plausible and type-correct. It would have found any static constants on any top-level class in Zookeeper, but the nesting defeated it. > Tragically, the ACL class would be a > natural place, but that is a generated class. Indeed tragic. I wonder if letting ACL extend the generated class would allow a nicer structure (for the user). > D) Wow, you are right. I can't believe we didn't doc the constructors! > Will fix. The examples usually have the full source code attached. Is > there one that we missed? I will go through them again. Actually, my toy program would make a good example since it does most of the things a new user (me) wants to do. Posting it with my error in it might also be good or adding my silliness to the "What is likely to go wrong" list might be helpful. Can I update the wiki? If so, I will add a bit. > .. error codes are in KeeperException (they are a bit of a pain to > get since you have to do math :). So -111 is NotEmpty. Thanks. I will file the issue as suggested. > thanks again for your comments and we will work on the issues you have > pointed out. You guys are champs. |