From: <[EMAIL PROTECTED]>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6591
>
> Access to public static fields of an external class
>
>
>
> In order to generate the right myapp-X.Y.Z.tar.gz file, the X.Y.Z version
must
> be defined into an Ant property. Because this version number is generally
> written somewhere in a Java class this information is redundant. It would
be
> nice if Ant could access a public static field from any Java class and
handle it
> as a property.
>
With the FilterReader hat on, I look at this as
another use-case for a task like <loadproperties>
(with filterreaders, of course :-) )
<loadproperties file="foo.class">
<filterreaderset>
<filterreader classname="my.own.GetConstantsFromClassAsProperties"/>
</filterreaderset>
</loadproperties>
Anyway, till such a task sees the light of day...
Cheers,
Magesh
******************************************************
* Conference Room: A place where everybody talks, *
* nobody listens and everybody disagrees later on. *
******************************************************
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>