Re: [dev] Extension not working with open office separately

2008-03-07 Thread Juergen Schmidt

Dinesh Chothe wrote:

On Thu, Mar 6, 2008 at 4:05 PM, Robert Vojta [EMAIL PROTECTED] wrote:


On Wed, Mar 5, 2008 at 7:51 AM, Dinesh Chothe [EMAIL PROTECTED]
wrote:


I have created one oo extension project using Netbeans.
When  I build and run this extension through Netbeans
it works fine

Does this mean that you click on Deploy and Run Extension in
OpenOffice.org?


--Yes. This has done through netbeans progect--right click--deploy and
run application
 in open office.




but after creating its   .oxt   file  through
Netbeans  and  building  it through tools--Extension Manager in open

office(2.3)

not working.

How did you create your extension (.oxt file)? Create OXT in project
context menu?

These steps are equivalent (in extension create  install view) ...

a) Create OXT and manual installation ( Tools - Extension Manager )
b) Deploy OpenOffice.org Extension
c) Deploy and Run Extension in OpenOffice.org

... if not, it is probably a bug and should be reported.



 -- Yes I have tried all bove mentioned possible ways.

Also my extension uses some java classes in which some functions are
 related with jdk1.6 library.  For  this  I  also  set  the  jre1.6
in  open office.
By  this I am getting an error while clicking on new menu item that ...
Open office requires java run time enviornment. Selected jre is
defective.
 Please select another jre...
 For this also I checked jre,  it is selected properly under
tools-optione-
  java--jre1.6  .
 How do I solve this problem?


on which platform are you working? Do you use an office installation 
directly from OO.org or one coming with a distro? That have to mean 
nothing but i try to collect some more info to get a better picture what 
 potentially goes wrong.


It sounds definitely strange and i assume i problem with your office 
installation.


Juergen





--
Robert Vojta

-
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] Extension not working with open office separately

2008-03-07 Thread Robert Vojta
On Fri, Mar 7, 2008 at 9:20 AM, Juergen Schmidt [EMAIL PROTECTED] wrote:

  It sounds definitely strange and i assume i problem with your office
  installation.

I was thinking about this yesterday and I probably saw this too. It
has something to do with extension debugging, quick starter and
friends. I can't reproduce the problem now, but it was something like
this ...

 - no instance of running OpenOffice.org, quick starter disabled
 - extension debug starts own OO.o instance with new settings (with enabled QS)
 - extension debug ends
 - new instance of OO.o started (without NetBeans) and it has crippled
Java - because debug instance of OO.o has enabled QS, still in memory,
and I don't know how, but it affects normal OO.o instance too (QS
enabled even if it was disabled, Java, ...)

I already described this behavior in this issue

 - http://www.openoffice.org/issues/show_bug.cgi?id=83603

Maybe it has something to do with this issue, because this is the case
when I saw the same error message (about wrong configured Java).

-- 
Robert Vojta

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



Re: [dev] Extension not working with open office separately

2008-03-07 Thread Juergen Schmidt

Robert Vojta wrote:

On Fri, Mar 7, 2008 at 9:20 AM, Juergen Schmidt [EMAIL PROTECTED] wrote:


 It sounds definitely strange and i assume i problem with your office
 installation.


I was thinking about this yesterday and I probably saw this too. It
has something to do with extension debugging, quick starter and
friends. I can't reproduce the problem now, but it was something like
this ...

 - no instance of running OpenOffice.org, quick starter disabled
 - extension debug starts own OO.o instance with new settings (with enabled QS)
 - extension debug ends
 - new instance of OO.o started (without NetBeans) and it has crippled
Java - because debug instance of OO.o has enabled QS, still in memory,
and I don't know how, but it affects normal OO.o instance too (QS
enabled even if it was disabled, Java, ...)

I already described this behavior in this issue

 - http://www.openoffice.org/issues/show_bug.cgi?id=83603

Maybe it has something to do with this issue, because this is the case
when I saw the same error message (about wrong configured Java).


mmh, that sounds reasonable. I will check it ...

Juergen

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



Re: [dev] Extension not working with open office separately

2008-03-06 Thread Robert Vojta
On Wed, Mar 5, 2008 at 7:51 AM, Dinesh Chothe [EMAIL PROTECTED] wrote:

 I have created one oo extension project using Netbeans.
 When  I build and run this extension through Netbeans
 it works fine

Does this mean that you click on Deploy and Run Extension in OpenOffice.org?

 but after creating its   .oxt   file  through
 Netbeans  and  building  it through tools--Extension Manager in open 
 office(2.3)
 not working.

How did you create your extension (.oxt file)? Create OXT in project
context menu?

These steps are equivalent (in extension create  install view) ...

a) Create OXT and manual installation ( Tools - Extension Manager )
b) Deploy OpenOffice.org Extension
c) Deploy and Run Extension in OpenOffice.org

... if not, it is probably a bug and should be reported.

-- 
Robert Vojta

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



Re: [dev] Extension not working with open office separately

2008-03-06 Thread Dinesh Chothe
On Thu, Mar 6, 2008 at 4:05 PM, Robert Vojta [EMAIL PROTECTED] wrote:

 On Wed, Mar 5, 2008 at 7:51 AM, Dinesh Chothe [EMAIL PROTECTED]
 wrote:

  I have created one oo extension project using Netbeans.
  When  I build and run this extension through Netbeans
  it works fine

 Does this mean that you click on Deploy and Run Extension in
 OpenOffice.org?

--Yes. This has done through netbeans progect--right click--deploy and
run application
 in open office.



  but after creating its   .oxt   file  through
  Netbeans  and  building  it through tools--Extension Manager in open
 office(2.3)
  not working.

 How did you create your extension (.oxt file)? Create OXT in project
 context menu?

 These steps are equivalent (in extension create  install view) ...

 a) Create OXT and manual installation ( Tools - Extension Manager )
 b) Deploy OpenOffice.org Extension
 c) Deploy and Run Extension in OpenOffice.org

 ... if not, it is probably a bug and should be reported.


 -- Yes I have tried all bove mentioned possible ways.

Also my extension uses some java classes in which some functions are
 related with jdk1.6 library.  For  this  I  also  set  the  jre1.6
in  open office.
By  this I am getting an error while clicking on new menu item that ...
Open office requires java run time enviornment. Selected jre is
defective.
 Please select another jre...
 For this also I checked jre,  it is selected properly under
tools-optione-
  java--jre1.6  .
 How do I solve this problem?



 --
 Robert Vojta

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




-- 
Dinesh P. Chothe
INDICTRANS


[dev] Extension not working with open office separately

2008-03-04 Thread Dinesh Chothe
  Hello,
I have created one oo extension project using Netbeans.
  When  I build and run this extension through Netbeans
it works fine
  but after creating its   .oxt   file  through
Netbeans  and  building  it
   through tools--Extension Manager in open office(2.3)
not working.
  Only the new menu items get displayed in menu bar but
after clicking
  on its functionality  doesnt work.
  Please correct if I am going wrong any where


Dinesh