私は解決策見つけた - 次のantファイルを指しているすべてのプロジェクトにAntのビルダーを追加するために:
<project name="Copy Sources" basedir="." default="copy-src">
<target name="copy-src">
<copy todir="bin">
<fileset dir="src" includes="**/*.java"/>
</copy>
</target>
</project>
私の.projectファイルは次のようになります。
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>my-project1</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>auto,full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/gwt-dev-support/Copy Sources.launch"/></value>
</dictionary>
<dictionary>
<key>incclean</key>
<value>true</value>
</dictionary>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
苦情は何ですか? – Dave
苦情:その中にどのように私はそれを実行した場合、それだけではないのbinフォルダが含まれていますように、日食プロジェクトを設定するには、だけでなく、srcフォルダは、実行時のクラスパスです。起動設定ではプロジェクトは、他の多くのプロジェクトに依存しますので、私は(IvyDEを使用して)、手動でクラスパスを編集したくないと私は手動起動設定にすべての依存プロジェクトのソースフォルダを追加する必要はありません。 –
Laf、GWTはクラスパスにjavaファイルが必要です。 –