title: How to run Eclipse launch configurations programmatically?
body: <p>I'm finding it difficult to phrase this question well, as there are quite a few generic terms (run, configuration, launch, etc.). Here goes:</p>
  
  <p>You can <a href="http://eclipsesnippets.blogspot.com/2007/07/tip-creating-and-sharing-launch.html" rel="noreferrer">save run configurations in a <code>.launch</code> file</a>. (in the Run Configuration Dialog, under the Common tab, Save as a shared file.</p>
  
  <p>We check these in to SVN. The developers can pass them around, and it helps getting new devs running a working application quicker.</p>
  
  <p>I'd like to check these out as part of our build and use them to programatically run the application, the tests, etc, without spinning up the whole IDE.</p>
  
  <p>What would be the best way to run a <code>.launch</code> file outside of the UI? </p>
  
  <p><strong>Edit</strong>: I am trying to unify the tests run on the build server and the IDE. I do not 
  particularly want to give up integrated debugging, which would be the case with an ant script to run the tests .</p>
  
  <p>This is probably more a problem for integration testing with multiple bundles, or unit testing a whole bundle, where you'd like to mock up extensions.</p>