title: Eclipse: import folder of source code to other projects
body: <p>I have project A: in project I hava a package A. (In project folder, it's just a folder A with many *.java). </p>
  
  <p>I create a project B: how I import folder A to project B to use modules I have created. (If I create package A from project A: I must compile each file to *.class, and I cannot modified source code again, and that not what I want).</p>
  
  <p>This work frustrate me so much. Because I often do step by step (in Project B): create a new package A-->create class a'-->copy code of class a' of projectA to this class @@)</p>
  
  <hr>
  
  <p><strong>Edit</strong></p>
  
  <p>Oh. thanks for help of Perception. Very nice and very detail to me. thanks for Baldrick help me over come this trick,too. (first time, I work like Perception say, but I don't see project A. and don't see nothing :-O. And I try Baldrick promise: "This way the classes in project A are available to other project." ).</p>
  
  <p>But, I think this solution has some strict:</p>
  
  <p>1)  projectA must be open. If not, projectB will notice error.</p>
  
  <p>2)  This work mean projectA and projectB are working together. But, I just like projectB inherits some useful class from projectA. (and I can change some code, and this work will not change project A).</p>
  
  <p>Easy example: projectA has class Car. projectB has class Truck. class Car has some useful sub-class like Run(). Petrol().  projectB will use Run() class and change something in Petrol().    </p>