Skip to main content



      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 05:38 Go to next message
Eclipse UserFriend
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 08:41 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 17:21:34 EDT 2025

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

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

Back to the top