Re: [dev] Password protect extension

2010-06-08 Thread Steffen Grund

Hi all,

I really do not see the scenario:
- if the extension is installed in shared mode, you have to be admin to 
remove the extension
- if the extension is installed in the user layer and you'd need a 
password do disable or remove it, you could always just remove the 
complete user installation to get rid of the extension.


Just my thoughts, Steffen


Rene Engelhard wrote:

Hi,

On Tue, Jun 08, 2010 at 02:01:57PM +0200, Jean-Baptiste Faure wrote:

Le 08.06.2010 11:47, Kai Sommerfeld a écrit :

Hi,

On 08.06.10 10:37, Christian Heise wrote:

Hi everybody,

Is it possible to protect an extension in a way that disabling or
uninstallation have to be confirmed by entering a password?


 No, that is not possible.

- Kai.


But if you install this extension in shared mode, you have to launch
OpenOffice.org as admin to disable or uninstall this extension. And on
all serious OS you have to enter a password to open an admin session or
launch a software as admin.
No ?


Correct. (Actually I had a similar reply in my postponed but refrained from
sending it as that's so obvious that the OP probably is not OK with that
possibility and just wants to restrict usage of the extension itself)

Grüße/Regards,

René

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org






-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] OO SDK GLIBCXX_3.4.9 not found in Linux Ubuntu

2010-01-11 Thread Steffen Grund

Hello Fabio,

well, the problem you describe happens at project creation, long before 
you are able to debug. I am puzzled by this. In your first post, AFAIR 
you got past the compilation state. Did you change anything?


Regards, Steffen

Fabio A. Miranda wrote:

Hello OO Developers:

Regarding Ubuntu 64 OO SDK, I am interested in resolve the issue so we
can provide "green light" to Ubuntu developer of OO addons.

The problem is the process of "add-on" creation do not finish correctly,
this is the error:

r...@catullus:~# uname -a
Linux catullus 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC
2009 x86_64 GNU/Linux
r...@catullus:~# /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker 
/opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker: /opt/openoffice.org/basis3.1/sdk/bin/../../ure-link/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker)
r...@catullus:~# 


This prevent the debugging to take place, anyone know how to solve
this ?

r...@catullus:~# dpkg --get-selections|grep libstd
libstdc++5  install
libstdc++6  install
libstdc++6-4.1-dev  install
libstdc++6-4.4-dev  install
r...@catullus:~# 


thanks in advance,

fabio.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org





-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Problems while running in Debug mode with NB

2010-01-07 Thread Steffen Grund

Hello Fabio,

could you try the following?

1. Check if remote debugging works "by hand" without the help of the 
NetBeans plugin.


Open OpenOffice.org and register your extension, then do the following:

(Copied from 
http://user.services.openoffice.org/en/forum/viewtopic.php?f=45&t=3145)


* Enable Java remote debugging in OOo: Start OOo, and call "Tools" > 
"Options..." > "OpenOffice.org" branch > "Java". Select the JRE OOo uses 
and press the button "Parameter...". Enter now the Java start parameters


-Xrunjdwp:transport=dt_socket,server=y,address=12999,suspend=n

and press "Assign". Thats all, you have to do in OOo to enable remote 
debugging. (...)


* Set up NetBeans IDE for remote debugging: Start NetBeans IDE, and call 
"Run" > "Attach Debugger...". Select the Debugger "JPDA Debugger", the 
Connector "SocketAttach (Attaches by socket to the other VMs)", the Host 
"localhost" or "YOUR_HOSTNAME", the Port "12999" and leave the Timout empty.



2. I assume that you use the OpenOffice.org that comes with Ubuntu. I 
know of cases where the packaged versions of OpenOffice.org in Ubuntu 
did not behave as expected. Could you download and install 
OpenOffice.org and thze OpenOffice.org SDK from the website and try to 
reproduce the behaviour?


Regards, Steffen

Fabio Miranda wrote:

Hello,

I am trying to debug a extension in Ubuntu 64 with NB 6.8 and OO SDK latest
version. But, I came across this error:


debugging UNO extension package ...
/opt/openoffice.org3/program/unopkg gui -f
/home/fabio/NetBeansProjects/UniOffice/dist/UniOffice.oxt
starting the Office with ...
user installation:
file:///home/fabio/NetBeansProjects/UniOffice/build/soffice_debug
debug options: "-Xdebug"
"-Xrunjdwp:transport=dt_socket,address=lesbia:39057"
/opt/openoffice.org3/program/soffice
Picked up JAVA_TOOL_OPTIONS: "-Xdebug"
"-Xrunjdwp:transport=dt_socket,address=lesbia:39057"
FATAL ERROR in native method: JDWP No transports initialized,
jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: connect failed: Connection refused
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[../../../src/share/back/debugInit.c:690]
JavaVM: JNI_CreateJavaVM called _exit, caught by abort_handler in javavm.cxx
[Java framework] sunjavaplugin.soCan not create JavaVirtualMachine, abort
handler was called.
[Java framework] sunjavaplugin.soCan not create Java Virtual Machine



fa...@lesbia:/tmp/UniOffice$ java -version
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)
fa...@lesbia:/tmp/UniOffice$


thanks for any advise,

fabio.



--
Steffen Grund   Sun Microsystems
Software Engineer - StarOffice Nagelsweg 55
Phone:  +49 40 23646 647D-20097 Hamburg
Fax:+49 40 23646 550  http://www.sun.com/staroffice
---
Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Haering

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Test Cleanup

2009-12-14 Thread Steffen Grund

