Rony G. Flatscher wrote:
Jim White wrote:
Rony G. Flatscher wrote:
...
Also, there is a group of applications and use cases which become
impossible: all classes with are reachable to *any* Java application
on a system that are listed on the process' default environment
variable CLASSPATH. At the moment is seems to be the case that OOo
face-2-face to Java-OOo-extensions hides the CLASSPATH settings from
them! [The behaviour would be comparable to removing the settings of
the PATH environment variable from apps that are deployed via OOo or
its extensions, sort of blinding and deafing them.]
...
Well, personally I don't mind ignoring the CLASSPATH variable.
Requiring desktop GUI users to deal with command-line oriented
settings is a non-starter in many situations.
Hmm, I did *not* mean to have end-users set the CLASSPATH variable at
all. However, if a pre-configured, rolled-out system has CLASSPATH set
(at the user or system level), then usually there are good reasons for
that (which may very well be independent of ones own OOo-extension for
that matter). Comparable to having such systems pre-set PATH entries.
...
Ah, well we're considering two totally different user bases.
You're concerend with users that have system administrators and/or IT
support. When something doesn't work they call you and you fix it.
I'm concerned with all the folks (which is very many more than any one
corporate deployment) who don't have have technical support. For them
if the reason that OpenOffice doesn't work is because of a CLASSPATH
problem, very few will be able to fix it and will have to simply give
up. I'm sure that this is the reason OpenOffice.org has removed
sensitivity to it.
The CLASSPATH situation has been a nightmare for Java since the get go,
so I understand perfectly well that it is causing you trouble. But I'm
fairly confident that because you control your environment it is
possible to get pretty much anything you need done.
Java code in an OOo extension can access the environment variables for
one thing (System.getenv). A macro to configure the OpenOffice Java
preferences is possible.
In my IFCX Wings tool for example I'll be implementing a totally dynamic
dependency capability based on Apache Ivy.
http://www.ifcx.org/
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]