用过Jenkins的都知道,在Build配置那里有一个Add buld step, 有这样两个选项:
1. Execute Windows batch command
2. Execute shell
第1个是执行windows命令,第2个是执行shell脚本。
一开始我以为不管jenkins安装在windows下还是linux下都可以执行windows命令和linux命令,但是后...
分类:
系统相关 时间:
2014-10-30 19:11:46
阅读次数:
517
在一个函数中不能混合使用try{}catch(CException *e){}与__try{}__except(EXCEPTION_EXECUTE_HANDLER){}编译时报错error C2713: 每个函数只允许一种异常处理方式解决方法:将__try__except代码单独成一个函数void ...
分类:
其他好文 时间:
2014-10-30 16:52:38
阅读次数:
764
1)下面的代码实现ibatis批量保存的功能publicvoidsaveAttachmentOwnerInfo(finalList<AttachmentOwnerDTO>p_w_uploadOwnerList,finalStringidAttachmentOwner,finalStringapplyPolicyNo){try{this._execute(newSqlMapClientCallback(){publicObjectdoInSqlMapClient(Sql..
分类:
其他好文 时间:
2014-10-30 15:32:22
阅读次数:
256
Functions
transition.newEasing(action, easingName, more)
为图像创造效果
transition.execute(target, action, args)
执行一个动作效果
transition.rotateTo(target, args)
将显示对象旋转到指...
分类:
其他好文 时间:
2014-10-30 15:24:28
阅读次数:
298
bind的作用和apply,call类似都是改变函数的execute context,也就是runtime时this关键字的指向。但是使用方法略有不同。一个函数进行bind后可稍后执行。定义:function.bind(thisArg[,arg1[,arg2[,argN]]])返回值 依然是func...
分类:
编程语言 时间:
2014-10-29 18:56:59
阅读次数:
144
访问或添加request/session/application1 通过ActionContext//这样放置public String execute(){ActionContext ctx = ActionContext.getContext();ctx.getApplication().put...
分类:
移动开发 时间:
2014-10-29 16:49:59
阅读次数:
212
相关类Executor,Executors,AbstractExecutorService,ExecutorService
Executor:整个线程池执行者宽肩的顶层接口。定义了一个execute方法,整个线程执行者框架的核心方法。
public interface Executor {
void execute(Runnable command);
}
ExecutorServ...
分类:
编程语言 时间:
2014-10-29 12:59:56
阅读次数:
147
1、使用JdbcTemplate的execute()方法执行SQL语句Java代码 jdbcTemplate.execute("CREATETABLEUSER(user_idinteger,namevarchar(100))");2、如果是UPDATE或INSERT,可以用update()方法...
分类:
数据库 时间:
2014-10-29 12:28:03
阅读次数:
227
来自:http://zhumeng8337797.blog.163.com/blog/static/100768914201242494649455/步骤如下:1.编辑tomcat/bin/catalina.shBash代码vicatalina.sh在其中“# ----- Execute The R...
分类:
系统相关 时间:
2014-10-29 12:24:52
阅读次数:
345
方法一:Eclipse->Project->去掉Build Automatically->Clear ->Build Project->Build Automatically,关闭Eclipse,再打开
方法二:更新ADT插件,删除workspace目录下的.metadata目录
方法三:在你的项目下某个文件夹中有一个后缀为*.APK的文件,删掉,重启Eclipse即可。
方法四:原因是...
分类:
其他好文 时间:
2014-10-28 21:52:20
阅读次数:
226