Hello,

see my 2 cents below.

Stephan Bergmann wrote:

Hi all,

I just embarked on a new project, namely to clean up and consolidate the 
various test frameworks and corresponding tests available in the OOo 
build environment.  These include at least:


- C++ unit tests, based on CppUnit and/or testshl2, and Java unit tests, 
based on JUnit and/or qadevOOo.  These are scattered across the code 
base (*/qa, */test, */workben, testtools/, ...), some are executed 
during a regular build (o3tl/qa, basegfx/test, basebmp/test) but most 
are not even compiled during a regular build (and thus rot over time). 
Some of the tests need no special environment, while others require a 
working UNO runtime environment.


- The so-called "UNO-API" and "Complex" tests.  These are located in 
*/qa/unoapi and */qa/complex, use OOoRunner from qadevOOo, and can be 
executed via cwscheckapi or checkapi.  They require an installed OOo, 
which cwscheckapi takes care of.  They are not compiled or executed 
during a regular build (they clearly cannot be executed, as they require 
an installed OOo), but it is expected that cwscheckapi is manually 
executed for each CWS.


Not connected, I would like to change something: as far as it is 
possible (from build order perspective), I plan to include all Java 
tests into the build, where this has not been done already. Tests can 
then be executed with dmake or cwscheckapi.
Execution while building is not planned - nearly all tests need an 
installed runnable office to execute.

When no Java environment is set, tests will not be compiled, of course.

-Steffen



- The smoke test in smoketestoo_native.  It requires an installed OOo, 
which smoketest.pl takes care of.  It is executed at the end of a 
regular build.


- The ConvWatch and Performance tests, that can be started from the EIS 
page of a CWS.  They require an installed OOo (and also the installation 
of a corresponding master-workspace OOo, for result comparison), which 
they take care of.  They are not executed during a regular build, but it 
is rather expected that they are manually triggered from EIS for each 
CWS (where they are executed asynchronously on dedicated machines, and 
their results made available in EIS).


What is *not* covered (for now?) are the automatic QA tests based on 
testtool, as well as the "portability tests" (so to speak) of building 
OOo on a wide range of platforms via buildbots and tinderboxes.


The two main problems with the tests listed above appear to be that (a) 
many of them require an OOo installation, and they all invented their 
own ways of providing one, and all those ways are brittle and start to 
fail sooner or later, and (b) the tests that are not compiled or 
executed during each build (CWS as well as master) start to rot sooner 
or later.  A third problem probably is that the tests and test 
frameworks are often poorly documented and do things in non-standard 
ways (e.g., testshl2 vs. plain CppUnit), so that it is not easy to 
maintain existing tests and write additional ones.


I would like to address these problems.  My "guiding vision" in doing so 
is the following "perfect world:"  There is one OOo installation in the 
solver.  (Ideally, it would automatically emerge from delivering the 
various files directly to the appropriate locations in the solver.)  All 
the tests that require an OOo installation use that one installation. 
(They do not modify it.  Each test probably has its own, throw-away 
UserInstallation directory, and soffice is started with appropriate 
switches to not show unwanted first start wizards etc.)  All the tests 
are written using standard tools (the xUnit framework: CppUnit resp. 
JUnit).  For tests that have specific requirements on their environment 
(i.e., require a working UNO runtime environment, or an OOo 
installation), there are library routines available to set up/tear down 
such environments, to be called from the xUnit setup/tearDown methods. 
Generally, tests are compiled and executed during every regular build. 
For tests which absolutely cannot be executed during every regular build 
(maybe because they are too expensive, or require a dedicated machine, 
like could be the case for the performance test), the main way to 
execute them is still to have some (manual) makefile target for them. 
(There may be additional convenience mechanisms, like buttons in EIS, 
but they are strictly secondary.)


I know that this picture is not perfectly realistic, and that there will 
be obstacles along the way that require pragmatic workarounds.  Still, I 
think it is important to know what the ideal should look like, even if 
you have to deviate from it.


As a first step, I set up CWS sb118 to experiment, as a showcase and to 
gain further insight, with turning smoketestoo_native into such an ideal 
test.  As it turned out, the first thing I had to do on that CWS was to 
replace the heavily modified CppUnit 1.8 currently used by OOo with a 
plain unmodified 

Re: [dev] Someone is charging a FEE to download your FREE software

2009-05-12 Thread Steffen Grund
The current issue of German computer journal "ct" has web rip-offs as a 
main theme.

Only in German:
http://www.heise.de/ct/inhalt/2009/11/6

In the editorial, as an example for a search string that leads to such 
web pages, "openoffice" is mentioned.



Malte Timmermann wrote:

Unfortunately this happens quite frequently, and can't be hindered.

That's why I did put all these extra information in my OOo 3.1
announcement here:

http://blogs.sun.com/malte/entry/openoffice_org_3_1_released

Malte.


Kengi Kat wrote, On 05/09/09 21:22:

I just got a new laptop and since I just found out about open office I
certainly wasnt going to pay for Microsoft office when your program is much
better and WORKS when I need it the most. (ALL THE TIME)
Well I did a search for it and when I clicked on the link I was a bit taken
back because it was free when I downloaded it before. Why wasnt it free
anymore? Well I was just about to give the website my credit card
information when I looked at my address bar and sure enough I wasnt even at
your site. Here is the link to the site the is charging money for your FREE
software

http://www.fileguru.net/homepage.php?pid=98&bnid=54&hop=howgood&gid=&ovid=&yid=&msid=&item=

