0

私は、Eclipse 3.6 で ajdt を pde ヘッドレス ビルドと組み合わせて使用​​することに成功しています。プロジェクトのbuild.propertiesに次のエントリがあります。

compilerAdapter=org.eclipse.ajdt.core.ant.AJDT_AjcCompilerAdapter
sourceFileExtensions=*.java, *.aj

ただし、Eclipse 3.8 に切り替えると、ant ベースの pde ヘッドレス ビルド中に次のスタックが取得されます。

[java] c:\eclipse3.8\plugins\org.eclipse.pde.build_3.8.0.v20120523-1555\scripts\productBuild\productBuild.xml:43: この行の実行中に次のエラーが発生しました:

[java] c:\eclipse3.8\plugins\org.eclipse.pde.build_3.8.0.v20120523-1555\scripts\build.xml:105: この行の実行中に次のエラーが発生しました:

[java] c:\eclipse3.8\plugins\org.eclipse.pde.build_3.8.0.v20120523-1555\templates\headless-build\customTargets.xml:12: 彼の行の実行中に次のエラーが発生しました:

[java] c:\eclipse3.8\plugins\org.eclipse.pde.build_3.8.0.v20120523-1555\scripts\productBuild\allElements.xml:20: この行の実行中に次のエラーが発生しました:

[java] c:\eclipse3.8\plugins\org.eclipse.pde.build_3.8.0.v20120523-1555\scripts\genericTargets.xml:119: この行の実行中に次のエラーが発生しました:

[java] c:\eclipse3.8\plugins\org.eclipse.pde.build_3.8.0.v20120523-1555\scripts\genericTargets.xml:129: この行の実行中に次のエラーが発生しました:

[java] c:\MyApp\temp\compile.org.eclipse.pde.build.container.feature.xml:4: この行の実行中に次のエラーが発生しました:

[java] c:\MyApp\temp\plugins\com.foo.myplugin\build.xml:176: この行の実行中に次のエラーが発生しました:

[Java] c:\MyApp\temp\plugins\com.foo.myplugin\build.xml:122:クラスが見つかりません: org.eclipse.ajdt.core.ant.AJDT_AjcCompilerAdapter

私を助けてください。お時間をいただきありがとうございます!

4

1 に答える 1

0

AJDT がビルド Eclipse にインストールされていない可能性があります。AJDT_AjcCompilerAdapter クラスを見つけるためには、このクラスが必要です。

于 2012-07-23T03:29:41.507 に答える