cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <>
Subject Re: Use of the what command with java code (was: Including source files in jars)
Date Wed, 09 Jun 2004 05:54:14 GMT
Bertrand Delacretaz dijo:
> Le 8 juin 04, à 19:59, Antonio Gallardo a écrit :
>> ..Wow. I think it is an amazing solution! Have this impact at runtime
>> in Java?..
> The WHAT_ID strings would obviously use space in the jars, that's all.

What about the other proposal I did:

Insert in META-INF/MANIFEST.MF file the "SVN Revision number" (+ maybe
other needed stuff - need to investigate) of the local working copy at
compile time? (BTW, It does not requiere net access, because the info is
retrieved from your local working copy).

With this solution, we will affect almost nothing (or nothing) at runtime.
Just a small about of inserted bytes.

We can see the SVN Revision number in many ways and I am sure there must
be an ant task for that. Running the command in my local working copy of
Forrest now I got:

[agallardo@portatil forrest]$ svn info
Path: .
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 20925
Node Kind: directory
Schedule: normal
Last Changed Author: brondsem
Last Changed Rev: 20918
Last Changed Date: 2004-06-08 12:38:30 -0600 (Tue, 08 Jun 2004)
Properties Last Updated: 2004-05-22 02:44:03 -0600 (Sat, 22 May 2004)


Best Regards,

Antonio Gallardo

View raw message