摘要: Error:Some resources were not reverted.Attempted to lock an already-locked dirsvn: Working copy 'C:\Java\workspaces\pro\myProject-TRUNK' lockedDescription:当在Eclipse中修改代码准备提交到SVN服务器的时候,SVN报了错误,无法提交代码。显示的信息表示有个文件已经被锁(lock)住了,SVN不能去锁一个已经被上了锁的文件。Action:有两种办法解决这个问题。一、直接删除掉.svn文件,因为所有被lock的文件都存储在. 阅读全文
posted @ 2014-01-05 20:25 zhenxu.liu 阅读(10174) 评论(0) 推荐(0) 编辑
摘要: 语法:split [-l ][-b ] [-C ] [要切割的目标文件] [输出文件名前缀]说明:-l 指定每多少行就要切成一个小文件,默认值是1000行。-b 指定每多少字节就要切成一个小文件。-b n k == n * 1024 bytes-b n m == n * 1024 * 1024 bytes-C 与-b参数类似,但切割时尽量维持每行的完整性。[输出文件名] 设置切割后文件的前置文件名,split会自动在前置文件名后再加上编号。例子:1 split -l 30000 myfile.txt newfile ####将myfile.txt以每30,000为单位进行分割... 阅读全文
posted @ 2013-10-24 21:50 zhenxu.liu 阅读(504) 评论(0) 推荐(0) 编辑
摘要: There are some short expressions in Perl that allow you to test files, which is handy if you want to check what a file allows before using it, or if it exists at all. We'll look at a few of the common tests in this section.ExistenceTo see if a file exists before using it, we can use:if (-e " 阅读全文
posted @ 2013-10-23 07:29 zhenxu.liu 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 在perl中执行shell脚本命令一般使用system(),传入一个shell命令给system()。如果执行多条shell命令岂不是要执行多个system()? 那么如何通过system()同时执行多条shell命令呢? 通过 ; 或者 && 来合并多条命令,如下: &&的好处可以将后面的ls和c 阅读全文
posted @ 2012-11-29 12:40 zhenxu.liu 阅读(1111) 评论(0) 推荐(0) 编辑
摘要: Requirement: 为了扩展系统的可移植性,将Perl Job扩展支持Linux和Unix两种操作系统,由于操作系统不同,那么所调用的命令自然有所差别,那么该如何区分执行哪种命令呢? Resolution: 利用 $^O 变量来区别不同的操作系统,在不同的操作系统中 $^O 会有不同的值,例如 阅读全文
posted @ 2012-11-19 21:57 zhenxu.liu 阅读(2878) 评论(0) 推荐(1) 编辑
摘要: VI编辑器搜索字符串的时候会在底部出现“Search it Bottom, Continuing at Top” 或 “Search hit Top, Continuing at Bottom” 。 “Search it Bottom, Continuing at Top” 当按“n”键进行向下重复 阅读全文
posted @ 2012-11-19 21:24 zhenxu.liu 阅读(26742) 评论(0) 推荐(1) 编辑
摘要: 原来的公司一直使用免费的notepad++,久而久之也就习惯成自然了,对notepad++有着莫名的好感。突然面对这边的UltraEdit使用起来还真有点不适应,这不就出现了如下问题: 每当对一个文件进行编辑的时候,UltraEdit处于安全考虑,就会自动在相同路径下生成一个以.bak文件为后缀名的 阅读全文
posted @ 2012-11-10 09:10 zhenxu.liu 阅读(3777) 评论(1) 推荐(0) 编辑
摘要: Error: Eclipse Build Path Maven Dependencies 下没有JAR包 Eclipse Maven Update Dependencies 没有反应 Eclipse Maven Enable Nested Modules 选项不见了 Description: 今天新 阅读全文
posted @ 2012-11-08 07:41 zhenxu.liu 阅读(3505) 评论(0) 推荐(0) 编辑
摘要: FTP最重要的功能就是下载和上传文件,在我的实际应用中主要是去PROD环境上下载一些文件到UAT或者INTG进行测试,因为UAT和INTG环境中的数据并非被Release Team实时更新。下面的文章详细的讲解了 Linux/Unix FTP 的命令,属于超级实用,超级实战的好文。File Transfer Protocol (FTP) is a network protocol used to copy a file from one computer to another over the Internet or LAN. FTP follows a client-server archi 阅读全文
posted @ 2012-11-06 21:30 zhenxu.liu 阅读(11701) 评论(2) 推荐(0) 编辑
摘要: Error: java.net.ProtocolException: EOF after reading only: '0' of: '151' promised bytes, out of which at least: '0' were already buffered Description: 阅读全文
posted @ 2012-11-05 07:43 zhenxu.liu 阅读(7092) 评论(0) 推荐(0) 编辑
摘要: Error: java.net.SocketTimeoutException: Read time out weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request: '<Your Error URL 阅读全文
posted @ 2012-11-05 07:39 zhenxu.liu 阅读(5061) 评论(0) 推荐(0) 编辑
摘要: Weblogic中的项目重新编译、部署之后并不起作用,仍然运行原来的程序。这可能是 Weblogic缓存在作怪,需要手动删除。 Weblogic 8 SP6 的缓存位置: %BEA HOME%\user_projects\domains\<Your Domain>\<Your Server>\.wl 阅读全文
posted @ 2012-11-05 07:36 zhenxu.liu 阅读(608) 评论(0) 推荐(0) 编辑
摘要: Requirement: Change the text box text color to grey as well. Description: Workshop 应用的 JSP 页面使用的是 netui 标签,客户要求修改 text color,text box 中输入的内容默认是黑色的,现在要 阅读全文
posted @ 2012-11-05 07:33 zhenxu.liu 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 1. 登录Weblogic Console,选择左侧的目标Server,右键,然后选择View JNDI Tree 2. 登录Weblogic Console,在左侧导航栏中选择目标Server,接着会出现很多选项,唯独没有JNDI Tree,如下图: 真正的玄机在页面的底部,JNDI Tree的连 阅读全文
posted @ 2012-11-05 07:30 zhenxu.liu 阅读(1329) 评论(0) 推荐(0) 编辑
摘要: WorkShop默认的最大内存分配为256M,对于很多项目都需要修改这个最大内存,那么该如何修改workshop的最大内存分配呢? 找到workshop的安装路径,例如:D:\bea\weblogic81\workshop 找到和workshop.exe可执行文件并列的workshop.cfg文件, 阅读全文
posted @ 2012-11-05 07:26 zhenxu.liu 阅读(457) 评论(0) 推荐(0) 编辑