Category Archives: 软件工程

Perforce: Can’t clobber writable file Perforce

We are using Perforce for version control, I never use it before, and I got my perforce account those days. When I want update form the dept, perforce

More…

Posted in 软件工程 | Tagged , | Leave a comment

(上海)软件著作权登记申请小提示

整理资料时翻出来了, maybe还有用.

Posted in 软件工程 | Tagged | 2 Comments

svn: ‘pre-commit’ hook failed with error output…解决方法

前端时间亲手把服务器弄垮了… 今天恢复了数据库, 然后重装CodeBeamer,  搞定后回到客户端, commit半天, 总是pre-commit出错.
对SVN, 一直只是用用而已, 从来都是不求甚解.
以为是Windows7在作怪, 后来发现根本不是这回事, 是我恢复了代码库之后,

More…

Posted in 软件工程 | Tagged , | Leave a comment

[旧文存档]多维度的IF语句重构

多维度的IF语句重构 – 注释掉的为重构前的代码, 杂乱且可读性极低.

More…

Posted in Java, 软件工程 | Tagged , | Leave a comment

SVN 可以更新( can update)但无法提交(can not commit)的解决方法

描述: SVN 在用户名密码正确的前提下, 可以update, 但commit时会报错"Authorization failed";
解决方法: 检查路径大小写是否有误. Checkout时大小写不敏感 所以在路径有误时仍可update, 但不能commit.

More…

Posted in 软件工程 | Tagged , | Leave a comment