I am formerly homeless in my 5th battle with cancer, never ending battle
with Sickle Cell and now I am also HIV positive. I was on the streets
battling all of this with NOTHING but my laptop and digital camera to
document my story and what homeless people like myself are really up
against. So I dont have any extra money to give anyway to anyone. There are
days when I still dont eat because I dont have the money to get food.

Please make sure this person doesnt rip people off using your FREE sotfware.
it just isnt right.

Best

Kengi



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org





-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Error while calling web service through openoffice extention

2008-10-07 Thread Steffen Grund

Hi again,

now I am confused. The construct
m.callWebService("lower caseee");
looks like callWebService is a method on your class Main. How does this 
work, if callWebService is indeed a class?


Regards, Steffen

Dinesh Chothe wrote:

I am guessing, this exception is generating because of
class callWebService is not found.   The external jar which contains
above class is also present in  .oxt.

On Tue, Oct 7, 2008 at 3:39 PM, Steffen Grund <[EMAIL PROTECTED]> wrote:


Hello,

I do not recognize the exception you get. Are you sure that all the
additional jars/libraries you need for accessing the web service are also
packed with the Add-On project. What you should try out is to add these
jars/libraries also to the Add-On extension.
But I'm really just guessing here.

Regards,
Steffen


Dinesh Chothe wrote:


  Hello,  I have been developing an extention using
java1.6,net-beans6.1,jax-ws(Web Services),tomcat6.
Firstly generated one web service by using netbeans6 which
simply takes one string and returns string to client.
Then created .war of same and deployed in tomacat
web-apps.
 After this developed one simple java program which calls
above created web-service.As successfully testing this
 java client, created its .jar  file then added into
openoffices add-on extention program. Then simpley called jar's
method which calls web service.
 if ( aURL.Path.compareTo("CallWeb") == 0 ){
   // add your own code here
   System.out.println("Calling Web Service-");
   Main m = new Main();
   m.callWebService("lower caseee");
 }
   But while doing this it throws following exception.

   Exception =
com.sun.xml.internal.ws.model.RuntimeModelerException: runtime modeler
error: Wrapper class callWebService is not found. Have you run APT to
generate them?




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







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



Re: [dev] Error while calling web service through openoffice extention

2008-10-07 Thread Steffen Grund

Hello,

I do not recognize the exception you get. Are you sure that all the 
additional jars/libraries you need for accessing the web service are 
also packed with the Add-On project. What you should try out is to add 
these jars/libraries also to the Add-On extension.

But I'm really just guessing here.

Regards,
Steffen

Dinesh Chothe wrote:

   Hello,  I have been developing an extention using
java1.6,net-beans6.1,jax-ws(Web Services),tomcat6.
 Firstly generated one web service by using netbeans6 which
simply takes one string and returns string to client.
 Then created .war of same and deployed in tomacat
web-apps.
  After this developed one simple java program which calls
above created web-service.As successfully testing this
  java client, created its .jar  file then added into
openoffices add-on extention program. Then simpley called jar's
 method which calls web service.
  if ( aURL.Path.compareTo("CallWeb") == 0 ){
// add your own code here
System.out.println("Calling Web Service-");
Main m = new Main();
m.callWebService("lower caseee");
  }
But while doing this it throws following exception.

Exception =
com.sun.xml.internal.ws.model.RuntimeModelerException: runtime modeler
error: Wrapper class callWebService is not found. Have you run APT to
generate them?




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



Re: [dev] NetBeans setup for sdk

2008-08-19 Thread Steffen Grund

Hi Terrence,

when you check out the sources and build the project, you're at your own 
risk - this is work in progress and you cannot be sure that you get a 
version that works at all. To be on the safe side, look for the tagged 
version 1.1.3.


But you do not have to build it yourself at all, version 1.1.3 is in the 
NetBeans beta update center: open Tools -> Plugins and change to 
"Available Plugins", then install the plug-in. You have to remove the 
version you already installed to see the plug-in as available, though.


Your error regarding the SDK lets me think that your SDK indeed is not 
valid, because the algorithm to check it is not really sophisticated. 
Can you use the SDK standalone, e.g. build and execute an example? 
Lastly, which platform are you on?


Regarding the wiki-page: you are right, the behaviour of the plug-in has 
changed in that regard. I will update the page.


Regards, Steffen


Terrence Enger wrote:

Ariel,

Short version:  everything cool until configuration.  Details in-line.

On Thu, 2008-08-14 at 03:28 -0300, Ariel Constenla-Haile wrote:

Hi Terrence,

Terrence Enger escribió:

Hi,

I see "OpenOffice.org API plugin for Netbeans 1.1.3 available"
, but

 at least (I loooked at other some other mirrors back on the 6th) is a mere 42 bytes.  Wow, 
that is right good compression technology .

I presume this is just a packaging issue.  Is there a better place for
me to raise it?

OOo-Dev_OOO300_m2_src_sdk.tar.bz2 is the source code for compiling the
SDK (for this you need the whole OOo build environment). And the NB
plug-in isn't anyway included.

You can use the NetBeans IDE to checkout the plug-in sources and compile
them yourself.

Open the wizard from the menu Versioning - CVS - Chechout...

* In CVS Root type:

 :pserver:[EMAIL PROTECTED]:2401/cvs

* in Pasword type

 anoncvs

* press "Next"

* in Module type

 api/oonetbeansintegration

* in Local folder select a dir. where to download


So far so good.


* when finished the IDE will ask you to create a project, accept
* build it,


