-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Paul, > > - - Should it be a fromCLOption in Configuration or a toConfiguration in > > CLArgsParser? > I would create a new utility class completely. Currently cli is not tied to > Avalon/Framework and Avalon/Framework is not tied to cli. I think it would > be nice to keep them loosely coupled. So perhaps a CL2FrameworkUtil or > something? OK.
> > > For Parameters we have discussed creating a ParametersSchema. It would > > > allow you to define required and optional parameters. Each parameter > > > would have a type (ie Integer, String, Long, Boolean etc) that it must > > > conform to. Alternatively it must match a regex expression. No one has > > > actually implemented this yet. > > Apart from, that I need it for Configurations too, it wouldn't be > > powerful enough for me. I have to check ranges of floats and things like > > that. > kool. You may want to look at the way XML Schema validates attributes as > that would probably hold everything you need ... maybe ;) I have looked at XML Schema. I'll try to find a way to create descriptions out of it. The problem is, that I don't only want to validate the configurations, I also want to parse the Schema, whatever format it has, to create CLOptionDescriptor[]. The bad thing is, that these descriptors can only describe finite sets of options. XML Schema can describe an infinite set of Configurations. I'll try to extend my CLI -> Configuration class for a XML Schema to CLOptionDescriptor[] method for this. Perhaps I will only support a subset of XML Schema. At least recursions have to be kept out. > > > Peter is also working on a Swing form application for this but I am not > > > sure where its at. > > Could be interesting. Perhaps I can use it in the Swing based Browser of > > Batik for creating configuration dialogs. > kool - keep us informed ;) I will. But I think the first part will take some time. With kind regards Torsten Knodt -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9dedJvxZktkzSmiwRAoBVAJ9IsqULWe/EiIaUwBXAB213GjNhzgCfeZ9W 3gn/iLyFvaaTW7inMufDcwE= =cDZs -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>