You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "Jack J. Woehr" <ja...@purematrix.com> on 2003/09/26 19:16:38 UTC

Ant-antidote persistent properties

Here is a set of files I already sent to Christoph. I didn't want to clog the list, but then
I realized it might be part of the community's informal group review process, so belatedly
I am posting this to the list also:

======================

Hi Christoph --

This diff + the new files (see the package statements for their locations) implement a PropertiesManager
and incidentally add an arg parsing framework. Both frameworks are from my own open source corpus.

   * The default properties file is {user.home}/apache.ant.antidote.persistent.properties
   * Using the new -p argument you can pass in a properties filename instead
   * If the properties file does not exist, it is created.

If you like it, I will convert the Reopener to use this instead of writing its own properties file.

After that, I will begin a GUI interface to persistent properties.

--
Jack J. Woehr      # You measure democracy by the freedom it
Senior Consultant  # gives its dissidents, not the freedom
Purematrix, Inc.   # it gives its assimilated conformists.
www.purematrix.com #         - Abbie Hoffman

Re: Ant-antidote persistent properties

Posted by "Jack J. Woehr" <ja...@purematrix.com>.
Christoph Wilhelms wrote:

> Applied, but I rather would have preferred if you have used the Ant
> argument-parsing or the CLI framework by Jakarta-Commons:
> http://jakarta.apache.org/commons/cli/index.html
> Would be "nice" to replace yours by one of these IMHO just for some
> political reasons... ;-)

I'll take a look at that as time permits. Didn't know it was there.

In any case, you approve of the PropertiesManager?

> > If you like it, I will convert the Reopener to use this
> > instead of writing its own properties file.

> Yes, please, for it does not do much ATM ;-)!

Okay, that's  my next step.

> > After that, I will begin a GUI interface to persistent properties.
>
> Well, this should be the main purpose of the persitent properties :-)!

It would be if we actually had some settings to save! Do you have a list
of settings that we will want to save?

--
Jack J. Woehr      # You measure democracy by the freedom it
Senior Consultant  # gives its dissidents, not the freedom
Purematrix, Inc.   # it gives its assimilated conformists.
www.purematrix.com #         - Abbie Hoffman




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


RE: Ant-antidote persistent properties

Posted by Christoph Wilhelms <Ch...@t-online.de>.
Hi Jack!

> Here is a set of files I already sent to Christoph. I didn't 
> want to clog the list, but then I realized it might be part 
> of the community's informal group review process, so 
> belatedly I am posting this to the list also:
> ======================

Just to the list, please :-)!

> This diff + the new files (see the package statements for 
> their locations) implement a PropertiesManager and 
> incidentally add an arg parsing framework. Both frameworks 
> are from my own open source corpus.

Applied, but I rather would have preferred if you have used the Ant
argument-parsing or the CLI framework by Jakarta-Commons:
http://jakarta.apache.org/commons/cli/index.html
Would be "nice" to replace yours by one of these IMHO just for some
political reasons... ;-)

>    * The default properties file is 
> {user.home}/apache.ant.antidote.persistent.properties
>    * Using the new -p argument you can pass in a properties 
> filename instead
>    * If the properties file does not exist, it is created.
> 
> If you like it, I will convert the Reopener to use this 
> instead of writing its own properties file.

Yes, please, for it does not do much ATM ;-)!

> After that, I will begin a GUI interface to persistent properties.

Well, this should be the main purpose of the persitent properties :-)!

Greetings,
Christoph


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org