Warnings about deprecated classes and proprietary APIs.  I'm not gonna
let little things like that stop me.


 and create the NMB


the NBM, I guess.  Anyway, that's what I created.


* install it


That seemed to work.  Tools > Plugins > Installed shows version 1.1.3
now.

Contrary to
,
 it did not prompt during installation for Office installation and sdk installation 
directories.  Going in to enter them now ...

Whoops.  I cannot get past message "The selected OpenOffice.org SDK
installation directory is not valid!".  This happens for my directories 
DEV300_m19/sdk_oo

DEV300_m19_localbuild/sdk_oo
DEV300_m19_localbuild/opt/sdk_oo
DEV300_m19_localbuild/opt/openoffice.org3/sdk_oo
where DEV300_m19/ is where I build OOo and DEV300_m19_localbuild/ is
where I installed it.  (Yes, I am reduced to trying things at random.)

Do I need a more recent OOo or sdk?  Any other suggestions?

Thanks,
Terry.


That's all.

Regards
Ariel.






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



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



Re: [dev] Fw: [saxon] Saxon9 and OpenOffice 2.4

2008-08-12 Thread Steffen Grund

Hi Agnisys,

the Saxon.jar must be present in your extension - best way to add it 
during creation of the extension with a zip command. Additionally, the 
"Class-Path:" entry in the manifest file of your .jar must reference the 
saxon9.jar file.

Do you use NetBeans to create the extension?

Hope that helps, Steffen

Agnisys wrote:

Hi,
  Can someone help me run an XSLT transformation using Saxon in an Openoffice 
2.4 extension?
  I get a  "net.sf.saxon.TransformerFactoryImpl not found" error. 
Thanks,

Anupam.



- Forwarded Message 
From: Svante Schubert <[EMAIL PROTECTED]>
To: Mailing list for the SAXON XSLT and XQuery processor <[EMAIL PROTECTED]>
Sent: Friday, August 8, 2008 10:17:28 AM
Subject: Re: [saxon] Saxon9 and OpenOffice 2.4

Hi Agnisys,

there is usually no Saxon9 in OOo 2.4, therefore you have to add it to 
your Office extension.
Try the dev@openoffice.org list for further details, you are on the 
wrong mailing list. ;-)


For the good news, Saxon9 will be part of OOo 3.0.
Many thanks to Michael Kay for his help on this task and of course for 
the nice processor he provides.


Regards,
Svante

Agnisys wrote:

I'm trying to use Saxon9 in an extension created for OO2.4.
When running the extension, I get the following error :

net.sf.saxon.TransformerFactoryImpl not found

My guess is that at run time its not finding the said class. So here are the
things I've tried : 
1. Added saxon9.jar to CLASSPATH 
2. copied saxon9.jar to the program/classes dir in OO2.4 directory

structure.
3. copied saxon9.jar to the distribution area of the extension.

I still get the same error. Any pointers would be very much appreciated.
Thanks,
Anupam.

  




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



Re: [dev] openoffice hangs in writer appln

2008-08-06 Thread Steffen Grund

Hi there,

still, the best way is to submit an issue with your document. Just 
attach some code snippets of what your extensions does to make the bug 
easier to reproduce.

You can send the bug to me if you like.

Regards, Steffen


Dinesh Chothe wrote:

Thanks for reply.
Without loading my extension if I opens same document in OpenOffice
doesn't  create
 any problem.
  My extension firstly reads whole contents of doc line by line through
moving cursor to
end of document. In this case it is not creating any problem with
small content(for eg 50 pages doc)
but when it works with more than above limit it gets openofffice as
not responding after some time.

On Wed, Aug 6, 2008 at 1:04 PM, Oliver-Rainer Wittmann - Software Engineer -
Sun Microsystems <[EMAIL PROTECTED]> wrote:


Hi,


Dinesh Chothe wrote:


Hello,
 I have developed one oxt  using java and it works with OO writer.
 This oxt processes reads data from .doc files and converts its to
other form.
 Now when I uses upto 50-60 pages doc file it works fine but when
I
use 100 pages
 doc file, openoffice hangs.My CPU using 2 GB Ram.

 Can you reproduce the hang without your extension loading the specific

Microsoft Word document?

If yes, please submit a corresponding issue and attach the Microsoft Word
document, which causes the hang.

Thanks, Oliver.

--
===
Sun Microsystems GmbHOliver-Rainer Wittmann
Nagelsweg 55 Software Engineer - OpenOffice.org/StarOffice
20097 Hamburg
Germany  Fax:   (+49 40) 23 646 550
http://www.sun.demailto:[EMAIL PROTECTED]
---
Sitz der Gesellschaft:
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

===
Oliver-Rainer Wittmann (od) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS

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







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



[dev] NetBeans Tips and Tricks

2008-03-28 Thread Steffen Grund

Hello all,

I just created a wiki page for NetBeans users to publish some tips and 
tricks around programming in Java for OpenOffice.org. Here it is:


http://wiki.services.openoffice.org/wiki/NetBeans_Tips_and_Tricks

Not much content right now, but there is a useful tip around avoiding to 
type UnoRuntime.queryInterface() repeatedly.


Any feedback is welcome.

Regards, Steffen

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



Re: [dev] Netbeans 6 plugin

2007-09-27 Thread Steffen Grund

Hi Craig,

try checking out the latest changes I made this morning. You have a 
chance to compile the plug-in with the following line added to 
nbproject/private/private.properties:


jhall.jar=/harness/jsearch-2.0_04.jar

I just presume, that the jsearch.jar version is the same in your 
NetBeans. You'd better check this.


