title: Can't specify multiple source paths for JDT Compiler
body: <p>I'm currently having issues with the usage of the <a href="http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-using_batch_compiler.htm" rel="nofollow">JDT Batch Compiler</a>. My issue relates to specifying the sourcepath in the command outlined in the link I posted above. I'm able to specify one sourcepath, but not multiple ones. Let me explain in a short example:</p>
  
  <p>Suppose I have two same-level folders <code>dir1</code> and <code>dir2</code>, and both have a <code>src</code> folder. Let's assume I'm currently in <code>dir1</code> in my command prompt. Also assume I want to print warnings for invalid Javadoc. If I run the following:</p>
  
  <pre><code>java -jar ecj.jar -classpath -sourcepath ./src -warn:+javadoc -1.5
  </code></pre>
  
  <p>I'm given the intended warnings (with some classpath errors). However, if I specify two <code>src</code> folders, like such:</p>
  
  <pre><code>java -jar ecj.jar -classpath -sourcepath ./src;../dir2/src -warn:+javadoc -1.5
  </code></pre>
  
  <p>I'm given the following error:</p>
  
  <pre><code>Unrecognized option : .\src;..\dir2\src
  </code></pre>
  
  <p>The JDT compiler documentation states I should be able to specify multiple <code>src</code> folders by separating them with a semi-colon. Why is it not working the way I intended?</p>