我正在嘗試在使用Ant的命令行上構建Eclipse Java項目。然後我會在Jenkins中使用它。我一直在使用ant4eclipse和相關的文檔和示例,但無法通過下面的錯誤。在計算器中最接近的東西是ant4eclipse classpath problem,但我無法弄清楚如何適應我的情況。有任何想法嗎?ant4eclipse解析類路徑時出現異常
BUILD FAILED
/home/phil/git/backend-testing/backend-tests/build.xml:31:
The following error occurred while executing this line:
/home/phil/git/backend-testing/backend-tests/a4e-jdt-macros.xml:77:
org.ant4eclipse.lib.core.exception.Ant4EclipseException:
Exception whilst resolving the classpath entry '[EclipseClasspathEntry: path:
org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVM
ype/JavaSE-1.7 entryKind: 0 outputLocation: null exported: false]' of project
'com.paralant.paravise.model': 'A precondition has been violated: The parameter
'javaProfile' is not supposed to be null.'