From marbles-isi@mailman.isi.edu Thu Dec 13 01:19:01 2001 From: marbles-isi@mailman.isi.edu (Martin Frank) Date: Wed, 12 Dec 2001 17:19:01 -0800 Subject: [Marbles-isi] new Meta-Ja version checked in - make fresh Message-ID: <5.1.0.14.2.20011212155205.03b441e8@tnt.isi.edu> I checked in a new Meta-Ja version. Here are the changes: //1.5 fixes the copy-checked-for-xml-rather-than-copy bug fix This is the reason for the new version, a real bug that David found - was sometimes not generating a copy function when it should have. //1.5 enumerations - renames create...() to obtain...() for enumerations Calling it "create" made it look like it would allocate memory every time you called it, causing project members to cache it again or not use it at all. //1.5 enumerations - adds getValuesAsStrings() function for enumerations On Jinbo's request. Non-disruptive. //1.5 enumerations - carries underscores through for values On David's request. Non-disruptive. //1.5 uses the setReadOnly() flag on the generated files Keeps you from accidentally editing the generated Java file - possible because you can now set file permissions from within Java - you couldn't when I first created Meta-Ja... //1.5 catches subclassing non-abstract objects Meta-Ja was never intended to support sub-classing non-abstract objects but was used that way by people anyway. It will now detect that and print a warning and how to address the situation. Here is where this still is in SNAP (I changed req, reqrs, reqcd but then I ran out of steam): zti razti auxiliary/printedschedulegeneration model/mission runtime/scheduleannotations messages/requests agents/pilots agents/mission2 agents/mission gui/missiongui gui/ztigui I'd encourage changing that code over when you're working in that directory anyway, and not writing any new code that subclasses from Meta-Ja-defined concrete classes. Not worth for any one person to change it all over at once, would tkae a day or two, andcould also easily introduce bugs. A definite "make fresh" for every project. I know any Meta-Ja change is disruptive, that's why it only happens 3-4 times a year... Thanks, cheers, yours, Martin From marbles-isi@mailman.isi.edu Thu Dec 13 17:56:19 2001 From: marbles-isi@mailman.isi.edu (David Benjamin) Date: Thu, 13 Dec 2001 09:56:19 -0800 Subject: [Marbles-isi] Re: new Meta-Ja version checked in - make fresh In-Reply-To: Your message of "Wed, 12 Dec 2001 17:19:01 PST." <5.1.0.14.2.20011212155205.03b441e8@tnt.isi.edu> Message-ID: <28310.1008266179@ISI.EDU> I'll take care of these directories soon (because I am working in them anyway) (any show-stoppers I will fix this morning): zti razti guiexecution/ztigui David //1.5 catches subclassing non-abstract objects Meta-Ja was never intended to support sub-classing non-abstract objects but was used that way by people anyway. It will now detect that and print a warning and how to address the situation. Here is where this still is in SNAP (I changed req, reqrs, reqcd but then I ran out of steam): zti razti auxiliary/printedschedulegeneration model/mission runtime/scheduleannotations messages/requests agents/pilots agents/mission2 agents/mission gui/missiongui gui/ztigui From marbles-isi@mailman.isi.edu Tue Dec 18 23:46:19 2001 From: marbles-isi@mailman.isi.edu (Martin Frank) Date: Tue, 18 Dec 2001 15:46:19 -0800 Subject: [Marbles-isi] mj1.5b - please say "make fresh" now Message-ID: <5.1.0.14.2.20011218153503.00ac9cb8@tnt.isi.edu> This Meta-Ja release makes subclassing non-abstract objects an error rather than a warning. I went though all of the code by hand to remove the existing warnings. If you say "make fresh" now mj1.5b will prevent you from introducing these warning, so please do. Thanks, yours, Martin