Ubuntu 14.04 LTS LinuxコンピュータでOpenIMSCoreの物理バージョンをコンパイルしようとしています。私は指定された指示here at cnd's websiteに従った。必要なすべての必要なプログラムとライブラリがあることを確認するには、here is a text file outlining all of the different versions of the required programs I am using。この問題はthis oneと似ているようですが、私がディレクトリを作ることに失敗していることを除いて、彼はそれらを見つけることができません。Apache AntがOpenIMSCoreのFHoSS用にディレクトリを作成できない
/opt/OpenIMSCore/FHoSS$ ant compile -d
Apache Ant(TM) version 1.9.3 compiled on April 8 2014
Trying the default build file: build.xml
Buildfile: /opt/OpenIMSCore/FHoSS/build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.7 in: /usr/lib/jvm/java-7-openjdk-amd64/jre
Detected OS: Linux
Adding reference: ant.ComponentHelper
Setting ro project property: ant.file -> /opt/OpenIMSCore/FHoSS/build.xml
Setting ro project property: ant.file.type -> file
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile /opt/OpenIMSCore/FHoSS/build.xml with URI = file:/opt/OpenIMSCore/FHoSS/build.xml
Setting ro project property: ant.project.name -> FHoSS Project
Adding reference: FHoSS Project
Setting ro project property: ant.project.default-target -> compile
Setting ro project property: ant.file.FHoSS Project -> /opt/OpenIMSCore/FHoSS/build.xml
Setting ro project property: ant.file.type.FHoSS Project -> file
Project base dir set to: /opt/OpenIMSCore/FHoSS
+Target:
+Target: init
+Target: compile
+Target: jars
+Target: config
+Target: script
+Target: deploy
+Target: jdoc
+Target: example
+Target: clean
+Target: cleanall
+Target: deb
Adding reference: ant.LocalProperties
parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
[property] Loading /opt/OpenIMSCore/FHoSS/build.properties
Setting project property: path.deploy -> deploy
Setting project property: path.src -> /opt/OpenIMSCore/FHoSS/src
Setting project property: path.srcweb -> /opt/OpenIMSCore/FHoSS/src-web
Setting project property: path.build -> /opt/OpenIMSCore/FHoSS/bin
Setting project property: path.doc -> /opt/OpenIMSCore/FHoSS/docs
Setting project property: path.webdest -> /opt/OpenIMSCore/FHoSS/deploy/webapps/hss.web.console
Setting project property: path.log -> /opt/OpenIMSCore/FHoSS/deploy/logs
Setting project property: path.config -> /opt/OpenIMSCore/FHoSS/deploy
Setting project property: path.script -> /opt/OpenIMSCore/FHoSS/deploy
Setting project property: path.example -> /opt/OpenIMSCore/FHoSS/deploy/examples
Setting project property: compile.debug -> true
Setting project property: compile.deprecation -> true
Setting project property: compile.optimize -> true
Adding reference: compile.classpath
Setting ro project property: ant.project.invoked-targets -> compile
Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor
Adding reference: ant.executor
Build sequence for target(s) `compile' is [init, compile]
Complete build sequence is [init, compile, jars, config, script, deploy, example, jdoc, deb, cleanall, clean, ]
init:
Setting project property: DSTAMP -> 20170707
Setting project property: TSTAMP -> 1523
Setting project property: TODAY -> July 7 2017
BUILD FAILED
/opt/OpenIMSCore/FHoSS/build.xml:36: Directory /opt/OpenIMSCore/FHoSS/bin creation was not successful for an unknown reason
at org.apache.tools.ant.taskdefs.Mkdir.execute(Mkdir.java:70)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 0 seconds
そしてここCNDが提供するbuild.xmlファイルです:私は、端末内ant clean
操作を予備成形した後
私は、ここで入手可能な情報の最適な量を供給確保するためには、 デバッグ情報を次のとおりです。 I put it on Google Drive due to its size and the fact that this post is already lengthy as is。 Apache Antをはたぶん失敗した時点ではライン36、mkdirコマンドである:
<target name="init">
<tstamp/>
<mkdir dir="${path.build}" />
</target>
私は、これは私を助けるために誰かのために十分に明確であると思います。私はApache Antにはかなり新しいので、私には負担してください。しかし、この問題をデバッグするために必要なものを提供するために全力を尽くすことができます。