[dev] security question

2010-07-25 Thread Jamie
To Whom It May Concern,

I recently downloaded your open office version 3.2.  Ever since that 
download, I have gotten a blue screen warning me that a software issue has 
caused Windows to stop my computer.  This is the first time I have ever used 
your product and I REALLY enjoy it.  Any ideas?  Please respond accordingly.

Yours truly,

James Lancaster

[dev] Changed an extension from .jar to .oxt, now extension gets installed but cannot be used ?

2010-07-25 Thread Rony G. Flatscher
Hi there,

currently (for many years) I have been deploying a scripting extension
using a .jar file, named ScriptProviderForooRexx.jar (adding the
ooRexx language to OOo, such that ooRexx scripts can be dispatched via
OOo as well).

Now, this weekend I wanted to change the filetype to .oxt
(ScriptProviderForooRexx.oxt) and adding a description.xml file with
a few bells and whistles (icon, description, version number).  At first
everything seemed to be working o.k., the extension manager was able to
install and remove the extension, displaying all what description.xml
contained.

However, the scripting engine does not get registered, it seems,
although nothing else got changed (just added description.xml and two
aubdirectories, images and information, to contain files that are
referred to by description.xml). With other words, there is still a
META-INF/MANIFEST.MF (unedited as of yet), containing a
RegistrationClassName:

Manifest-Version: 1.0
RegistrationClassName: com.sun.star.script.framework.provider.oorexx.S
 criptProviderForooRexx
  

It seems that the extension manager is either not handling this (or not
expecting an extension to the OOo scripting framework), at least not in
the way I had expected it to.

The description.xml file contains the following elements:

description (root element)
version
identifier
dependencies
publisher
release-notes
display-name
icon
extension-description

Is there something I must also denote in the description.xml file to
cause the extension to be identified and registered as an extension to
the OOo scripting framerwork, or am I missing something obvious ?

[P.S.: Just renaming the extension back to '.jar' makes everything work
again, but I loose the description.xml stuff, which is a little bit
unfortunate.]

TIA,

---rony




Re: [dev] Changed an extension from .jar to .oxt, now extension gets installed but cannot be used ?

2010-07-25 Thread Oliver Brinzing
Hi,

 Is there something I must also denote in the description.xml file to

you need a META-INF\manifest.xml where you list all your files, for example:

?xml version=1.0 encoding=UTF-8?
!DOCTYPE manifest:manifest PUBLIC -//OpenOffice.org//DTD Manifest 1.0//EN 
Manifest.dtd
 manifest:manifest xmlns:manifest=http://openoffice.org/2001/manifest;

manifest:file-entry manifest:full-path=my.jar manifest:media-type=
   application/vnd.sun.star.uno-component;type=Java /

manifest:file-entry manifest:full-path=my.rdb manifest:media-type=
  application/vnd.sun.star.uno-typelibrary;type=RDB /

manifest:file-entry manifest:full-path=registry/my.xcu
  manifest:media-type=application/vnd.sun.star.configuration-data /

manifest:file-entry manifest:full-path=registry/my.xcs
  manifest:media-type=application/vnd.sun.star.configuration-schema /

/manifest:manifest

http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/File_Format

Regards

Oliver

-- 

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45



signature.asc
Description: OpenPGP digital signature