Hi Jürgen,

>> while going over a Java extension taking advantage of OOo's scripting
>> framework, I have not been able to get at *any* documentation about the
>> "com.sun.star.script.framework" module. (The only docs available are
>> draft-versions of describing the script framework coarsely in prosa and
>> the source code for Bash and the like.)
>>
>> E.g., where would I find the documentation/IDL for
>> <com.sun.star.script.framework.container.ScriptMetaData> or any of the
>> other services, interfaces etc. defined for it?
>
> there are no IDL for this types. The referenced ...script.framework
> module is part of the Java implementation of the scripting framework
> (more or less private APIs or at least they should be private) and the
> whole thing is at the moment somewhat unmaintained. And of course
> there should be no direct relation between a implementation of
> ScriptingProvider and the scripting framework core that is no UNO API.
> From that perspective you shouldn't use this types.
:)

The reason why I am asking is simple: one *must* use at least
<com.sun.star.script.framework.container.ScriptMetaData> which contains
all of the script's infos that an implementor of a scripting language
needs to know.

As a matter of fact I have been using that already by merely copying an
existing scripting framework implementation 1:1 and just changed (very)
a few parts such that I could employ ooRexx with it. Without accessing
the ScriptMetaData-object it would not be possible to get at the
script's code, its name etc.

For that sole reason this particular service should be documented one
way or the other.

> I know that is no satisfying news but it is as it is at the moment.
> And i know that the DevGuide document something else which of course
> is a bug as well. The whole area needs some redesign or at least some
> rework and a clear definition of the interfaces...
> It is a lot of work and you are invited to help... Otherwise i don't
> see any improvements in this area in the near future.
Well, if I could get a hold of a student with the needed (technical)
knowhow I could ask him/her to tackle that area, if (at least initial)
support from you or someone else in the know could be supplied.

---

In the meantime could you please point me to the sources of
<com.sun.star.script.framework.container.ScriptMetaData> ? That's
probably the only really needed service (I would volunteer to document
those interfaces that "make sense" for a scripting engine implementor in
a Wiki).

Regards,

---rony



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

Reply via email to