Article View: borland.public.jbuilder.java.language
Article #8299Version control of java classes
From: Peter Kirk
Date: Thu, 29 Mar 2001 09:40
Date: Thu, 29 Mar 2001 09:40
19 lines
1461 bytes
1461 bytes
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:
<3ac30315_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!195.249.21.254Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,9ec6888ac4d738bb,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-29 01:50:08 PST From: "Peter Kirk" <peter_kirk@alpha-gruppen.dk> Newsgroups: borland.public.jbuilder.java.language Subject: Version control of java classes Date: Thu, 29 Mar 2001 11:40:37 +0200 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 195.249.21.254 Message-ID: <3ac30315_2@dnews> X-Trace: 29 Mar 2001 01:40:37 -0800, 195.249.21.254 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!195.249.21.254