PUBLIC_IMAGEPATH
The PUBLIC_IMAGEPATH
element defines the public resources directory used
by applications.
Syntax
<PUBLIC_IMAGEPATH>path</PUBLIC_IMAGEPATH>
- Where path is a path to your application resources.
Child elements
There are no child elements.
Usage
Use the PUBLIC_IMAGEPATH element to define a path to your public
resources directory used by the DVM or fglrun to look for resources used by
applications. This path is relative to the root path appdata/public. The
"appdata"
resource, as it is commonly known, is set by the resource
$(res.appdata.path).
Usage example with resource
...
<UA_OUTPUT>
<PROXY></PROXY>
<PUBLIC_IMAGEPATH>$(res.public.resources)</PUBLIC_IMAGEPATH>
<GBC>gwc-js</GBC>
<TIMEOUT Using="cpn.wa.timeout"/>
</UA_OUTPUT>
...
If
the value of the resource $(res.public.resources)
is set by default as in the
as.xcf file to "common", images are therefore sought in the
appdata/public/common
directory.<RESOURCE Id="res.public.resources" Source="INTERNAL">common</RESOURCE>
Usage example with path
...
<UA_OUTPUT>
<PROXY></PROXY>
<PUBLIC_IMAGEPATH>myapp/newpictures</PUBLIC_IMAGEPATH>
<GBC>gwc-js</GBC>
<TIMEOUT Using="cpn.wa.timeout"/>
</UA_OUTPUT>
...
In
this example, the value of the PUBLIC_IMAGEPATH
is set to
"myapp/newpictures", so images are therefore sought in the
appdata/public/myapp/newpictures directory.Parent elements
This element is a child of the following element: UA_OUTPUT