Please let me know if you run into any other issues.

Regards, Steffen


Craig Tataryn wrote:

I read in the archives about someone trying to get OO plugin working
for Netbeans 6, the solution was to download and build from source.

I did that, but have been having trouble.  It seems the default build
script in HEAD is NB 5.x specific (it relies on certain dependencies
being available that presumably you've added through the update
centre).

Is there perhaps a certain branch I should be checking out that has an
NB 6 build script?

Thanks,

p.s. if I've gotten the wrong mailing list, could you kindly forward
me the address to subscribe to the api list?

Craig.

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



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



Re: [dev] OO 2.3: How to add a submenu to an OfficeMenuBar ?

2007-08-23 Thread Steffen Grund

Hi again,

ok, here it is, a Addons.xcu file for a menu structure with two commands 
in a sub menu. I used NetBeans and the mentioned plugin to create this - 
took about 2 minutes. I added a separator between the commands as a 
benefit ;-).


Regards, Steffen



http://openoffice.org/2001/registry"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema"; oor:name="Addons" 
oor:package="org.openoffice.Office">

  

  

  
  AddOn Menu


  _self


  


  

  


  


  _self


  
  Menu1

  

  
com.example.addon1:Command0
  
  

  
  
_self
  
  

  
  

Command0
  


  
private:separator
  


  
com.example.addon1:Command1
  
  

  
  
_self
  
  

  
  

Command1
  

  
  

  



  

  com.example.addon1:Command0


  

  

  
  

  com.example.addon1:Command1


  

  

  
  
  


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



Re: [dev] OO 2.3: How to add a submenu to an OfficeMenuBar ?

2007-08-22 Thread Steffen Grund

Hi Oliver,

I suggest you have a look at the NetBeans API Plugin for OpenOffice.org.
See
http://wiki.services.openoffice.org/wiki/OpenOffice_NetBeans_Integration

Look at the AddOn project wizard for OpenOffice.org inside of the 
plugin. There you can create menu structures with commands, sub-menus 
and icons with a wizard. Among others, you will get a working .xcu file 
afterwards that you can use - even if you do not wish to implement your 
extension in Java.


If you want to implement your extension in Java, I strongly suggest you 
have a look at the plugin ;-).


HTH, Steffen

Oliver Brinzing wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

i know i asked this question a year ago, but OO 2.3 has a new feature:
http://wiki.services.openoffice.org/wiki/Framework/WorkInProgress/Addon_Menu_Toolbar_Merging

Is it now possible to create a menu structure like this ?

[File] [MyTopLevelMenu] [Edit]
 - Entry 1
 - Entry 2
 - Submenu 3
   - Entry 3.1
   - Entry 3.2
 - Entry 4

How can I add the "Submenu 3" with "Entry 3.1" and "Entry 3.2" ?

Can one please give me an example ?

Oliver




- --


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

iD8DBQFGxsITTiyrQM/QSkURArf3AJ4yfmVYWTCYn5VhaH99HAMPO/KH3wCePfj3
xxn1Iu8dHwF3zt7Fs0AmmmM=
=i48f
-END PGP SIGNATURE-

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



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



Re: [dev] error redeploying calc addin

2007-04-16 Thread Steffen Grund

Hi Mark.



Hi Steffen, it's not opensource yet but I hope to release it soon (once
it's done and debugged, of course). Shall I send it to you directly?


Yes, please.

Regards, Steffen

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



Re: [dev] error redeploying calc addin

2007-04-13 Thread Steffen Grund

Hi Mark,

no idea at first glance. Can you provide us with your add-in, provided 
it is open source?


Regards, Steffen

Mark Greenbank wrote:

Hi,

I've built an addin using the Netbeans plugin and when I deploy the addin
(either from Netbeans or from the command line) I get the following error:

ERROR: (com.sun.star.lang.DisposedException) { { { Message = "Package
instance has already been disposed!", Context = 
(com.sun.star.uno.XInterface)

@-bb35af8 } } }

Can anyone shed some light on what the problem might be (and possible
solutions)?

Thanks,
Mark



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



Re: [dev] Reasons why OpenOffice encounters error

2007-02-22 Thread Steffen Grund

Well, hard to say what happens without knowing what you do...
As a wild guess, is there something like this in your code:

frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

Then replace it. This code may stop the JavaVM and this can crash the 
office.


Do you get a stack trace when the office crashes?

HTH, Steffen

mellannie rachelle reyes wrote:

HI im mellanne again, we are using JCreator for our coding in JAVA...the
openoffice can read our code and execute what is needed but after execution
it will automatically start its recovery of the file, it says that it
encountered an error that is why OOo crashes...

thank you very much!!!



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



Re: [dev] Reasons why OpenOffice encounters error

2007-02-21 Thread Steffen Grund

Hi,

well, what Java version do you use and do you get some kind of error 
message you can post?


-Steffen


mellannie rachelle reyes wrote:

Good day sir/mam

I just want to know what are the possible reasons that unexpected error
will occur and OpenOffice will crash.
I am trying to integrate an add-on (Filipino Grammar Checker) and 
whenever i

try to test our code the error occurs.

thank you very much!!!

OS using: windows
Procedure of integration: call a java class(where our code is)



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



Re: [dev] Action Listener Problem

2007-01-31 Thread Steffen Grund

Hi.

Do the following in your class:

public final class Thesis extends WeakBase
   implements com.sun.star.lang.XServiceInfo,
  com.sun.star.frame.XDispatchProvider,
  com.sun.star.lang.XInitialization,
  com.sun.star.frame.XDispatch,
  java.awt.event.ActionListener


