2016-08-12 67 views
0

我真的很奇怪,我從Forgerock的存儲庫中下載了源代碼到我的linux本地,但它總是抱怨編譯錯誤的螞蟻的東西。以下是詳細的錯誤信息。任何想法爲什麼?OpenDJ發佈/ 3.0.0編譯錯誤

generateadmin: 
    [exec] 
    [exec] BUILD FAILED 
    [exec] /home/xifeng/Downloads/new_test/3rd/opendj/release-3.0.0/opendj/opendj-server-legacy/build.xml:99: Fatal error during transformation using /home/xifeng/Downloads/new_test/3rd/opendj/release-3.0.0/opendj/opendj-server-legacy/resource/admin/metaMO.xsl: Cannot find external method 'java.io.File.toURI' (must be public). 


[INFO] OpenDJ ............................................. FAILURE [ 31.211 s] 
[INFO] OpenDJ DSML Gateway ................................ SKIPPED 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (generate-config) on project opendj-server-legacy: An Ant BuildException has occured: The following error occurred while executing this line: 
[ERROR] /home/xifeng/Downloads/new_test/3rd/opendj/release-3.0.0/opendj/opendj-server-legacy/build.xml:76: exec returned: 1 
[ERROR] around Ant part ...<ant antfile="/home/xifeng/Downloads/new_test/3rd/opendj/release-3.0.0/opendj/opendj-server-legacy/build.xml">... @ 4:113 in /home/xifeng/Downloads/new_test/3rd/opendj/release-3.0.0/opendj/opendj-server-legacy/target/antrun/build-main.xml 

回答

0

我終於明白了原因。

在我opendj/.gitignore文件,我有:

# Package Files # 
*.jar 

這意味着,當我提出這些檔案,以我自己的混帳回購協議,他們沒有犯。

因此,當其他人克隆我的回購時,他們將無法編譯。