title: include Eclipseproject into other Project which is an OSGi bundle
body: <p>I am developing an OSGi-Bundle (Project 1) in Eclipse and have to export it as a jar to run it on my target environment. I am using the normal eclipse export as "jar file" or export as "deployable plugins and fragments", both work well so far.</p>
  
  <p>Now I have another eclipse-Project (Project 2, non-OSGi, just some classes) which I want to be included, preffered as a jar-lib in my Bundle.</p>
  
  <p>I tried adding the new project as linked source in the buildpath-settings. The code will resolve well but the jar cannot be build because of missing the classes.</p>
  
  <p>I also tried adding the new project as project in the buildpath-settings. It doesnt work for "deployable plugins and fragments" but for "jar file". But then, everytime i do a new jar export, it will add all sourcefiles and projectfiles of the second project into the jar.</p>
  
  <p>Whats the best way to include it without having to export jars of that project all the time and without using maven, if possible?</p>