🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8252

Re: Version control of java classes

#8252
From: Valentino Kyriakides
Date: Mon, 02 Apr 2001 15:53
34 lines
1798 bytes
Look at this:

http://www.javageeks.com/Papers/FindingLoadedClasses/index.html

which describes the right technics for exactly what you are asking!

Valentino

Peter Kirk <peter_kirk@alpha-gruppen.dk> schrieb in im Newsbeitrag:
3ac30315_2@dnews...
> Hi there,
>
> does anyone have any ideas on how I can "version" the java classes I
write?
> If I am at a customer site it is helpful to know exactly which versions of
> software they are using.
>
> I have thought about adding some sort of version string to each class
file,
> eg.
> private final String "PKVersion: R01.00"
> or something like that, and then searching the file to find "PKVersion:".
>
> Or maybe, each class could implement a version interface, and provide a
> method like getVersion(), which returned a version number - so I'd need
some
> sort of utility to load the class and obtain the version.
>
> Any help and ideas is appreciated.
>
> Thanks,
> Peter.
>
>
Technical Details
Message-ID: <3ac89eb3$1_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!195.180.208.145
References: <3ac30315_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,9ec6888ac4d738bb
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-04-02 08:59:28 PST
From: "Valentino Kyriakides" <vkyr@ision.net>
Newsgroups: borland.public.jbuilder.java.language
References: <3ac30315_2@dnews>
Subject: Re: Version control of java classes
Date: Mon, 2 Apr 2001 17:53:45 +0200
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 195.180.208.145
Message-ID: <3ac89eb3$1_2@dnews>
X-Trace: 2 Apr 2001 08:45:55 -0800, 195.180.208.145
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!195.180.208.145