2015-03-02 21 views
0

嗨,我對Orbeon和Liferay來說是全新的。Orbeon Form Builder buid在Liferay配置中失敗

我已經將orbeon.war部署到Liferay中,並且我使用Orbeon Form Builder創建了一個表單。我正在嘗試爲窗體創建一個構建,但是它在WINDOWS命令提示符下失敗。我從www.orbeon.com下載了4.8 CE。

螞蟻版本:1.8.4

Tomcat7

我乾淨螞蟻緩存後運行以下命令

$螞蟻乾淨

$螞蟻代理portlet的戰爭 和它顯示以下日誌

D:\Software's\Orbeon\orbeon-forms-tag-release-4.8-ce>ant proxy-portlet-war 
Buildfile: D:\Software's\Orbeon\orbeon-forms-tag-release-4.8-ce\build.xml 

init: 
    [echo] Building Orbeon Forms 4.8.0.201503021129 
    [echo] Using Ant Apache Ant(TM) version 1.8.4 compiled on May 22 2012 
    [echo] ##teamcity[buildNumber '4_8_0_201503021129'] 

set-version: 
    [mkdir] Created dir: D:\Software's\Orbeon\orbeon-forms-tag-release-4.8-ce\build\src 
    [copy] Copying 1 file to D:\Software's\Orbeon\orbeon-forms-tag-release-4.8-ce\build\src 

prepare: 
    [mkdir] Created dir: D:\Software's\Orbeon\orbeon-forms-tag-release-4.8-ce\build\classes 
    [mkdir] Created dir: D:\Software's\Orbeon\orbeon-forms-tag-release-4.8-ce\build\lib 

classpath: 

classes: 
    [scalac] Compiling 1 source file to D:\Software's\Orbeon\orbeon-forms-tag-release-4.8-ce\build\cl 
asses 
    [scalac] Compiling 0 scala and 538 java source files to D:\Software's\Orbeon\orbeon-forms-tag-rel 
ease-4.8-ce\build\classes 
    [scalac] Compiling 456 source files to D:\Software's\Orbeon\orbeon-forms-tag-release-4.8-ce\build 
\classes 
    [scalac] Compiling 1 source file to D:\Software's\Orbeon\orbeon-forms-tag-release-4.8-ce\build\cl 
asses 
    [scalac] warning: there were 21 deprecation warning(s); re-run with -deprecation for details 
    [scalac] one warning found 
    [javac] D:\Software's\Orbeon\orbeon-forms-tag-release-4.8-ce\build.xml:374: warning: 'includeant 
runtime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds 
    [javac] Compiling 538 source files to D:\Software's\Orbeon\orbeon-forms-tag-release-4.8-ce\build 
\classes 
    [javac] javac: invalid flag: D:\Software 
    [javac] Usage: javac <options> <source files> 
    [javac] use -help for a list of possible options 

BUILD FAILED 
D:\Software's\Orbeon\orbeon-forms-tag-release-4.8-ce\build.xml:374: Compile failed; see the compiler 
error output for details. 

Total time: 1 minute 32 seconds 

我我無法在Liferay中配置表單。

回答

0

請包括在您的javac任務中includeantruntime =「false」。看我的例子<javac destdir="${dest.dir}//classes" classpathref="project.classpath" debug="on" fork="true" includeantruntime="false" memoryinitialsize="256m" memorymaximumsize="1024m">

+0

不,它不工作。它再次顯示相同的錯誤。我增加了內存大小,並在build.xml文件中添加了includeantruntime =「false」文本。 – Prathyush 2015-03-02 13:14:43

+0

我們還沒有嘗試在很長一段時間內在Windows上構建。看來你的錯誤可能是由於目錄名稱中的空格造成的。你爲什麼需要從源碼重建Orbeon表單?你當然可以,但這不應該是部署表單的必要步驟。 – ebruchez 2015-03-10 17:16:13

相關問題