Oh yeah... static initializers and variables come first. D'oh!
I think Chuck made an excellent point too. If that turns out to be the
case, I think there's room for one last EOF commandment (Thou shalt
not /Library/Java/Extensions)
Ramsey
On Dec 6, 2010, at 5:51 PM, Andrew Lindesay wrote:
Hi Ramsey;
Possibly not helpful, but you can stick this construct inside the
class;
static
{
... do stuff ...
}
I guess that runs before main() because it has to initialise the
class before it can run code in it.
cheers.
I might be mistaken, but I don't think you can get any earlier than
main():
public static void main(String argv[]) {
TimeZone.setDefault(...);
ERXApplication.main(argv, Application.class);
}
--
Andrew Lindesay
www.silvereye.co.nz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/ramsey%40xeotech.com
This email sent to ram...@xeotech.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com