加入收藏 | 设为首页 | Life家族 | SCMLife | RMLife | PMLife | SQALife | TESTLife | 企业VIP专区 | 中文化荣誉殿堂
 
发新话题
打印

[求助] web.xml文件CheckIn时报错( 此文章被查看:1151次,被回复:6篇!! )

web.xml文件CheckIn时报错

求救啊,有问题请教各位高手!!!!!!!!

多个开发人员同时对文件web.xml文件进行操作,并且CheckOut时选择的都是Unreserved的状态.与此同时与web.xml文件相关的ibm-web-bnd.xmi和ibm-web-ext.xmi也都是Unreserved的状态,
但是我在CheckIn的时候报个错误.

Error checking in 'M:\CNASComp_pro_Dev_wangll_view\caitDataVOB\CNASComp\CNAS_Code\cnas\WebContent\WEB-INF\web.xml'. Type manager "_xml2" failed create_version operation.
Unable to check in "M:\CNASComp_pro_Dev_wangll_view\caitDataVOB\CNASComp\CNAS_Code\cnas\WebContent\WEB-INF\web.xml".

提示不能检入.

劳烦各位高手给个解决的办法,谢谢了.




© 本文为 ylblue0213SCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员
永不放弃!!!

TOP

web.xml文件CheckIn时报错

我在IBMRational的网站上搜到了这些东西,但是我英文很烂看不明白,不知道到底该怎么解决,劳烦各位了


Problem
This technote explains why IBM® Rational® ClearCase® checkin of html or xml files fail with failed create_version operation along with how the "_xml2", "_html2", and "_rose2" type managers are implemented as of the 2002.05.00 release.  
  
Cause
The predefined "xml", "html", and "rose" element types (and the corresponding "_xml", "_html", and "_rose" type managers) introduced in ClearCase 4.x do not support files with lines longer than 8000 characters. Also, the "xml" element type does not support XML documents in UTF-16 format.
Attempts to checkin (or add to source) an html or xml file where a single line of code is greater than 8000 bytes long, yields the following error:

"Error adding the file (foo.html) to source control.
text_file_delta: Error: "foo.html" is not a 'text file': it contains a '\000'.
This object's type does not support check-in of binary data.
Use a different type manager (such as compressed file).

Type manager "_html" failed create_version operation.
Unable to check in "foo.html".

  
Solution
ClearCase 2002.05.00 introduced three new type managers -- "_xml2", "_html2", and "_rose2" -- that do not have these limitations.
Keep in mind that upgrading ClearCase from 4.x does not change the type managers associated with the existing element types in your VOBs, for doing so would result in certain cross-rev compatibility problems.

Also, upgrading ClearCase from 4.x does not introduce any new predefined element types that use these new type managers.

The new type managers can be used by creating element types that use the new type managers. To do so, issue any or all of the following commands:

cleartool mkeltype -supertype xml -manager _xml2 myxml
cleartool mkeltype -supertype html -manager _html2 myhtml
cleartool mkeltype -supertype rose -manager _rose2 myrose

If Administrative VOBs are used, use the "-global" switch on these commands.

cleartool mkeltype -global -supertype xml -manager _xml2 myxml


If the ClearCase GUI is used, the "override type manager" option in the Element Type Properties dialog will emulate the -manager option on the 'mkeltype' cleartool command.




Note: Using element type names such as "xml2", "html2", or "rose2" is not recommended since it is likely that these names will conflict with predefined element type names in a future release of ClearCase.





--------------------------------------------------------------------------------

NEW ELEMENTS:
To create new elements of the new types, the type name will need to be specified explicitly:

cleartool mkelem -eltype myxml <path name>

See the documentation for "default.magic" in the ClearCase Reference Manual for other options.



--------------------------------------------------------------------------------

EXISTING ELEMENTS:
The element type of existing elements can be modified with a command line:

cleartool chtype myxml <path name>



© 本文为 ylblue0213SCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员
永不放弃!!!

TOP

回复 #2 ylblue0213 的帖子

Error : Type manager " text_file_delta " failed create_version
先提交文件,然后执行命令转换文件类型。再checkin
chtype -force binary_delta_file  文件名



© 本文为 wuqing1185SCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员

TOP

web.xml文件CheckIn时报错

我看了一下服务器上element types有_xml2的文件类型啊

© 本文为 ylblue0213 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员
永不放弃!!!

TOP

_xml2      Same as the _xml manager, except that _xml2 is based on the binary_delta manager.         

我也遇到过这样的问题
好好检测下你的修改,重新保存一下
如果还是不行,就该文件类型吧

© 本文为 among 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员
Where are we ?

TOP

web.xml文件CheckIn时报错

wuqing1185


http://bbs.scmlife.com/thread-2783-1-1.html
回复 #2 ylblue0213 的帖子


Error : Type manager " text_file_delta " failed create_version
先提交文件,然后执行命令转换文件类型。再checkin
chtype -force binary_delta_file  文件名

如果在客户端的话,每次也要执行这样的命令才可以吗??

© 本文为 ylblue0213 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员
永不放弃!!!

TOP

web.xml文件CheckIn时报错

_xml2      Same as the _xml manager, except that _xml2 is based on the binary_delta manager.         

我也遇到过这样的问题
好好检测下你的修改,重新保存一下
如果还是不行,就该文件类型吧


我是在RAD工具中进行开发,多个人同时操作这一个文件,但是有的人就可以修改后顺利CheckIn,为什么有的就不行呢

© 本文为 ylblue0213 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员
永不放弃!!!

TOP

发新话题