RE: [api-dev] SDK 3.0 compatible with 2.4?

2009-01-19 Thread Marian Roselló Bennassar
Hi, 

This may seem a silly question but, what is: bootstrap glue code from the 3.0 
SDK ?

Thanks,
Marian.
-Original Message-
From: juergen.schm...@sun.com [mailto:juergen.schm...@sun.com] 
Sent: 14 January 2009 09:31
To: dev@api.openoffice.org
Subject: Re: [api-dev] SDK 3.0 compatible with 2.4?

Marian Roselló Bennassar wrote:
 Hi,
 
 Another question on the same subject, I have class that saves odm/odt as 
 pdf/html, it was implemented for 2.4. I run it from the command line using:
 
 Java -Dcom.sun.star.lib.loader.unopath=UNO_PATH 
 com.sun.star.lib.loader.Loader myClass myArgs
  
 Should it be possible to running with 3.0. I've tried it but there seem to be 
 some jar files missing (e.g ridl.jar) and I didn't know where to find them. 
 Is there any document explaining how to do this in 3.0?
 
 Thanks,
 Marian.
 -Original Message-
 From: Jason Cooper [mailto:skaw...@gmail.com]
 Sent: 13 January 2009 22:44
 To: dev@api.openoffice.org
 Subject: Re: [api-dev] SDK 3.0 compatible with 2.4?
 
 That's to be expected. Thanks for the reply.
 
 Jason
 
 
 On 1/13/09, Juergen Schmidt juergen.schm...@sun.com wrote:
 Jason Cooper wrote:

 Hello.

 I just wanted to check on the backwards compatibility of the new SDK. 
 I'm beginning to write some Java code to interact with OOo. I want 
 the code to work with both OOo 2.4.x and 3.0. Will SDK 3.0 work for 
 both 2.4.x and 3.0 or will I need to install and develope with both SDKs?

 In generally yes, you only have to take care of the used types, services.
 Maybe they were introduced in 3.0. And some of the extensions infra 
 structure features (entries for the description.xml) are in the 3.0 only.

rebuild your Java with the bootstrap glue code rom the 3.0 SDK or the use our 
new NetBeans plugin 2.0.3. We had to adapt the code to work with 3.0 but it is 
backward compatible.

Juergen


 Juergen



 Thanks,
 Jason


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

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


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


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



Re: [api-dev] SDK 3.0 compatible with 2.4?

2009-01-19 Thread Steff Grund

Hi,

it's the code for bootstrapping OpenOffice.org, located in 
sdk_root/classes. It consists of some Java classes and a dll for the 
Windows platform. See the 
sdk_root/examples/java/DocumentHandling/DocumentConverter.java example 
where it is used.


HTH, Steffen

Marian Roselló Bennassar wrote:
Hi, 


This may seem a silly question but, what is: bootstrap glue code from the 3.0 SDK 
?

Thanks,
Marian.
-Original Message-
From: juergen.schm...@sun.com [mailto:juergen.schm...@sun.com] 
Sent: 14 January 2009 09:31

To: dev@api.openoffice.org
Subject: Re: [api-dev] SDK 3.0 compatible with 2.4?

Marian Roselló Bennassar wrote:

Hi,

Another question on the same subject, I have class that saves odm/odt as 
pdf/html, it was implemented for 2.4. I run it from the command line using:

Java -Dcom.sun.star.lib.loader.unopath=UNO_PATH 
com.sun.star.lib.loader.Loader myClass myArgs
 
Should it be possible to running with 3.0. I've tried it but there seem to be some jar files missing (e.g ridl.jar) and I didn't know where to find them. Is there any document explaining how to do this in 3.0?


Thanks,
Marian.
-Original Message-
From: Jason Cooper [mailto:skaw...@gmail.com]
Sent: 13 January 2009 22:44
To: dev@api.openoffice.org
Subject: Re: [api-dev] SDK 3.0 compatible with 2.4?

That's to be expected. Thanks for the reply.

Jason


On 1/13/09, Juergen Schmidt juergen.schm...@sun.com wrote:

Jason Cooper wrote:


Hello.

I just wanted to check on the backwards compatibility of the new SDK. 
I'm beginning to write some Java code to interact with OOo. I want 
the code to work with both OOo 2.4.x and 3.0. Will SDK 3.0 work for 
both 2.4.x and 3.0 or will I need to install and develope with both SDKs?



In generally yes, you only have to take care of the used types, services.
Maybe they were introduced in 3.0. And some of the extensions infra 
structure features (entries for the description.xml) are in the 3.0 only.


rebuild your Java with the bootstrap glue code rom the 3.0 SDK or the use our 
new NetBeans plugin 2.0.3. We had to adapt the code to work with 3.0 but it is 
backward compatible.

Juergen


Juergen




Thanks,
Jason



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


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




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


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




--
Steffen Grund steffen.gr...@sun.com  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, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

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



RE: [api-dev] SDK 3.0 compatible with 2.4?

2009-01-14 Thread Marian Roselló Bennassar
Hi,

Another question on the same subject, I have class that saves odm/odt as 
pdf/html, it was implemented for 2.4. I run it from the command line using:

Java -Dcom.sun.star.lib.loader.unopath=UNO_PATH 
com.sun.star.lib.loader.Loader myClass myArgs
 
Should it be possible to running with 3.0. I've tried it but there seem to be 
some jar files missing (e.g ridl.jar) and I didn't know where to find them. Is 
there any document explaining how to do this in 3.0?

