Re: [api-dev] OpenOffice Add-On in NetBeans: no java files created

2008-12-08 Thread glasscat

Thanks for the response Steffen. For some reason the feature is working now
when I tried creating a new project. I'm not sure why it wasn't working the
first time.

Very interesting.

Thanks


Steffen Grund wrote:
 
 Hello,
 
 no idea why this happens. The original bug was Windows xp only.
 So your bug is a different issue.
 Can you go to Tools - Options in NetBeans, open the OOo plugin 
 settings, create some log output and send me the log file after you have 
 tried to create an AddOn?
 
 Regards, Steffen
 
 glasscat wrote:
 With 2.0.1 I still did not get my java file generated on Ubuntu. I'm
 using NB
 6.5, OO3.0, OOSDK3.0.
 
 On XP it works fine, my OO add-ons java file got generated correctly.
 
 
 
 
 r_george wrote:
 The problem seems to be solved with version 2.0.1 :jumping:

 see

 http://www.nabble.com/Intermediate-version%3A-OpenOffice.org-API-plugin-for-NetBeans-2.0.1-td20442526.html

 Jürgen, thank you!

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

-- 
View this message in context: 
http://www.nabble.com/OpenOffice-Add-On-in-NetBeans%3A-no-java-files-created-tp20164866p20899322.html
Sent from the openoffice - api dev mailing list archive at Nabble.com.


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



Re: [api-dev] OpenOffice Add-On in NetBeans: no java files created

2008-10-27 Thread Steffen Grund

Hello George,

no, the paths cannot be the problem - they're changed to valid system 
paths internally. I can reproduce the problem, even in a shell. When I 
set up the sdk environment and execute the uno-skeletonmaker command in 
a shell, it crahses. I will check further.


Regards, Steffen


r_george wrote:
even more suspicious: 


file:///D:/Programme/OpenOffice.org 3/Basis/program/offapi.rdb

I don't think that's a valid path, do you?


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



Re: [api-dev] OpenOffice Add-On in NetBeans: no java files created

2008-10-26 Thread Juergen Schmidt

Benjamin Vollmer wrote:

r_george schrieb:

I'm using OO 3.0, NetBeans 3.1 and OpenOffice.org API Plugin 2.0.0
It seems that I can't get the add-on off the ground: the wizard doesn't
create any java files except for CentralRegistrationClass;
http://www.nabble.com/file/p20164866/netbeans1.png
NetBeans compile and deploy without error messages, but when I open OO 
and

try to install my OXT I get the error message:
ImplementationRegistration::RegisterImplementation()
InvalidRegisterException during registration (prepareRegistry(): source
registry is empty)

... and nothing else happens. I wonder if I have missed something, nobody
else seems to have experienced this before.

This is also happening when I try to build a Calc Add-In (I followed 
step by
step the REDOUBLE video I found somewhere, everything's fine until I 
try to

find the implementation file which simply does not exist).

help gladly appreciated...
  


Hi,

I can confirm this bug. The problem was reproduced on three machines, 
all with the following configuration:


OOo 3.0, Netbeans 6.1, Netbeans OOo API Plugin 2.0, OOo SDK 3.0 
DEV300_m27 and Java 6 on Windows XP.
where you have installed the SDK? It is important that you install it in 
the default location into your 3.0 office installation. If you made a 
default installation of OO 3.0 it will be detected automatically. 
Otherwise select the base layer by hand.


