Page 1 of 1

Method compile time stamp

Posted: Fri Aug 07, 2009 11:32 am
by ConvertFromOldNGs
by Brian Mills >> Thu, 7 Oct 2004 0:21:34 GMT

Can anyone tell me how to obtain the compile time stamp of a method object?

I have a method object and want to obatain the last time it was compiled to check weather it should be run or not to create base system data. I've done this before but can't for the life of me remeber how.

Does anyone else use different mechanism's to populate base system data when upgrades etc occur of a UAT and then live system.

eg. Code lists like title.

Brian.

Re: Method compile time stamp

Posted: Fri Aug 07, 2009 11:32 am
by ConvertFromOldNGs
by cnwjhp1 >> Thu, 7 Oct 2004 0:48:42 GMT

From my message in jade_tech_general on sep 17 2004:

Try this in a JadeScript

vars
meth:Method;begin

meth:=currentSchema.getClass("JadeScript").getMethod(method.name);
write "Modified by "&meth._developer&" ["&meth.getPatchNumber.String&"] "&meth._rwGetModified.String;
end;

I assume you know how to get a list of all methods for the classes in question?

Cheers,
John P

Re: Method compile time stamp

Posted: Fri Aug 07, 2009 11:32 am
by ConvertFromOldNGs
by Brian Mills >> Thu, 7 Oct 2004 2:02:06 GMT

Yes I am able to get the methods. I just couldnt find the property/method that gets me the last modified timestamp.

Is there any documentation on these "hidden" methods and properties in Jade?

Brian.

Re: Method compile time stamp

Posted: Fri Aug 07, 2009 11:32 am
by ConvertFromOldNGs
by cnwrwm1 >> Mon, 11 Oct 2004 1:47:54 GMT

CardSchema has some methods on SchemaEntity which may do what you want.

Richard