Article View: borland.public.jbuilder.java.language
Article #15109Re: Getting Compile Time
From: Hakan UNLU
Date: Fri, 09 Jul 1999 00:00
Date: Fri, 09 Jul 1999 00:00
101 lines
4023 bytes
4023 bytes
No. I want to get the date and time of the compilation (not the duration of load or compile) I cannot reach the class file because it is in a zip or jar file on the classpath and I do not know where it is in my program. I am looking for someting like Timestamp x = myClass.getClass().getCompileTimestamp(); Thanks -- Hakan UNLU Hitit Computer Services ------------------------------------------------------------- Visit my virtual bookstore at http://surf.to/hakan-books ------------------------------------------------------------ Rich Wilkman <rwilkman@inprise.com> wrote in message news:3784D814.A3EC3230@inprise.com... > Hakan: > > I still don't follow. Do you mean the process of taking a .class file > in a ZIP and loading it, etc. until it is available (and you therefore > have something of type Class to work with)? > > -Rich > > Hakan UNLU wrote: > > > > I meant the "creation time of Class file " that resides in a zip file > > > > -- > > Hakan UNLU > > Hitit Computer Services > > ------------------------------------------------------------- > > Visit my virtual bookstore at > > http://surf.to/hakan-books > > ------------------------------------------------------------ > > Rich Wilkman <rwilkman@inprise.com> wrote in message > > news:37837980.B73463CD@inprise.com... > > > Hakan: > > > > > > If you have classes, they are already compiled. Too late to get compile > > > time info at that stage. If you are trying to see how long it takes to > > > load classes from a ZIP, you could write some wrapper class to read from > > > the ZIP, etc. Make suref to use different length classpaths and > > > different positions. When all you know is the name of the class file, > > > you have to search *all* archives on the classpath until you find it. > > > > > > -Rich > > > > > > Hakan UNLU wrote: > > > > > > > > In testing my program I need to get the compile time for some classes > > > > The classes are stored in a zip file. > > > > How can I obtain this data? > > > > > > > > Thanks > > > > > > > > -- > > > > Hakan UNLU > > > > Hitit Computer Services > > > > ------------------------------------------------------------- > > > > Visit my virtual bookstore at > > > > http://surf.to/hakan-books > > > > ------------------------------------------------------------ > > > > > > -- > > > > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > > Rich Wilkman > > > Quality Assurance Manager > > > Borland JBuilder Team > > > > > > If you see something that looks like an opinion up there, > > > it's mine and mine alone. > > > > > > Mail sent to me from the newsgroups won't bounce but will > > > be ignored. If I have time, I'll respond, but you have > > > a better chance if you confine your posts to the newsgroups > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > -- > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Rich Wilkman > Quality Assurance Manager > Borland JBuilder Team > > If you see something that looks like an opinion up there, > it's mine and mine alone. > > Mail sent to me from the newsgroups won't bounce but will > be ignored. If I have time, I'll respond, but you have > a better chance if you confine your posts to the newsgroups > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<7m419p$io715@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7lur15$e274@forums.borland.com> <37837980.B73463CD@inprise.com> <7m1955$gb35@forums.borland.com> <3784D814.A3EC3230@inprise.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,5401e3fddb9d0fc5 X-Google-Attributes: gidf74b3,public From: "Hakan UNLU" <hunlu@yahoo.com> Subject: Re: Getting Compile Time Date: 1999/07/09 Message-ID: <7m419p$io715@forums.borland.com> X-Deja-AN: 498978739 References: <7lur15$e274@forums.borland.com> <37837980.B73463CD@inprise.com> <7m1955$gb35@forums.borland.com> <3784D814.A3EC3230@inprise.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.language