That is not optimal and will be changed. The reason for that is that the 
initial plan was to make the SDK an optional part of the office. I 
detected too late that the our internal build or better packaging  time 
increased so dramatically (because of the huge amount of files) that it 
was not acceptable for some people :-(.


I have used OO3.0 (not the final), the 3.0 SDK, NB 6.1 and our new 
plugin on WinXP without problems. I will check it again with the 
released 3.0 office version.


Juergen




But on a fourth machine with Ubuntu, the needed Java class was generated 
by the wizard.


regards
Benjamin Vollmer

-
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: [api-dev] OpenOffice Add-On in NetBeans: no java files created

2008-10-26 Thread r_george



Juergen Schmidt-3 wrote:
 
 where you have installed the SDK? It is important that you install it in 
 the default location into your 3.0 office installation. If you made a 
 default installation of OO 3.0 it will be detected automatically. 
 Otherwise select the base layer by hand.
 

hi Jürgen, I'm very impressed that I got an answer that fast, but also very
sorry: it did not solve my problem.
I uninstalled the SDK and reinstalled it using the default location (i.e.
D:\Programme\OpenOffice.org 3\Basis\sdk), but still the problems remain
exactly the same as before :-(
(anyway: netbeans (or rather the plugin)  were clever enough to ask for the
correct location of the sdk)
So, back to square 1. Possibly I have a computer constellation thet is not
common: C: with Vista (only for testing, I don't work under Vista), D: with
XP . Could that be a problem?
thx, george

-- 
View this message in context: 
http://www.nabble.com/OpenOffice-Add-On-in-NetBeans%3A-no-java-files-created-tp20164866p20171942.html
Sent from the openoffice - api dev mailing list archive at Nabble.com.


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



Re: [api-dev] OpenOffice Add-On in NetBeans: no java files created

2008-10-26 Thread Juergen Schmidt

Hi George,

r_george wrote:



Juergen Schmidt-3 wrote:
where you have installed the SDK? It is important that you install it in 
the default location into your 3.0 office installation. If you made a 
default installation of OO 3.0 it will be detected automatically. 
Otherwise select the base layer by hand.




hi Jürgen, I'm very impressed that I got an answer that fast, but also very
sorry: it did not solve my problem.
I uninstalled the SDK and reinstalled it using the default location (i.e.
D:\Programme\OpenOffice.org 3\Basis\sdk), but still the problems remain
exactly the same as before :-(
(anyway: netbeans (or rather the plugin)  were clever enough to ask for the
correct location of the sdk)
So, back to square 1. Possibly I have a computer constellation thet is not
common: C: with Vista (only for testing, I don't work under Vista), D: with
XP . Could that be a problem?

mmh, strange. Can you try the following.

Configure the office again under Tools - Options ... If the SDK doesn't 
change to the correct SDK in the office installation delete the config 
file. You find the config file in your NetBans user directory under 
netbeans_user_dir/config/Settings/org-openoffice-exensions.xml

After you have delete it configure the office again.

Juergen


thx, george




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



Re: [api-dev] OpenOffice Add-On in NetBeans: no java files created

2008-10-26 Thread r_george

The settings were correct, but still no java files - I tried everything you
suggested. I attach a log file in case it tells you more... (
http://www.nabble.com/file/p20174696/OOoNBIntegration29542.log
OOoNBIntegration29542.log OOoNBIntegration29542.log)

Anyway I believe that wizards are only helpful for the very start, are there
somewhere sample projects available for download?

And maybe an idea for future developments: a dialog where I can edit my
menu/toolbar commands later ?

thanks for your efforts,

george
-- 
View this message in context: 
http://www.nabble.com/OpenOffice-Add-On-in-NetBeans%3A-no-java-files-created-tp20164866p20174696.html
Sent from the openoffice - api dev mailing list archive at Nabble.com.


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



Re: [api-dev] OpenOffice Add-On in NetBeans: no java files created

2008-10-26 Thread r_george


PS. I found those lines in the log file a bit strange: Could the mixture of
slashes and backslashes hint to the problem? 

org.openoffice.extensions.util.ProjectCreator,line 503:
D:/Programme/OpenOffice.org 3/Basis/sdk\bin\uno-skeletonmaker

-- 
View this message in context: 
http://www.nabble.com/OpenOffice-Add-On-in-NetBeans%3A-no-java-files-created-tp20164866p20174865.html
Sent from the openoffice - api dev mailing list archive at Nabble.com.


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



Re: [api-dev] OpenOffice Add-On in NetBeans: no java files created

2008-10-26 Thread r_george

even more suspicious: 

file:///D:/Programme/OpenOffice.org 3/Basis/program/offapi.rdb

I don't think that's a valid path, do you?
-- 
View this message in context: 
http://www.nabble.com/OpenOffice-Add-On-in-NetBeans%3A-no-java-files-created-tp20164866p20174964.html
Sent from the openoffice - api dev mailing list archive at Nabble.com.


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



Re: [api-dev] OpenOffice Add-On in NetBeans: no java files created

2008-10-25 Thread Benjamin Vollmer

r_george schrieb:

I'm using OO 3.0, NetBeans 3.1 and OpenOffice.org API Plugin 2.0.0
It seems that I can't get the add-on off the ground: the wizard doesn't
create any java files except for CentralRegistrationClass; 

http://www.nabble.com/file/p20164866/netbeans1.png 


NetBeans compile and deploy without error messages, but when I open OO and
try to install my OXT I get the error message: 


ImplementationRegistration::RegisterImplementation()
InvalidRegisterException during registration (prepareRegistry(): source
registry is empty)

... and nothing else happens. I wonder if I have missed something, nobody
else seems to have experienced this before.

This is also happening when I try to build a Calc Add-In (I followed step by
step the REDOUBLE video I found somewhere, everything's fine until I try to
find the implementation file which simply does not exist).

help gladly appreciated...
  


Hi,

I can confirm this bug. The problem was reproduced on three machines, 
all with the following configuration:


OOo 3.0, Netbeans 6.1, Netbeans OOo API Plugin 2.0, OOo SDK 3.0 
DEV300_m27 and Java 6 on Windows XP.


But on a fourth machine with Ubuntu, the needed Java class was generated 
by the wizard.


regards
Benjamin Vollmer

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