title: How do I "install" a log4j bundle?
body: <p>I've downloaded the code for an Eclipse plugin. The code uses log4j, but it doesn't just use it as a library (referred jar), but as a "bundle". So it doesn't compile because of the following reason:</p>
  
  <blockquote>
    <p>Bundle 'org.apache.log4j' cannot be resolved</p>
  </blockquote>
  
  <p>I'm not really sure what's the correct approach to solve this. I know how to add jars to a project, but how do I add "bundles"? Is it something I need to add to the entire Eclipse host?</p>
  
  <p>I "solved" this by creating a new plugin project with no code but with the log4j jar included... but that doesn't feel like the right solution.</p>
  
  <p>I've also found some places where "log4j bundles" are published, e.g.:</p>
  
  <ul>
  <li><a href="http://ebr.springsource.com/repository/app/bundle/version/detail?name=com.springsource.org.apache.log4j&amp;version=1.2.16" rel="nofollow">http://ebr.springsource.com/repository/app/bundle/version/detail?name=com.springsource.org.apache.log4j&amp;version=1.2.16</a></li>
  <li><a href="http://download.eclipse.org/tools/orbit/downloads/drops/R20110523182458/" rel="nofollow">http://download.eclipse.org/tools/orbit/downloads/drops/R20110523182458/</a></li>
  </ul>
  
  <p>But I'm not sure if that's what I need, if it matters where I get it from, and how to "install" it.</p>