title: Build Machine: error: package net.rim.device.api.ui does not exist
body: <p>I am trying to get our build machine to consistently build our Blackberry project (build using the Eclipse plugin not the JDE) on check-in. We are using Jenkins to call the project and sometimes it works but only after I've fired up the project in eclipse on the far machine but then restarting causes the error to come back. </p>
  
  <p>The first error I get is (the following errors are all in the same vein): </p>
  
  <pre><code> [javac] c:\&lt;path_to_project&gt;\src\path\to\package\class.java:6: error: package net.rim.device.api.ui does not exist
  </code></pre>
  
  <p>And every other reference to a net.rim.* object. Clearly it's because it's not linking to the target net_rim_api.jar file but I can't figure out what on earth is going wrong. I've tried poking at the build.xml file but I just get more errors and other versions of this error in other threads turn out to be not the same thing.</p>
  
  <p>I have tried installing and using BB-Ant (roughly following <a href="http://supportforums.blackberry.com/t5/Java-Development/How-to-use-bb-ant-tools-with-Eclipse-without-the-Eclipse-plugin/td-p/123689" rel="nofollow">this tutorial</a>) but it has not provided me with the solution - I'm prepared to admit that I may have made a mistake in the implementation but I followed it as closely as I could with the current project that I have.</p>
  
  <p>I would appreciate any help that you can give me. </p>
  
  <p><strong>EDIT</strong></p>
  
  <p>So I've now altered the project to use <code>&lt;rapc&gt;</code> instead of <code>&lt;javac&gt;</code> which appears to do the linking to the .jar for you but it's still frustrating that you can't simply use the auto generated build.xml. Is this a known (and due to lack of information available on the internet, accepted) issue with Eclipse? </p>