-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Paolo,

>>> 19.6.1  "Scripting Framework URI Specification"
>> Seems that URI does not work:

i tried to create a script extension with java - but failed,
after deploying the extension is always disabled ... :-(

i have no problem to run the script, if i simply copy it to the 
\share\Scripts\java\ folder ...
in this case i can call it for example with:

"vnd.sun.star.script:ScriptDispatch.org.test.java.ScriptDispatch.execute?language=Java&location=share"

from a form control ...

any hint's ? can someone provide an example ?

Oliver

extension directory structure:
- ------------------------------------------
- - description.xml
+ ScriptDispatch
   - ScriptDispatch.jar
   - parcel-descriptor.xml
+ META-INF
   - manifest.xml:

manifest.xml:
- -------------------
<?xml version="1.0" encoding="UTF-8"?>
<manifest:manifest>
        <manifest:file-entry manifest:full-path="ScriptDispatch/"
manifest:media-type="application/vnd.sun.star.framework-script"/>
</manifest:manifest>

parcel-descriptor.xml
- -------------------------------
<parcel language="Java" xmlns:parcel="scripting.dtd">
        <script language="Java">
                <locale lang="de">
                        <displayname value="ScriptDispatch.Java"/>
                        <description>dispatches a java script...</description>
                </locale>
                <functionname value="org.test.java.ScriptDispatch.execute"/>
                <logicalname value="org.test.java.ScriptDispatch.execute"/>
                <languagedepprops>
                        <prop name="classpath" value="ScriptDispatch.jar"/>
                </languagedepprops>
        </script>
</parcel>

- --

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXC5bTiyrQM/QSkURAiCVAJ90ozxQL2XUuhv1iYIPxhKPr69KFgCgjtPU
PzPhKFTcKGw+69oOZL/KATw=
=XM8l
-----END PGP SIGNATURE-----

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

Reply via email to