Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Logging utility classes have (annoying) dependency on org.eclipse.core.runtime.Plugin
Logging utility classes have (annoying) dependency on org.eclipse.core.runtime.Plugin [message #594146] Thu, 08 January 2009 20:53
Chris Hines is currently offline Chris HinesFriend
Messages: 15
Registered: July 2009
Junior Member
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
way.

Is it possible to do what I want?

If it is not possible, then should I submit a bugzilla report?

Thanks,
Chris Hines
Previous Topic:Questions regarding JPA
Next Topic:Impending removal of New Table Wizard from DTP due to lack of development support
Goto Forum:
  


Current Time: Thu Apr 25 14:36:52 GMT 2024

Powered by FUDForum. Page generated in 0.02503 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top