and later on implement this:

public void GUI() {
JFrame.setDefaultLookAndFeelDecorated(true);
JFrame frame = new JFrame("Test Frame");

// Do not do this! This will force the JavaVM to quit,
// and thus breaks the Office.
// see javadoc for javax.swing.JFrame:
// you are NOT an application, only an extension ;-)
//frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

JButton clickButton = new JButton("Click Me");
clickButton.setActionCommand("clickme");
clickButton.addActionListener(this);
frame.add(clickButton);

frame.pack();
frame.setVisible(true);
}

public void actionPerformed(ActionEvent actionEvent) {
if ("clickme".equals(actionEvent.getActionCommand())) {
JOptionPane.showMessageDialog(new Frame(),
"Button 'Click me' clicked.");
}
}

I took this nearly 1:1 from
http://java.sun.com/docs/books/tutorial/uiswing/components/button.html
which is a great source for code examples in Java.

Your question seems to have no relevance to OpenOffice.org, so this may 
be the wrong mailing list. I'd suggest some Java specific list for 
questions like these.


HTH, Steffen

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



Re: [dev] Fwd: Beginner who really wants to learn!

2007-01-24 Thread Steffen Grund

Hi.

As a quick example, put the following code in place of the "your code 
here" comment in the "dispatch(...)" method (not inside 
addStatusListener or removeStatusListener):


try {
XMultiComponentFactory xMCF = m_xContext.getServiceManager();
// get the desktop object
Object oDesktop = xMCF.createInstanceWithContext(
"com.sun.star.frame.Desktop", m_xContext);
XDesktop xDesktop = (XDesktop)
UnoRuntime.queryInterface(XDesktop.class, oDesktop);
// get the current frame
XFrame xFrame = xDesktop.getCurrentFrame();
// get the text document
XModel xModel = xFrame.getController().getModel();
XTextDocument xTextDoc =
(XTextDocument)UnoRuntime.queryInterface(
XTextDocument.class, xModel);
// get a text object from the text document
XText xText = xTextDoc.getText();
// get the string
String text = xText.getString();
// show message box with the text
JOptionPane.showMessageDialog(new Frame(), text);
} catch (com.sun.star.uno.Exception ex) {
ex.printStackTrace();
}

This takes the text of the current document and shows it in a Java 
message box. The code will fail miserably if not called from a Writer 
window.
But I strongly suggest to go through the Developer's Guide for 
background information on Add-Ons and general UNO programming (I cannot 
put everything in the comments :-()

http://api.openoffice.org/DevelopersGuide/DevelopersGuide.html

HTH, Steffen

Vic wrote:

  Can u provide me with a simple code that i would paste there that just 
displays whatever i typed in the document in a message box.  And if u would be 
so kind can u put comments in it.  I Think with this simple code i could climb 
my way to learning the programming.  I hope you would send any help to my email 
and i would really appreciate it


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



Re: [dev] ADD-ON FOLLOW-UP QUESTION

2007-01-11 Thread Steffen Grund

Hi.

Please post to the newsgroup, not to the members personally.
Forwarded to [EMAIL PROTECTED]

As a reply: You seem to confuse the Add-In (which is indeed only for 
Calc) with the Add-On which can be used in several contexts (including 
Writer). I can only again point to the Developer's Guide.


Regards, Steffen


mellannie rachelle reyes wrote:
good day sir!! im mellannie, and i would like to know if the one that you suggested to me about netbeans for integration in the OOo could also be applied in OOo.writer? because according to wikipedia it will add in the library of calc add-ons,etc. but it does not tell if it will be added in the library for .writer, thank you very much!!! 


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



Re: [dev] ADD-ON FOLLOW-UP QUESTION

2007-01-10 Thread Steffen Grund

Hi.

If you are using NetBeans as platform (or would like to do so) I'd like 
to point you to the NetBeans Integration project which extends NetBeans 
to create AddOns for OpenOffice.org with a step-by-step wizard, 
including menu entries.

(You can get NetBeans at:
http://www.netbeans.org
and the Netbeans Integration at:
http://wiki.services.openoffice.org/wiki/OpenOffice_NetBeans_Integration
)

For understanding what an AddOn is, I'd like to point you to:
http://api.openoffice.org/docs/DevelopersGuide/Components/Components.xhtml#1_7_3_Add-Ons

Regards, Steffen


mellannie rachelle reyes wrote:
*Good day sir!!! I am Mellannie again, sorry for asking over and over 
again,

actually its my first time to add a plug-in in a particular application and
i am still quite confused.*

*What we were really trying to do is to add a plug-in in the
openoffice.writer at the toolbar and a top-level menu, in the first step i
will have to register components using unopkg, and according to the
dev_guide i will use a command prompt? if i am correct, honestly i do not
know what are the components that i should add, is it a code or something?
and pls help me on how can go to the path of unopkg using command prompt? i
am really sorry but i am really confused considering that this is also my
first time to even use an openoffice...also accdg. to the dev_guide we 
could
use our own images for our add-on, but where are we going to save our 
image,

is it in the folder of openoffice?, also is it required that our image
should be in hexadecimal form if it is already a bmp?...*
**
*Furthermore our code is written in java, will there be a way on how 
will we

be able to integrate it in out add-on?*
**
*Do you have any suggestions or other examples(for beginners other than the
example from dev_guide) from scratch on how to add a plug-in(with a more
specific step in registry in UNO, config XML,etc.) and integrating a 
code in

it?*
**
*THANK YOU VERY MUCH FOR ALL YOUR SUPPORT AND PATIENCE IN ANSWERING OUR
CONCERNS, PLS FEEL FREE TO EMAIL ME BACK AT : [EMAIL PROTECTED]
**
*AGAIN THANK YOU!*
**
**



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



Re: [dev] OpenOffice & Tomcat

2007-01-09 Thread Steffen Grund

Hi Markus,

seems like your office is not found. I know nothing about BSF4Rexx, but 
does setting the system property "com.sun.star.lib.loader.unopath" help you?

Confer
http://udk.openoffice.org/common/man/spec/transparentofficecomponents.html
for additional hints on this.

Regards, Steffen

Markus Auchmann wrote:

Hi guys,

currently I'm working on an application where I try to use OpenOffice in a
Tomcat servlet. I'm running Tomcat 5.5.20 and OpenOffice 2.1. To talk to
OpenOffice I decided to use the BSF4Rexx engine which works properly with my
servlet. But when I try to invoke OpenOffice I get an error. The scripts are
all running fine when trying it without the servlet, so this is a
Tomcat/OpenOffice/Configuraiton issue.

Here is a part of the error which I receive from Tomcat:

->8
 Exception in thread "http-8080-Processor25" 
 org.apache.bsf.BSFException: /// Java-exception (RexxAndJava) occurred:
 [com.sun.star.comp.helper.BootstrapException: no office executable 
 found!] \\\ BSF4Rexx subfunction "invoke": object 
 '[EMAIL PROTECTED]' - method [BOOTSTRAP], method not found or error

(exception) executing method!
->8

I added all necessary lib's to my lib directory of my application but
apparently tomcat is not able to speak with OpenOffice. As BSF4Rexx itself
is calling Java to talk to OpenOffice there may be a problem with Java,
Tomcat and OpenOffice as the script is running fine when executing it from
the console without the servlet.

Maybe someone of you can give me a hint how to get this to work!
All hints are appreciated :)