Thanks,
Marian.
-Original Message-
From: Jason Cooper [mailto:skaw...@gmail.com] 
Sent: 13 January 2009 22:44
To: dev@api.openoffice.org
Subject: Re: [api-dev] SDK 3.0 compatible with 2.4?

That's to be expected. Thanks for the reply.

Jason


On 1/13/09, Juergen Schmidt juergen.schm...@sun.com wrote:

 Jason Cooper wrote:

 Hello.

 I just wanted to check on the backwards compatibility of the new SDK. 
 I'm beginning to write some Java code to interact with OOo. I want 
 the code to work with both OOo 2.4.x and 3.0. Will SDK 3.0 work for 
 both 2.4.x and 3.0 or will I need to install and develope with both SDKs?

 In generally yes, you only have to take care of the used types, services.
 Maybe they were introduced in 3.0. And some of the extensions infra 
 structure features (entries for the description.xml) are in the 3.0 only.

 Juergen



 Thanks,
 Jason



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


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



Re: [api-dev] SDK 3.0 compatible with 2.4?

2009-01-14 Thread Juergen Schmidt

Marian Roselló Bennassar wrote:

Hi,

Another question on the same subject, I have class that saves odm/odt as 
pdf/html, it was implemented for 2.4. I run it from the command line using:

Java -Dcom.sun.star.lib.loader.unopath=UNO_PATH com.sun.star.lib.loader.Loader 
myClass myArgs
 
Should it be possible to running with 3.0. I've tried it but there seem to be some jar files missing (e.g ridl.jar) and I didn't know where to find them. Is there any document explaining how to do this in 3.0?


Thanks,
Marian.
-Original Message-
From: Jason Cooper [mailto:skaw...@gmail.com] 
Sent: 13 January 2009 22:44

To: dev@api.openoffice.org
Subject: Re: [api-dev] SDK 3.0 compatible with 2.4?

That's to be expected. Thanks for the reply.

Jason


On 1/13/09, Juergen Schmidt juergen.schm...@sun.com wrote:

Jason Cooper wrote:


Hello.

I just wanted to check on the backwards compatibility of the new SDK. 
I'm beginning to write some Java code to interact with OOo. I want 
the code to work with both OOo 2.4.x and 3.0. Will SDK 3.0 work for 
both 2.4.x and 3.0 or will I need to install and develope with both SDKs?



In generally yes, you only have to take care of the used types, services.
Maybe they were introduced in 3.0. And some of the extensions infra 
structure features (entries for the description.xml) are in the 3.0 only.


rebuild your Java with the bootstrap glue code rom the 3.0 SDK or the 
use our new NetBeans plugin 2.0.3. We had to adapt the code to work with 
3.0 but it is backward compatible.


Juergen



Juergen




Thanks,
Jason



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



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




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



Re: [api-dev] SDK 3.0 compatible with 2.4?

2009-01-14 Thread Christoph Neumann

Hi Jason,

as Jürgen already mentioned your Plugins should work in 2.3 as in 3.0. 
But be aware for the _since_ Tag in the idl files. API which comes with 
3.0 could not be executed in 2.3 ;-)


Greetings,
Christoph

Jason Cooper schrieb:

Hello.

I just wanted to check on the backwards compatibility of the new SDK. I'm
beginning to write some Java code to interact with OOo. I want the code to
work with both OOo 2.4.x and 3.0. Will SDK 3.0 work for both 2.4.x and 3.0
or will I need to install and develope with both SDKs?

Thanks,
Jason




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



[api-dev] SDK 3.0 compatible with 2.4?

2009-01-13 Thread Jason Cooper
Hello.

I just wanted to check on the backwards compatibility of the new SDK. I'm
beginning to write some Java code to interact with OOo. I want the code to
work with both OOo 2.4.x and 3.0. Will SDK 3.0 work for both 2.4.x and 3.0
or will I need to install and develope with both SDKs?

Thanks,
Jason


Re: [api-dev] SDK 3.0 compatible with 2.4?

2009-01-13 Thread Juergen Schmidt

Jason Cooper wrote:

Hello.

I just wanted to check on the backwards compatibility of the new SDK. I'm
beginning to write some Java code to interact with OOo. I want the code to
work with both OOo 2.4.x and 3.0. Will SDK 3.0 work for both 2.4.x and 3.0
or will I need to install and develope with both SDKs?
In generally yes, you only have to take care of the used types, 
services. Maybe they were introduced in 3.0. And some of the extensions 
infra structure features (entries for the description.xml) are in the 
3.0 only.


Juergen




Thanks,
Jason




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



Re: [api-dev] SDK 3.0 compatible with 2.4?

2009-01-13 Thread Jason Cooper
That's to be expected. Thanks for the reply.

Jason


On 1/13/09, Juergen Schmidt juergen.schm...@sun.com wrote:

 Jason Cooper wrote:

 Hello.

 I just wanted to check on the backwards compatibility of the new SDK. I'm
 beginning to write some Java code to interact with OOo. I want the code to
 work with both OOo 2.4.x and 3.0. Will SDK 3.0 work for both 2.4.x and 3.0
 or will I need to install and develope with both SDKs?

 In generally yes, you only have to take care of the used types, services.
 Maybe they were introduced in 3.0. And some of the extensions infra
 structure features (entries for the description.xml) are in the 3.0 only.

 Juergen



 Thanks,
 Jason



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