嗨,我对Orbeon和Liferay完全陌生。
我已经将orbeon.war部署到Liferay中,并使用orbeon form Builder创建了一个表单。我正试图为窗体创建一个内部版本,但在WINDOWS命令提示符下失败。我已经从www.orbeon.com.下载了4.8 CE
Ant版本:1.8.4
Tomcat7
我在清理蚂蚁缓存后运行以下命令
$ant清洁
$ant代理portlet大战并显示以下日志
D:Software'sOrbeonorbeon-forms-tag-release-4.8-ce>ant proxy-portlet-war
Buildfile: D:Software'sOrbeonorbeon-forms-tag-release-4.8-cebuild.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'sOrbeonorbeon-forms-tag-release-4.8-cebuildsrc
[copy] Copying 1 file to D:Software'sOrbeonorbeon-forms-tag-release-4.8-cebuildsrc
prepare:
[mkdir] Created dir: D:Software'sOrbeonorbeon-forms-tag-release-4.8-cebuildclasses
[mkdir] Created dir: D:Software'sOrbeonorbeon-forms-tag-release-4.8-cebuildlib
classpath:
classes:
[scalac] Compiling 1 source file to D:Software'sOrbeonorbeon-forms-tag-release-4.8-cebuildcl
asses
[scalac] Compiling 0 scala and 538 java source files to D:Software'sOrbeonorbeon-forms-tag-rel
ease-4.8-cebuildclasses
[scalac] Compiling 456 source files to D:Software'sOrbeonorbeon-forms-tag-release-4.8-cebuild
classes
[scalac] Compiling 1 source file to D:Software'sOrbeonorbeon-forms-tag-release-4.8-cebuildcl
asses
[scalac] warning: there were 21 deprecation warning(s); re-run with -deprecation for details
[scalac] one warning found
[javac] D:Software'sOrbeonorbeon-forms-tag-release-4.8-cebuild.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'sOrbeonorbeon-forms-tag-release-4.8-cebuild
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'sOrbeonorbeon-forms-tag-release-4.8-cebuild.xml:374: Compile failed; see the compiler
error output for details.
Total time: 1 minute 32 seconds
我无法在Liferay中配置表单。
请在javac任务中包含includeanturntime="false"。参见我的示例<javac destdir="${dest.dir}//classes" classpathref="project.classpath" debug="on" fork="true" includeantruntime="false" memoryinitialsize="256m" memorymaximumsize="1024m">