Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » One source two projects(RCP and Simple Java Project)
One source two projects [message #753443] Thu, 27 October 2011 09:38 Go to next message
kosta Mising name is currently offline kosta Mising nameFriend
Messages: 16
Registered: August 2011
Junior Member
Hello Eclipse Community,

I have very strange question.
Is it possible to use the same source in a simple java project and in a RCP project.

The Idea ist to develop, edit the java files in one place but to use them into two different projects without to make some conversion like jars or equal.

We have one project which is writen as simple java project and we want to use the classes of it in a RCP plugin project. Is that possible without to convert the simple into RCP? Because the simple and the RCP will be both developed further.

Regards,
Kosta
Re: One source two projects [message #753479 is a reply to message #753443] Thu, 27 October 2011 12:41 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Why not convert the simple jar into an bundle/plugin? From the java jar point of view, there's nothing special about being an OSGi bundle except you have some OSGi headers in your MANIFEST.MF which specify your ID, version, and what java packages you export. The OSGi headers have no effect when running as a normal jar on the classpath, and will allow that project to work correctly in an RCP app.

PW


Previous Topic:How to add custom menu item to the windows popup menu in a Text?
Next Topic:Opening a new file type in especial editor
Goto Forum:
  


Current Time: Thu Apr 25 12:50:25 GMT 2024

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

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

Back to the top