嗨,我对Orbeon和Liferay来说是全新的。
我已将orbeon.war部署到Liferay中,并使用Orbeon Form Builder创建了一个表单。我正在尝试为窗体创建一个构建,但它在WINDOWS命令提示符下失败。我从www.orbeon.com下载了4.8 CE。
Ant版本:1.8.4
Tomcat7
清理ant cache
后,我运行以下命令$ ant clean
$ ant proxy-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中配置表单。
答案 0 :(得分:0)
请在 javac 任务中加入 includeantruntime =“false”。请参阅我的示例<javac destdir="${dest.dir}//classes" classpathref="project.classpath" debug="on" fork="true" includeantruntime="false" memoryinitialsize="256m" memorymaximumsize="1024m">