【问题标题】:Orbeon Form Builder buid failed in Liferay configuration在 Liferay 配置中,Orbeon Form Builder 构建失败
【发布时间】:2015-03-02 11:48:09
【问题描述】:

您好,我对 Orbeon 和 Liferay 完全陌生。

我已将 orbeon.war 部署到 Liferay 中,并使用 Orbeon Form Builder 创建了一个表单。我正在尝试为表单创建构建,但在 WINDOWS 命令​​提示符下失败。我已从 www.orbeon.com 下载 4.8 CE。

蚂蚁版本:1.8.4

Tomcat7

我在清理 ant 缓存后运行以下命令

$蚂蚁清洁

$ant 代理-portlet-war 并显示以下日志

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 中配置表单。

【问题讨论】:

    标签: ant liferay liferay-6 orbeon


    【解决方案1】:

    请在您的 javac 任务中包含 includeantruntime="false"。看我的例子&lt;javac destdir="${dest.dir}//classes" classpathref="project.classpath" debug="on" fork="true" includeantruntime="false" memoryinitialsize="256m" memorymaximumsize="1024m"&gt;

    【讨论】:

    • 不,它不起作用。再次显示相同的错误。我增加了内存大小,并在 build.xml 文件中添加了 includeantruntime="false" 文本。
    • 我们已经很久没有尝试在 Windows 上构建了。看来您的错误可能是由于目录名称中的空格造成的。为什么需要从源代码重建 Orbeon Forms?当然可以,但这不是部署表单的必要步骤。
    猜你喜欢
    • 1970-01-01
    • 2014-05-25
    • 2014-01-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-01-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多