ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Extracting Version and BCEL
Date Mon, 03 Sep 2001 08:38:58 GMT
Thanks for explaining your system Deepa, that looks like it could be

Also though - has anyone used the Bytecode Engineering Library
( to programmatically add a revision field
to each class, after compilation? I am trying but I'm coming up against
a couple of problems... 1) I am not the greatest java programmer in the
world so am having trouble making a public field, and 2) the process is
slow so I'm wrestling with the apply task to only add the field to
classes created since this build. 

Anyway, don't want to reinvent the wheel so if anyone has already done

cheers, jamie

> -----Original Message-----
> From: chr []
> Sent: 31 August 2001 20:07
> To: ant-user
> Cc: chr
> Subject: RE: Extracting Version
> I do it different. First I provide you the file content of 
> several files and 
> below you will find additional explanations.
> Build.xml :
> <project name="csa" default="usage" basedir="..">
>   <property file="build.${}.properties"/>
>   <property name="name"              value="csa"/>
>   <property name="Name"              value="XYZ (XYZ)"/>
>   <property name="Longname"          value="Your Long Name"/>

Visit our website at

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

View raw message