Laurent Godard wrote:
Hi mathias
thansk for your response
I'm afraid that is because OOo is not able to access the template
(evaluating "%origin" always needs some explicit code, it is meant as
somethin an Add-On accesses, but not the regular OOo code).
looking in the uno-package cache, i read
/home/lgodard/.openoffice.org2/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/data/org/openoffice/ucb
in hierarchy.xcu
<value>vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/vrJ1ZG_/cedricTemplate.zip/orange.otp</value>
while in the addon, in
/home/lgodard/.openoffice.org2/user/uno_packages/cache/uno_packages/vrJ1ZG_/cedricTemplate.zip
in hierarchy.xcu
<value>%origin%/orange.otp</value>
you mean that the problem is the interpretation of
<value>vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/
yes, %origin% is expanded by the package manager during the deployment
but the problem is probably that the expanded URL still contains a macro
and that the corresponding UCB content provider doesn't know how this
URL has to be handled.
But as Mathias has already mentioned we have this on our wish or to-do
list for the future.
Juergen
Are you sure that you could deploy a template as an Add-On in an older
version of OOo?
hum, it was ages ago
but iirc yes
btw, if the feature is not implemented, is it planned
i think it is important for deployement of 'extensions'
and we will soon need it
thanks again for your response
Laurent
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]