cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wei ZHOU <ustcweiz...@gmail.com>
Subject Re: Re: Re: 更新了最新的4.2分支的源代码怎么连编译都通不过了
Date Tue, 08 Oct 2013 06:15:00 GMT
嗯,应该是4.2 release的时候deps/XenServerJava/pom.xml里面的SNAPSHOT也去掉了的原因。


在 2013年10月8日上午7:38,陈珂 <chenke@ourfuture.cn>写道:

> 成功了,  如果该机器之前编译过4.1.1等版本,需要手工到
> /root/.m2/repository/org/apache/cloudstack/xapi
> 把xapi文件夹都删掉,因为这个系列的源代码事实上在4.2已经发生变化了,但pom的版本号没进行升级,所以一直都是用的老版本的xapi,这个应该属于编译相关脚本的bug了。
>
>
> 2013-10-08
>
>
>
> 陈珂
>
>
>
> 发件人: 陈珂
> 发送时间: 2013-10-08 13:09:45
> 收件人: users-cn
> 抄送:
> 主题: Re: Re: Re: 更新了最新的4.2分支的源代码怎么连编译都通不过了
>
> xapi-5.6.100-1-SNAPSHOT.jar    460k
> xapi-5.6.100-1.jar   533k
> 同样的机器,编译4.1.1成功
> 2013-10-08
> 陈珂
> 发件人: Wei ZHOU
> 发送时间: 2013-10-08 12:59:30
> 收件人: users-cn
> 抄送:
> 主题: Re: Re: 更新了最新的4.2分支的源代码怎么连编译都通不过了
>
> 文件大小和md5呢
> 2013/10/8 陈珂 <chenke@ourfuture.cn>
> > /root/.m2/repository/org/apache/cloudstack/xapi   文件夹下有5.6.100-1
> > 和5.6.100-1-SNAPSHOT  这两个文件夹里也都有jar
> >
> >
> > 2013-10-08
> >
> >
> >
> > 陈珂
> >
> >
> >
> > 发件人: Wei ZHOU
> > 发送时间: 2013-10-08 12:35:34
> > 收件人: users-cn
> > 抄送:
> > 主题: Re: 更新了最新的4.2分支的源代码怎么连编译都通不过了
> >
> > dev ML上有人有同样的问题。不过我编译没问题。感觉像是xapi的问题,你查查maven的repository目录里面的api*.jar
> > 2013/10/8 陈珂 <chenke@ourfuture.cn>
> > >
> > >
> >
> 更新了最新的4.2分支的源代码怎么连编译都通不过了,上传了该上传的jar包,也install进maven了,也把vhd-util拷贝到相应路径了。执行如下命令,编译到一半出现如下异常,而且国庆前我还编译通过了一次,怎么过了个节,更新代码后反倒编译不过了:
> > >
> > >
> > > mvn clean
> > > mvn install -Dnonoss
> > >
> > >
> > > [INFO] -------------------------------------------------------------
> > > [ERROR]
> > >
> >
> /root/codebase/cs42/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java:[890,16]
> > > cannot find symbol
> > > symbol  : variable lockingMode
> > > location: class com.xensource.xenapi.VIF.Record
> > > [ERROR]
> > >
> >
> /root/codebase/cs42/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java:[890,36]
> > > cannot find symbol
> > > symbol  : variable VifLockingMode
> > > location: class com.xensource.xenapi.Types
> > > [ERROR]
> > >
> >
> /root/codebase/cs42/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java:[1099,12]
> > > cannot find symbol
> > > symbol  : variable lockingMode
> > > location: class com.xensource.xenapi.VIF.Record
> > > [ERROR]
> > >
> >
> /root/codebase/cs42/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java:[1099,32]
> > > cannot find symbol
> > > symbol  : variable VifLockingMode
> > > location: class com.xensource.xenapi.Types
> > > [ERROR]
> > >
> >
> /root/codebase/cs42/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java:[4857,20]
> > > cannot find symbol
> > > symbol  : variable lockingMode
> > > location: class com.xensource.xenapi.VIF.Record
> > > [ERROR]
> > >
> >
> /root/codebase/cs42/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java:[4857,40]
> > > cannot find symbol
> > > symbol  : variable VifLockingMode
> > > location: class com.xensource.xenapi.Types
> > > [ERROR]
> > >
> >
> /root/codebase/cs42/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer610Resource.java:[162,43]
> > > cannot find symbol
> > > symbol  : method
> > >
> >
> migrateReceive(com.xensource.xenapi.Connection,com.xensource.xenapi.Network,java.util.Map<java.lang.String,java.lang.String>)
> > > location: class com.xensource.xenapi.Host
> > > [ERROR]
> > >
> >
> /root/codebase/cs42/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer610Resource.java:[177,30]
> > > cannot find symbol
> > > symbol  : method
> > >
> >
> assertCanMigrateAsync(com.xensource.xenapi.Connection,java.util.Map<java.lang.String,java.lang.String>,boolean,java.util.Map<com.xensource.xenapi.VDI,
> > > com.xensource.xenapi.SR
> > >
> >
> >,java.util.Map<com.xensource.xenapi.VIF,com.xensource.xenapi.Network>,java.util.Map<java.lang.String,java.lang.String>)
> > > location: class com.xensource.xenapi.VM
> > > [ERROR]
> > >
> >
> /root/codebase/cs42/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer610Resource.java:[191,30]
> > > cannot find symbol
> > > symbol  : method
> > >
> >
> migrateSendAsync(com.xensource.xenapi.Connection,java.util.Map<java.lang.String,java.lang.String>,boolean,java.util.Map<com.xensource.xenapi.VDI,
> > > com.xensource.xenapi.SR
> > >
> >
> >,java.util.Map<com.xensource.xenapi.VIF,com.xensource.xenapi.Network>,java.util.Map<java.lang.String,java.lang.String>)
> > > location: class com.xensource.xenapi.VM
> > > [ERROR]
> > >
> >
> /root/codebase/cs42/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer610Resource.java:[253,43]
> > > cannot find symbol
> > > symbol  : method
> > >
> >
> migrateReceive(com.xensource.xenapi.Connection,com.xensource.xenapi.Network,java.util.Map<java.lang.String,java.lang.String>)
> > > location: class com.xensource.xenapi.Host
> > > [ERROR]
> > >
> >
> /root/codebase/cs42/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer610Resource.java:[312,30]
> > > cannot find symbol
> > > symbol  : method
> > >
> >
> assertCanMigrateAsync(com.xensource.xenapi.Connection,java.util.Map<java.lang.String,java.lang.String>,boolean,java.util.Map<com.xensource.xenapi.VDI,
> > > com.xensource.xenapi.SR
> > >
> >
> >,java.util.Map<com.xensource.xenapi.VIF,com.xensource.xenapi.Network>,java.util.Map<java.lang.String,java.lang.String>)
> > > location: class com.xensource.xenapi.VM
> > > [ERROR]
> > >
> >
> /root/codebase/cs42/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer610Resource.java:[324,30]
> > > cannot find symbol
> > > symbol  : method
> > >
> >
> migrateSendAsync(com.xensource.xenapi.Connection,java.util.Map<java.lang.String,java.lang.String>,boolean,java.util.Map<com.xensource.xenapi.VDI,
> > > com.xensource.xenapi.SR
> > >
> >
> >,java.util.Map<com.xensource.xenapi.VIF,com.xensource.xenapi.Network>,java.util.Map<java.lang.String,java.lang.String>)
> > > location: class com.xensource.xenapi.VM
> > > [ERROR]
> > >
> >
> /root/codebase/cs42/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer610Resource.java:[409,33]
> > > cannot find symbol
> > > symbol  : method poolMigrateAsync(com.xensource.xenapi.Connection,
> > > com.xensource.xenapi.SR
> > ,java.util.Map<java.lang.String,java.lang.String>)
> > >
> > > 2013-10-08
> > >
> > >
> > >
> > > 陈珂
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message