title: How can i invoke the EMF Generator headless using a workspace outside the eclipse installation?
body: <p>I am trying to generate the edit and the editor code of a EMF Genmodel using a batch file and the headless command.</p>
  
  <p>Here is my batch code:</p>
  
  <pre><code>cd\
  cd C:\eclipse
  
  eclipsec -noSplash -data "C:\Dokumente und Einstellungen\milan\Desktop\SHK\workspaceGalileoTRUNK" -application org.eclipse.emf.codegen.ecore.Generator -edit -editor foo.bar.xy/model/Petrinet.genmodel -forceOverwrite
  </code></pre>
  
  <p>Referring to the EMF Book and previous trys, this should be the correct command. But when i am trying to execute the command, i get a FileNotFound Exception because he is searching the genmodel file in the following path:</p>
  
  <pre><code>C:\eclipse\foo.bar.xy\model\Petrinet.genmodel
  </code></pre>
  
  <p>It seems eclipse or the emf generator ignore the path to my workspace. I don't understand this and i cannot get it fixed.</p>
  
  <p><b> Does anybody got a clue how to invoke this generation correctly? Where should i start to look for errors? Or may this be a bug of the newer emf version?</b></p>
  
  <p>(I am sure that this command worked before)</p>
  
  <p>Thank you!</p>