Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [joist-dev] Inserting $Id$ into files

Project highlights: Architectural Overview

Discussion topic

2020-04-07: This site is going to be decommissioned and shut down on 2020-07-01. Please copy and archive any data you wish to keep before that date.

Back to topic list

Re: [joist-dev] Inserting $Id$ into files

Author Jon Stevens <jon at latchkey dot com>
Full name Jon Stevens <jon at latchkey dot com>
Date 2000-10-04 11:37:59 PDT
Message on 10/3/2000 11:14 PM, "Josh Lucas" <lucas at collab dot net> wrote:

> Tomorrow I am going to checkout a clean copy of the module(s) and insert a
> public final static String versionID = "$Id$"; into all of the java files.
> This will be used in the future for a way of tracking the correct version.
> I wanted to give a heads up before doing this. I will email the list(s)
> before I start the process and then again when I am done.
> Let me know if you have any questions.
> josh

Wouldn't it be better to use something like this:


    @version $Id: $
public class Foo

That is what we do in all of our Java code on java.apache.org/jakarta
projects. Putting a static String into each and every single file seems like
object/memory overkill to me given that you will never query each and every
single file for its version information and you can simply build the javadoc
and look at it that way instead.


http://scarab.tigris.org/ | http://noodle.tigris.org/
http://java.apache.org/ | http://java.apache.org/turbine/
http://www.working-dogs.com/ | http://jakarta.apach​e.org/velocity/
http://www.collab.net/ | http://www.sourcexchange.com/

« Previous message in topic | 3 of 26 | Next message in topic »


Show all messages in topic

             Re: [joist-dev] Inserting $Id$ into files dlr Daniel Rall 2000-10-04 16:05:45 PDT
Page: of 2 « Previous | Next »
Messages per page: