Ariel,
As discussed in thread (
http://www.openoffice.org/servlets/ReadMsg?list=dev&msgNo=21639), I received
three SDK examples as NB projects.
I played around with the example, following is my report.
1. NB Project: TextDocuments_java
No issues here. I can build and debug this client application.
2. NB Project: ExampleAddIn
I can successfully create extension (ExampleAddIn.oxt) and add it
(manually) to OO.org,
using extension manager. I could use functions INCREMENT and COUNTER in a
spreadsheet. Good example
of how to add your own functions.
3. NB Project: EmbeddedObject
I can build and create extension (.oxt file) and add it (manually) to
OO.org, using
extension manager. However I could not figure out how to use this extension.
------------
Once I was comfortable using 'Create OXT' option, I decided to try other
Debug and Deploy options
from NB, for projects ExampleAddIn, EmbeddedObject.
4. If I click on following submenus (after right click on project name)
'Deploy OO.org Extesion'
'Deploy and run extesion in OO.org'
then sometimes (NOT always) I get following error message:
Runtime Error!
Program C:\Program Files\OpenOffice.org 2.3\program\unopkg.exe
This application has requested the Runtime to terminate it in an unusual
way. ...
If I ignore error message and proceed I am able to successfully add the
extension and use it,
so this is not a major issue. What is strange is I do not always get this
error message.
5. If I click on following submenu (for NB projects ExampleAddIn,
EmbeddedObject.)
'Debug extension in target OO.org'
strange things happen. In the beginning I get error message:
Configuration data in 'file::///C:\Documents and Settings\vijay\My
Documents\NetBeansProjects\OOo_NB_Projects\ExampleAddIn\build
\soffice_debug\user\uno_packages\cache\registry\data\org\openofice
\ucb\Configuration.xcu' is corrupted. Without this data some functions
may not operate correctly. Do want to continue startup of OO.orgwithout
the corrupted configuration data?
After clicking 'yes' couple of time I get screen which is used when
OO.orgis started for the first
time (after installation) (1. Welcome 2. License Agreement .... 5.
Registration). Am I doing
something wrong here?
6. I am unable to reproduce following error message which I got few days
back, so no big issue here.
Whenever I try to remove (or disable or enable) ExampleAddIn.oxt using
Extension manager I get
following error something like:
(com.sun.lang.DisposedException) {{{Message = "URP-Bridge : disposed",
Context = (com.sun.star.uno.XInterface) @0}}}
------------------
Sorry for reporting too many things, I should probably look into source
code.
My system details:
OO.org 2.3
NetBeans IDE 6.0 RC2
OS : Windows XP (SP2)
Output after running setsdkenv_windows.bat.
******************************************************************
*
* SDK environment is prepared for Windows
*
* SDK = C:\Program Files\OpenOffice.org_2.3_SDK
* Office = C:\Program Files\OpenOffice.org 2.3
* URE =
* Make = C:\Program Files\UnxUtils
* Zip = C:\Program Files\UnxUtils
* C++ Compiler = C:\Program Files\Microsoft Visual Studio 9.0\VC\bin
* C# and VB.NET compilers = C:\WINDOWS\Microsoft.NET\Framework\v3.5
* Java = C:\Program Files\Java\jdk1.6.0_04
* Special Output directory =
* Auto deployment = YES
*
******************************************************************
--
Vijay Patil