ITeye博客

2012 年文章归档

共 4 篇文章

svn同步错误Transaction is out of date

错误:Transaction is out of date svn: Commit failed (details follow): svn: XXX Out of date 把别的可以提交的文件全部提交 对项目进行更新 会发现有冲突的文件(和文件内容冲突的表现有点不一样,但也很好认) 选中文件夹(或都选中项目也可以,我是文件夹出了这个问题) 右键->team->show Tree conflicts show Tree conflicts 视图中,会出现一条或多条信息(如果有多个文件夹冲突的话) 右键->team->标记和解决 在提交就好了 show Tree conflicts瞒好用的,…

2012-08-01 00:42 · svn

svn同步错误Entry already exists

错误:svn org.tigris.subversion.javahl.ClientException: Entry already exists 删掉那个目录下的.svn文件,commit SVN 本地更新时,由于一些操作中断更新,如磁盘空间不够,用户取消。 可能会造成本地文件被锁定的情况。一般出现这种情况的解决方法: 1、可以使用SVN clean up来清除锁定。 2、如果不是本目录锁定,系统提示上一层目录锁定,需要到上一层或者根目录中清除。 3.如果在根目录下都无法clean的话,一般采取的方法是另外找一个目录重新CHECKOUT。但有时有时SVN目录下可能有一些自己本地修改的文件,…

2012-04-10 11:09 · svn

从服务器路径中读出图片流

response.setContentType("image/gif"); OutputStream outputStream = response.getOutputStream(); InputStream inputStream = new FileInputStream(imageFilePath); try { byte[] buffer = new byte[1024]; int i = -1; while ((i = inputStream.read(buffer)) != -1) { outputStream.write(buffer, 0, i); } outputStre…

2012-01-04 11:46 · java

jiathis的使用

自定义分享 <div id="ckepop"> <a class="jiathis_button_tsina"></a><a class="jiathis_button_tqq"></a> <a class="jiathis_button_fb"></a> <a class="jiathis_button_twitter"></a></div> <script "text/javascript"> var jiathis_config = { url: "http://www.yourdomain.com", title: "自定义网页标题 #微博话题#", summary:"分享的文本摘要…

2012-01-03 15:24