title: In Eclipse, can a single source folder be built to multiple output folders?
body: <h2>Summary</h2>
  
  <p>A brief description of why anyone would want to attempt this. In a Maven project, I have a need to run tests against classes in <code>target/classes</code>, and a need to debug (using the Eclipse Servers plugin) tomcat within the Eclipse IDE, which is loading classes and a number of other assembled resources in <code>target/&lt;name-version-package&gt;/WEB-INF/classes</code>.  When my main source folder has output set at the <code>WEB-INF/classes</code> directory, tomcat debugging works great in the IDE. When the ouptut is changed to <code>target/classes</code>, the tests work fine too, as the test resources are properly assembled and loaded outside the context of the package.</p>
  
  <h2>Problem</h2>
  
  <p>The issue is that I have to manually change my main source directory's output based on the task at hand (testing or debugging in tomcat). The configuration and build changes would be prohibitively complex based on other configuration files, etc. to merely work around this.</p>
  
  <p>Therefore, is there a straightforward way to tell Eclipse to output source into two directories? That way the incremental Maven build of Java class files will be copied into both places and I won't have such a fragile configuration.</p>