ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simeon H.K. Fitch" <simeon.fi...@mseedsoft.com>
Subject RE: [SUBMISSION] Antidote: DependTargetPropertyEditor
Date Tue, 20 Feb 2001 12:53:29 GMT


> -----Original Message-----
> From: Christoph Wilhelms [mailto:christoph.wilhelms@gmx.de]
>
> > Please externalize the strings as soon as you can. That's one of those
> > things I like to have done before checkin.
>
> I would have done, but I did not know how to use ResourceManager without
> an AppContext. Please read below ###### I described my problems there!
>
>
> Well, to come clear: Same problem! I've loaded the images using the
> full path without ResourceManager, for I had no instance:-( - same
> problem as I had with "not externalized Strings"... :-(
>
> Perhaps we can solve this easyly ;-).
>

Just use the default constructor for the ResourceManager. It'll take care
of everything assuming you store your properties in "antidote.properties".

If you happened to store them in a different file, it also has a
constructor that takes a path. The default ctor should do you fine, tho.

sim

Mime
View raw message