各位好!

  4.0-nonoss.patch 出现错误,请问什么原因,如何解决,谢谢。

1. Make sure you've the following nonoss jars from respective vendors in deps/: 

     deps/cloud-iControl.jar 
     deps/cloud-manageontap.jar 
     deps/cloud-netscaler-sdx.jar 
     deps/cloud-netscaler.jar 
     deps/vmware-apputils.jar 
     deps/vmware-vim.jar 
     deps/vmware-vim25.jar 

2. wget https://cwiki.apache.org/CLOUDSTACK/building.data/4.0-nonoss.patch 
   $ cd incubator-cloudstack 
$ mvn -P deps 
$ git am [^4.0-nonoss.patch] 
 出现如下错误:
/usr/libexec/git-core/git-am: line 157:
https://cwiki.apache.org/CLOUDSTACK/building.data/4.0-nonoss.patch: No
such file or directory
$ cd deps 
$ ./install-non-oss.sh 
$ cd .. 
$ mvn  -P deps -D nonoss
出现如下错误:
Applying: BUILD: Make CloudStack buildable with nonoss libs
error: patch failed: client/pom.xml:104
error: client/pom.xml: patch does not apply
error: patch failed: client/tomcatconf/components.xml.in:171
error: client/tomcatconf/components.xml.in: patch does not apply
error: patch failed: console-proxy/pom.xml:50
error: console-proxy/pom.xml: patch does not apply
error: deps/pom.xml: does not exist in index
error: patch failed: patches/pom.xml:50
error: patches/pom.xml: patch does not apply
error: patch failed: pom.xml:155
error: pom.xml: patch does not apply
Patch failed at 0001 BUILD: Make CloudStack buildable with nonoss libs When
you have resolved this problem run "git am --resolved".
If you would prefer to skip this patch, instead run "git am --skip".
To restore the original branch and stop patching run "git am --abort".
 



zhaotao_cn

回复