Am Mittwoch, 25. März 2009 14:04 schrieb Juergen Schmidt:
[...]
> browse the code and debug the examples directly from NetBeans. The
> removed examples (in the original structure) can be stored for potential
> use. Well the idea still is to provide the examples as Eclipse projects
> as well,
I know, I volunteered.... :-)
The reason I didn't start yet is that the current functionality of the eclipse
plug-in does not really fit. Ariel said, most of the examples are Java Client
applications, not UNO components. Currently the eclipse plug-in does not
support Java Client applications, only UNO components and URE applications.
So I started to enhance the eclipse plug-in to support Java Client
applications. I thought it is better to do this first. Currently the new
functionality comprises
- a Java Client Application New Project Wizard
- a Java Client Application Export Wizard
- an additional Tab for the Java Client Application Project Properties page
- a run/debug launch configuration and a launch configuration short-cut
Although the NB plug-in does have a similar functionality, I am no longer
sure, whether it makes sense at all.
The reason is that the export wizard and the launch configuration depend on
the loader mechanism, i.e. on starting the main method of
com.sun.star.lib.loader.Loader which then starts the client application.
I am not sure, whether this is just some tooling to help a beginner to get
started and experiment with API functionality. If this were right, it would
not make sense to include support for java client applications into the
plug-in. At least not if it depends on this loader mechanism.
If it does make sense to support java client applications, I would like to
know a little bit more about it, in particular:
- What should its functionality be?
- Should it include the loader mechanism?
- If yes:
- - Will teh Loader remain part of the sdk?
- - Will the Loader always be found in
<sdk-install-dir>/openoffice.org/basis3.1/sdk/classes/?
Otherwise one would have to include the Loader source code into each
sdk-example and not have client application support in the plug-ins.
Or what would be the propper solution?
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]