tblanchar..ac.com writes:
> It seems to me that it would be more natural to simply let FrameworkSet
> take a dir parameter like DirSet or FileSet and then provide some
> predefined property names for these predefined roots rather then disallow
> the use of dir and then have root do all this fancy looking up of private
> properties. Its not at all ant-like and its very confusing for a user. I
> actually had to read the source code for the class to find out how it
> works because its so different from how the other sets work.
>
> What I would like to suggest is that we leave root as a synonym for dir,
> then change the implementation of dir to be:
>
> public void setDir(File dir) throws BuildException
> {
> setRoot(dir.getAbsolutePath());
> }
I have no objectstions to hardwire dir to root. As for platform-sensitive
presets for the *root* properties, this is pending implementation:
http://objectstyle.org/woproject/lists/woproject-dev/2002/07/0010.html
Andrus
This archive was generated by hypermail 2.0.0 : Tue Aug 13 2002 - 10:01:21 EDT