Ant スクリプトを使用して Eclipse プロジェクトを構築しようとしています。また、ant4eclipse を使用してプロジェクトをインポートします。.classpath ファイルから次のエントリを解決しようとするまでは正常に動作します。
…
<classpathentry kind="con"path="at.bestsolution.efxclipse.tooling.jdt.core.JAVAFX_CONTAINER"/>
…
エラー:
BUILD FAILED
C:\Users\bob\.jenkins\jobs\BuildTest\workspace\trunk\build.xml:159: The following error occurred while executing this line:
C:\Users\bob\.jenkins\jobs\BuildTest\workspace\trunk\build.xml:70: org.ant4eclipse.lib.core.exception.Ant4EclipseException: Exception whilst resolving the classpath entry '[EclipseClasspathEntry: path: at.bestsolution.efxclipse.tooling.jdt.core.JAVAFX_CONTAINER entryKind: 0 outputLocation: null exported: false]' of project 'test123': '
No 'jdtClassPathLibrary' defined for library entry 'at.bestsolution.efxclipse.tooling.jdt.core.JAVAFX_CONTAINER'.
To resolve this problem, please define a 'jdtClassPathLibrary' element inside your ant build file:
<ant4eclipse:jdtClassPathLibrary name="at.bestsolution.efxclipse.tooling.jdt.core.JAVAFX_CONTAINER">
<fileset dir="..."/>
</ant4eclipse:jdtClassPathLibrary >
を使用して提案に従う場合
C:\Program Files\Java\jdk1.7.0_55\jre\lib
ファイルセットディレクトリとして上記のエラーが発生します。そして jfxrt.jar が存在します。
問題を解決する方法を知っている人はいますか?