You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ja...@ubsw.com on 2001/09/03 10:38:58 UTC
Extracting Version and BCEL
Thanks for explaining your system Deepa, that looks like it could be
useful.
Also though - has anyone used the Bytecode Engineering Library
(http://bcel.sourceforge.net) 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
it...
cheers, jamie
> -----Original Message-----
> From: chr [mailto:chr@active.ch]
> 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.${os.name}.properties"/>
>
> <property name="name" value="csa"/>
> <property name="Name" value="XYZ (XYZ)"/>
> <property name="Longname" value="Your Long Name"/>
Visit our website at http://www.ubswarburg.com
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.