Thanks for the help and quick answer!

Sjur

Den 26. okt. 2005 kl. 16.18 skrev Hussein Shafie:

> Sjur Moshagen wrote:
>
>> The Forrest project (forrest.apache.org) has a ready-made   
>> configuration
>> for editing forrest documents in XXE. Unfortunately  this  
>> configuration
>> can presently only be installed in the application  addon/ dir, as it
>> references icons distributed with XXE (it installs  a toolbar).
>>
>> I have not developed the config myself, but I am using it a lot, and
>> would like to make the config self-contained in one way or another. I
>> can think of two options, but have questions/problems with both:
>>
>> 1) installation-neutral reference to bundled icons (preferred)
>>
>> I would like to be able to reference icons along the following lines:
>>
>> <item label="Insert Column Before"
>>       mnemonic="B"
>>       icon="$XXE_HOME/addon/config/common/icons/  
>> ColumnInsertBefore16.gif"
>>       command="xhtml.tableColumn"
>>       parameter="insertBefore"/>
>>
>> where $XXE_HOME is an environment variable or similar (can be XXE-
>> internal, of course) that will always and reliably resolve to the
>> installation dir of XXE.
>>
>> I have searched through the documentation, but I have not been  
>> able  to
>> find such a thing.
>>
>> In case there is no such variable/property (and no plans to introduce
>> one), the second option is:
>>
>
> Replace "$XXE_HOME/addon/config/" by "xxe-config:" and the  
> configuration
> should work no matter where XXE has been installed and no matter where
> the configuration for the Forrest project has been installed. Example:
>
> ---
> <item label="Insert Column Before"
>   mnemonic="B"
>   icon="xxe-config:common/icons/ColumnInsertBefore16.gif"
>   command="xhtml.tableColumn"
>   parameter="insertBefore"/>
> ---
>
>
>
>
>> 2) Add all referenced icons to the config
>>
>> Besides crafting new icons, what kind of license are the bundled   
>> icons
>> under? Could they be copied to the forrest config (forrest is  using
>> Apache 2 license)?
>>
>
> You'll find the license attached to all the icons contained in the
> xxe-config:common/icons/ directory in file
> xxe-config:common/icons/icons.LICENSE.
>


Reply via email to