I meant something like:

  <mytag dir="${plugin.dir}/>

Then use ${dir} in the tag body. Although I thought what Brett said
should work.

  Jeff

On Wed, 01 Sep 2004, at 20:31:00 [GMT -0700] dan tran wrote:

> I dont the know the directory since the tag is in the plugin and
> plugin can be installed any where by the user

> -D

> On Wed, 1 Sep 2004 22:07:25 -0500, Jefferson K. French
> <[EMAIL PROTECTED]> wrote:
>> Could you pass the directory to use into your tag as an argument?
>> 
>> 
>> 
>> On Wed, 01 Sep 2004, at 18:57:22 [GMT -0700] dan tran wrote:
>> 
>> > Hello,
>> 
>> > I am developing a tag in my plugin and need to access a file inside my
>> > plugin resource directory.  No problem accessing the file in a goal
>> > using ${plugin.dir}
>> 
>> > Accessing the resouce in a tag is a challenge since ${plugin.dir} is
>> > not available
>> > in the tag.
>> 
>> > -D
>> 

-- 
mailto:[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to