|Logging utility classes have (annoying) dependency on org.eclipse.core.runtime.Plugin [message #594146]
||Thu, 08 January 2009 15:53
| Chris Hines
Registered: July 2009
First let me say that I couldn't have solved my problem without DTP, so |
thanks to everyone involved. Now onto my question.
We are using ModelBase and the SQL Parser to provide some functionality of a
commercial product. Our product is not based on the Eclipse platform, so we
are using the DTP jar files standalone. Since our application is launched
by Java WebStart we are sensitive to the size of the jar files that get
downloaded at startup.
Specifically we are disappointed that the logging utility classes in the DTP
SQL Parser and ModelBase have a dependency on
org.eclipse.core.runtime.Plugin, which in turn has a dependency on
org.osgi.framework.BundleActivator. The BundleActivator class comes from
org.eclipse.osgi_<version>.jar, which is nearly one MB in size.
Unfortunately SQLLogUtil, SQLParserLogger, SQLQueryLogger,
SQLQueryParserLogger are all concrete classes that do not implement any
interfaces and they all depend on the Plugin class. I don't see how a
consumer of DTP SQL Parser and ModelBase can break this dependency in a good
Is it possible to do what I want?
If it is not possible, then should I submit a bugzilla report?
Powered by FUDForum
. Page generated in 0.01489 seconds