Discussion:
[Middlegen-user] Prefs file
D***@nascopgh.com
2003-05-21 16:45:08 UTC
Permalink
Is there any way to suppress the preferences file in Middlegen (either
force it not to generate it in the first place, or force it to ignore the
file).

Also, is there any sane explanation for why Middlegen gives precedence to
the entries in the prefs file even though it may have generated them
itself (and usually gets everything wrong) whereas the user explicitly
chose to specify something in the plugin attributes in build.xml?

Thanks,
Dave
Rod Macpherson
2003-05-21 18:57:13 UTC
Permalink
Nuke it in your ANT "prepare" task. Anybody actually rely on preferences
for anything? I make a point of explicitly whacking prefs in in my build
script before running middlegen. Looks like I'm not alone:)

-----Original Message-----
From: ***@nascopgh.com [mailto:***@nascopgh.com]
Sent: Wednesday, May 21, 2003 11:45 AM
To: middlegen-***@lists.sourceforge.net
Subject: [Middlegen-user] Prefs file



Is there any way to suppress the preferences file in Middlegen
(either force it not to generate it in the first place, or force it to
ignore the file).

Also, is there any sane explanation for why Middlegen gives
precedence to the entries in the prefs file even though it may have
generated them itself (and usually gets everything wrong) whereas the
user explicitly chose to specify something in the plugin attributes in
build.xml?

Thanks,
Dave
D***@nascopgh.com
2003-05-21 19:04:02 UTC
Permalink
I found a better way: comment out the entire body of Prefs.save(). ;-)

Dave





"Rod Macpherson" <***@verilet.com>
Sent by: middlegen-user-***@lists.sourceforge.net
05/21/2003 04:57 PM
Please respond to middlegen-user

To: <middlegen-***@lists.sourceforge.net>
cc:
Subject: RE: [Middlegen-user] Prefs file


Nuke it in your ANT "prepare" task. Anybody actually rely on preferences
for anything? I make a point of explicitly whacking prefs in in my build
script before running middlegen. Looks like I'm not alone:)
-----Original Message-----
From: ***@nascopgh.com [mailto:***@nascopgh.com]
Sent: Wednesday, May 21, 2003 11:45 AM
To: middlegen-***@lists.sourceforge.net
Subject: [Middlegen-user] Prefs file


Is there any way to suppress the preferences file in Middlegen (either
force it not to generate it in the first place, or force it to ignore the
file).

Also, is there any sane explanation for why Middlegen gives precedence to
the entries in the prefs file even though it may have generated them
itself (and usually gets everything wrong) whereas the user explicitly
chose to specify something in the plugin attributes in build.xml?

Thanks,
Dave

Loading...