> Beyond that though, I am +1 on the suggestion. I would like to see a
> Turbine app 'know' about itself in such a way where it could be queried
> and return the appropiate version information. That would allow
> upgrades to occur seemlessly...
>
This could also be solve by the $Id$ entry in CVS.
For instance in the main we have something like:
static public VERSION="$Id$";
This is really usual in C programming, and allow program version to be
unikelly identified.
Here is a possible CVS diff
Index: Turbine.java
===================================================================
RCS file:
/products/cvs/turbine/turbine/src/java/org/apache/turbine/Turbine.java,v
retrieving revision 1.5
diff -r1.5 Turbine.java
98a99,103
> /**
> * The current Version of Turbine
> **/
> public static VERSION="$Id$";
>
--
mailto:[EMAIL PROTECTED] http://www.idbsoft.ch
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]