Bug 226086 - [dstore][api][breaking] Move ServerLogger class to dstore.core bundle
Summary: [dstore][api][breaking] Move ServerLogger class to dstore.core bundle
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P1 enhancement (vote)
Target Milestone: 3.0 M6   Edit
Assignee: David McKnight CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2008-04-08 03:59 EDT by Noriaki Takatsu CLA
Modified: 2008-04-08 10:36 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Noriaki Takatsu CLA 2008-04-08 03:59:12 EDT
Now, ServerLogger comes to have non-static methods to support a single-process server model.
I've chosen EnvironmentMiner class as a place where the ServerLogger instance is created, since I thought that the EnvironmentMiner was always activated.
But the EnvironmentMiner is not activated when the USS facility is not constructed in a client and the client tries to connect to the server.  

So, it seems that the org.eclipse.dstore.core project is the best place to make ServerLogger instance.
But, ServerLogger class belongs to org.eclipse.rse.dstore.universal.miners
of org.eclipse.rse.services.dstore project.
This project has dependence on org.eclipse.dstore.core project.
Due to cyclic dependency, the class that belongs to org.eclipse.dstore.core project cannot invoke ServerLogger APIs.

To solve the above problem, I think that the ServerLogger class should be moved from org.eclipse.rse.services.dstore project to org.eclipse.dstore.core project.
Are there any solutions for this problem ?
Comment 1 Martin Oberhuber CLA 2008-04-08 04:08:33 EDT
Suggestion sounds good to me. I changed the summary, previous value was:
Place where the ServerLogger instance is to be made

Note that repackaging is a breaking API change so this needs to be done NOW.
Comment 2 David McKnight CLA 2008-04-08 10:36:43 EDT
I've moved ServerLogger to the org.eclipse.dstore.core.server package of the dstore.core plugin.