Thanks a lot in advance,
Markus
   


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



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



Re: [dev] setting url for the string

2006-09-18 Thread Steffen Grund

Hi,

this is quite simple, just set the property HyperLinkURL additionally:

xTextRanget.setString(test);
XPropertySet xProp = 
(XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, xTextRanget);

xProp.setPropertyValue("HyperLinkURL", "http://www.gmail.com";);

See also com.sun.star.style.CharacterProperties.
HTH, Steffen

Madhan Ponnusamy wrote:

Hi,
I need to assign a url to a string and then the string should be shown in
the text document..for example if i set a string in the way given below

String test
xTextRanget.setString(test);

the String test should be linked to url say www.gmail.com...this is what i
need can any one help me...



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



Re: [dev] Linux: Deploying a UNO Package for all users on PC

2006-06-27 Thread Steffen Grund

Try

unopkg add --shared /your/package

to install for all users. See documentation on unopkg for details.

Regards, Steffen

Tobias Krais wrote:

Hi together,

if I want to add a UNO Package I use the command:
unopkg add /tmp/myPackage.uno.pkg

But now only one user can use the package. How can I deploy the package
for all users?

Greetings, Tobias

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



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



Re: [dev] how to insert an image into a field (java)

2006-02-13 Thread Steffen Grund

Ooops, I just saw that I wrote TextField istead of TextFrame... sorry.

Steffen

PS: the corrected text:


Hi.

I am not sure what you mean with "field", but I assume you mean a 
TextFrame. There are two possibilities:


first, you can insert the graphic with the XText obtained from the 
TextFrame, but this only means that the anchor of the graphic is in that 
field; the positioning of the graphic is independent.


second, you can insert the graphic as background into the TextFrame. 
Just use the property "BackGraphicURL".


Hope that helps, Steffen





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



Re: [dev] how to insert an image into a field (java)

2006-02-13 Thread Steffen Grund

Hi.

I am not sure what you mean with "field", but I assume you mean a 
TextField. There are two possibilities:


first, you can insert the graphic with the XText obtained from the 
TextField, but this only means that the anchor of the graphic is in that 
field; the positioning of the graphic is independent.


second, you can insert the graphic as background into the TextField. 
Just use the property "BackGraphicURL".


Hope that helps, Steffen



[EMAIL PROTECTED] wrote:

hy,


I have seen in the list archive some code  to insert images into a text.
That's fine.

But I need to insert  an image  into a field.   Is it possible?

I appreciate any help/code/url.


thanks.


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



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



Re: [dev] Programmatic XTextFrame Control with Java

2006-02-08 Thread Steffen Grund

Hi again,

I took your code and just added some lines. Here you are:

 XInterface xTextFrameInterface = (XInterface)
mxDocFactory.createInstance("com.sun.star.text.TextFrame");

XTextContent xFrameContent = (XTextContent)
UnoRuntime.queryInterface(XTextContent.class,
xTextFrameInterface);

XTextRange xDocRange =
(XTextRange)UnoRuntime.queryInterface(XTextRange.class,
mxDocFactory);

XText xText = xDocRange.getText();
xText.insertTextContent(xDocRange, xFrameContent, false);

XPropertySet xFramePropSet = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class,
xTextFrameInterface);
xFramePropSet.setPropertyValue( "FrameHeightAbsolute",
new Long(5000));
xFramePropSet.setPropertyValue(
"FrameIsAutomaticHeight", Boolean.FALSE);
xFramePropSet.setPropertyValue( "SizeType", new
Short((short)1));


