The getResource() solution worked.

I'll consider Solutions A or B if I want the user of the addon to be
able to override the included atts.txt file, putting
his atts.txt file on the addon folder. Thanks!

On Wed, Dec 31, 2008 at 5:04 PM, Hussein Shafie <hussein at xmlmind.com> wrote:
> --> If your command needs to refer to a file contained in my_ext.jar,
> simply use Class.getResource(). Example:
> MyCommand.class.getResource("/atts.txt")
>

-- 
Fabi?n Mandelbaum
IS Engineer

Reply via email to