Re: [dev] SDK-only Java libs? (Re: [dev] Next .... (Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Stephan Bergmann

Rony G. Flatscher wrote:

Hi there,

just a stupid question: why doesn't the Bootstrap helper class use the
"com.sun.star.lib.loader." knowing the important role of that library to
find the OO executable ?


See  for a 
planned improvement in that area.


-Stephan


Regards,

---rony

[...]

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



Re: [dev] SDK-only Java libs? (Re: [dev] Next .... (Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi there,

just a stupid question: why doesn't the Bootstrap helper class use the
"com.sun.star.lib.loader." knowing the important role of that library to
find the OO executable ?

Regards,

---rony


>>> However, *where* would one find the "com.sun.star.lib.loader." package?
>>>   
>> Look in the SDK/classes directory...
>>
>> Get the SDK at api.openoffice.org
>> 
> Oh, I see. Was not aware of that at all.
>
> But this would mean that one cannot reliably deploy Java applications
> from the command line without that supporting library?
>
> If so, why not supply it with the general installation of OOo (putting
> that library into "OOoXYZ/classes" directory? It seems to me that that
> would be the appropriate place, which everyone then could rely to find it.
>
> Or with other words, distribute that jar as you distribute the juh.jar etc.
>
> ---
>
> And being there, why not fold juh.jar, etc. into *one* jar only?
>
> Regards,
>
> ---rony
>
>
>   



[dev] SDK-only Java libs? (Re: [dev] Next .... (Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi Jim,
>> However, *where* would one find the "com.sun.star.lib.loader." package?
> Look in the SDK/classes directory...
>
> Get the SDK at api.openoffice.org
Oh, I see. Was not aware of that at all.

But this would mean that one cannot reliably deploy Java applications
from the command line without that supporting library?

If so, why not supply it with the general installation of OOo (putting
that library into "OOoXYZ/classes" directory? It seems to me that that
would be the appropriate place, which everyone then could rely to find it.

Or with other words, distribute that jar as you distribute the juh.jar etc.

---

And being there, why not fold juh.jar, etc. into *one* jar only?

Regards,

---rony




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



Re: [dev] Next .... (Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Jim Watson

Rony G. Flatscher wrote:

However, *where* would one find the "com.sun.star.lib.loader." package?

Look in the SDK/classes directory...

Get the SDK at api.openoffice.org

jim

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



[dev] Next .... (Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi there,

thanks to everyone, I was not aware of special needs to find OOo. Ashok
was kind enough to send me his jar file, and its content is:
Archive:  helloworld.jar
testing: META-INF/OK
testing: META-INF/MANIFEST.MF OK
testing: org/ OK
testing: org/openoffice/  OK
testing: org/openoffice/helloworld/   OK
testing: org/openoffice/helloworld/helloworld.class   OK
testing: com/ OK
testing: com/sun/ OK
testing: com/sun/star/OK
testing: com/sun/star/lib/OK
testing: com/sun/star/lib/loader/   OK
testing:
com/sun/star/lib/loader/InstallationFinder$StreamGobbler.class   OK
testing: com/sun/star/lib/loader/InstallationFinder.class   OK
testing: com/sun/star/lib/loader/Loader$CustomURLClassLoader.class   OK
testing: com/sun/star/lib/loader/Loader.class   OK
testing: com/sun/star/lib/loader/WinRegKey.class   OK
testing: com/sun/star/lib/loader/WinRegKeyException.class   OK
testing: win/ OK
testing: win/unowinreg.dllOK
No errors detected in compressed data of helloworld.jar.

This matches Jürgen's explanations.

However, *where* would one find the "com.sun.star.lib.loader." package?
(Just did a grep over "OOHome/program/classes", but none of those
deployed jar would contain a class by that name.)

Regards,

---rony



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