This should do the trick. Note that the text frame is inserted at the 
end of your document. See the description of "insertTextContent".


Regards, Steffen

Kent Gibson wrote:

please an example in java would be grand, this has
been a two day struggle.

kind regards,

kent



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



Re: [dev] Programmatic XTextFrame Control with Java

2006-02-07 Thread Steffen Grund

Hi Kent,

the text frame is only really valid after you've inserted it in the 
document.
See 
http://api.openoffice.org/docs/common/ref/com/sun/star/text/TextFrame.html
for a Basic example on how to insert the frame. If you need one in Java, 
let me know.


Regards, Steffen


Kent Gibson wrote:

Hi-ya,

I would like to create XTextFrames of a fixed
arbitrary height and width and place them at arbitrary
x and y coordinates. 


I can manage to get the frame, but I can't seem to
size it or place it arbitrarily. I have based my code
on the TextFrameExample() in TextDocuments.java.

These properties seem to have no effect:

XInterface xTextFrameInterface = (XInterface)
mxDocFactory.createInstance("com.sun.star.text.TextFrame");


XPropertySet xFramePropSet = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class,
xTextFrameInterface); 
xFramePropSet.setPropertyValue( "FrameHeightAbsolute",

new Long(5000));
xFramePropSet.setPropertyValue(
"FrameIsAutomaticHeight", new Boolean(false));
xFramePropSet.setPropertyValue( "SizeType", new
Short((short)1));

Also when I use xShape to define height and width, it
doesn't seem to work either. The textframe is only as
big as the text inside it.

XShape xShape = ( XShape ) UnoRuntime.queryInterface(
XShape.class, xFrame );
  
// Access the XPropertySet interface of the TextFrame

XPropertySet xFrameProps = ( XPropertySet )
UnoRuntime.queryInterface( XPropertySet.class, xFrame
);

// Set the size of the new Text Frame using the
XShape's 'setSize' method
Size aSize = new Size();
// this is probably (1/100 mm)
aSize.Height = 400;
aSize.Width = 15000;
xShape.setSize(aSize);

If anyone has any pointers that would be grand.

kent

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



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



Re: [dev] XDispatchProviderInterceptor

2006-02-06 Thread Steffen Grund

Hi Vincenzo,

you are part of the "Processing Chain". If you do not handle a dispatch 
request youself, you have to delegate it to the slave DispatchProvider 
that has been given to you by the Office with the 
"setSlaveDispatchProvider" method.


See also chapter "6.1.6 Using the Dispatch Framework" of the developer's 
guide:


http://api.openoffice.org/docs/DevelopersGuide/OfficeDev/OfficeDev.xhtml#1_1_6_Using_the_Dispatch_Framework

Regards, Steffen

Vincenzo Giuliano wrote:

Hi ALL,
My name is Vincenzo. I have a question for YOU.
I would like to attached my dispatch provider to the frame to intercept 
the dispatching comunication.
This is accomplished by implementing 
com.sun.star.frame.XDispatchProviderInterceptor.
But, what I have to do in setSlaveDispatchProvider(XDispatchProvider 
xdp) and setMasterDispatchProvider(XDispatchProvider xdp)?

How do I configure this two pointers?
Thank YOU.

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



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



Re: [dev] unopkg - installation of java component fails in most cases with OO 1.9_m130...

2005-09-28 Thread Steffen Grund

Hi again,

I could reproduce your problem: the culprit seems to be the "-agentlib" 
parameter in your java-settings. Removing this entry worked for me.


Regards, Steffen



Oliver Brinzing wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I tried to install a java component with OO 1.9_130 using "unopkg" ...
sometimes it works, but in most cases the installation fails with:

  WARNING: An error occurred while enabling the package: mycomp.uno.jar,
  Cause: (com.sun.star.registry.CannotRegisterImplementationException) { {
  Message = "Could not create Java implementation loader",
  Context = (com.sun.star.uno.XInterface) 0x0 } }

I am using Java 1.5.0_05-b05

The installation of the same package *always* works with OO 1.1.5 ...

any hints ?

Oliver


- --

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

iD8DBQFDNRnaTiyrQM/QSkURAnhCAJ9vtQa2YstM8lmqS5P9aUPavz/QFwCfY+Ez
lbs779dN07Aa9XUhQ0jcxqI=
=xW7J
-END PGP SIGNATURE-

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



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



Re: [dev] unopkg - installation of java component fails in most cases with OO 1.9_m130...

2005-09-26 Thread Steffen Grund

Hi Oliver,

my test for registering a java component worked on this version.
What platform are you on?
Can you give some more details of your command-line, and in which case 
the registering failed?
And, lastly, could you make your package available? Only, of course, if 
it's not closed source.


Regards, Steffen


Oliver Brinzing wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I tried to install a java component with OO 1.9_130 using "unopkg" ...
sometimes it works, but in most cases the installation fails with:

  WARNING: An error occurred while enabling the package: mycomp.uno.jar,
  Cause: (com.sun.star.registry.CannotRegisterImplementationException) { {
  Message = "Could not create Java implementation loader",
  Context = (com.sun.star.uno.XInterface) 0x0 } }

I am using Java 1.5.0_05-b05

The installation of the same package *always* works with OO 1.1.5 ...

any hints ?

Oliver


- --

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

iD8DBQFDNRnaTiyrQM/QSkURAnhCAJ9vtQa2YstM8lmqS5P9aUPavz/QFwCfY+Ez
lbs779dN07Aa9XUhQ0jcxqI=
=xW7J
-END PGP SIGNATURE-

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



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