Summary: | EnumeratedAttributes are not developer friendly | ||
---|---|---|---|
Product: | Ant | Reporter: | Dominique Devienne <ddevienne> |
Component: | Core | Assignee: | Ant Notifications List <notifications> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 1.5.1 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | other |
Description
Dominique Devienne
2002-11-25 18:15:59 UTC
I think with the committed change your example would result in PresentSelector present = new PresentSelector(); present.setTargetdir(file); present.setPresent( EnumeratedAttribute.getInstance(PresentSelector.FilePresence.class, "both") ); none.appendSelector(present); Jan |