Hi Ariel,
Ariel Constenla-Haile wrote:
Hello Juergen,
On Wednesday 25 March 2009, 10:04, Juergen Schmidt wrote:
Hi,
the SDK contains many examples showing the usage of the API etc. The
examples got not really maintained and the workload for testing them is
high.
Some time in the past i have already mentioned that the idea is to
remove some of the examples from the SDK. Mainly examples written in
Java that are now available as NetBeans projects and that can be used
instead. The advantage of the NetBeans projects is that you can easier
browse the code and debug the examples directly from NetBeans.
Karl Weber's arguments convinced me that it is better to have the Java sources
independent from the NetBeans project: this way, instead of having to maintain
the sources for NB, Eclipse, etc., the only sources that have to maintained
are the project-independent ones; then one has the way how to include this
sources in the respective project.
For client applications, NB with the OOo API plugin can have relative sources,
so that the NB user only needs to get (and keep together, otherwise the
relative reference does not work)
api/examples/java/sources
api/examples/java/netbeans
For UNO components, relative references do not work because the plugin has
several issues (the extension manifest, IDL files, etc. must be inside the
project). I can't imagine a good solution with cvs, but svn has external
definitions (though OOo is planning to move away from svn...)
You are right here concerning the place of important files (like idl
files, manifest etc.) for a UNO component used with the NetBeans plugin.
They have to be inside of the NetBeans project. Of course, this can be
fixed, but I do not know when I'd find the time for this.
Are there any volunteers wanting to help improve the NetBeans plugin for
OpenOffice.org?
-Steffen
Another
A further advantage of having the examples standalone and documented in
the wiki is that the community can easier help to improve the examples.
submiting code may not require write access to the repository, it can be
submited via issue tracker; but wouldn't anyway this mean to sign the JCA? ...
not so easy in this case...
Regards
--
Steffen Grund <[email protected]> Sun Microsystems
Software Engineer - StarOffice Nagelsweg 55
Phone: +49 40 23646 647 D-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: [email protected]
For additional commands, e-mail: [email protected]