Method compile time stamp

Discussions about design and architecture principles, including native JADE systems and JADE interoperating with other technologies
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Method compile time stamp

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:32 am

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.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Method compile time stamp

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:32 am

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

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Method compile time stamp

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:32 am

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.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Method compile time stamp

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:32 am

by cnwrwm1 >> Mon, 11 Oct 2004 1:47:54 GMT

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

Richard


Return to “Design and Architecture”

Who is online

Users browsing this forum: No registered users and 10 guests