上一页 1 2 3 4 5 6 7 8 ··· 20 下一页
摘要: def props = new Properties()new File("foo.properties").withInputStream { s -> props.load(s) }println props 阅读全文
posted @ 2015-01-25 13:52 卜海清 阅读(254) 评论(0) 推荐(0)
摘要: 关于shell中的for循环用法很多,一直想总结一下,今天网上看到上一篇关于for循环用法的总结,感觉很全面,所以就转过来研究研究,嘿嘿…1、 for((i=1;i<=10;i++));do echo $(expr $i \* 4);done2、在shell中常用的是 for i in $(seq ... 阅读全文
posted @ 2015-01-25 10:59 卜海清 阅读(186) 评论(0) 推荐(0)
摘要: http://mrhaki.blogspot.com/2014/12/gradle-goodness-continue-build-even.html介绍了不少使用Groovy编写脚本的好例子,可以参考。 阅读全文
posted @ 2014-12-11 15:08 卜海清 阅读(183) 评论(0) 推荐(0)
摘要: Link:http://testautomationnoob.blogspot.com/2012/10/soapui-properties-and-property-related.html 阅读全文
posted @ 2014-12-06 16:54 卜海清 阅读(3487) 评论(0) 推荐(0)
摘要: Link:http://arturoherrero.com/2011/06/04/10-groovy-one-liners-to-impress-your-friends/I find that comparing programming languages is a worthwhile exer... 阅读全文
posted @ 2014-11-08 10:03 卜海清 阅读(230) 评论(0) 推荐(0)
摘要: http://www.ehow.com/how_10054131_use-wget-windows.html 阅读全文
posted @ 2014-09-06 16:52 卜海清 阅读(184) 评论(0) 推荐(0)
摘要: shelljs :https://www.npmjs.org/package/shelljs 要给可以替代Unix下shell脚本的库。require('shelljs/global');if (!which('git')) { echo('Sorry, this script requires git'); exit(1);}// Copy files to release dirmkdir('-p', 'out/Release');cp('-R', 'stuff/*', ' 阅读全文
posted @ 2014-02-25 09:28 卜海清 阅读(8135) 评论(1) 推荐(0)
摘要: 单引号内的内容,ruby会原样输出双引号内的内容,ruby会解析我们看个简单的例子,针对字符串 #{foo}test 我们分别用单引号核双引号操作'#{foo}test'=> "\#{foo}test" "#{foo}test"NameError: undefined local variable ormethod `foo' formain:Objectfrom (irb):4from C:/Ruby192/bin/irb:12:in`'显而易见, 双引号对字符串内的#进行了解析, 导致ruby认为foo是个方法, 阅读全文
posted @ 2014-02-03 14:47 卜海清 阅读(8921) 评论(0) 推荐(2)
摘要: 在Ant里可以使用echoproperties task来达到目的 阅读全文
posted @ 2014-01-18 14:48 卜海清 阅读(154) 评论(0) 推荐(0)
摘要: 大家可能都知道在Ant里可以使用junit和junitreport两个task来完成对测试结果生成HTML格式的报告。Maven里的Surefire-report的插件只能对Java测试报告支持的比较好。现在下面中使用到了JsUnit,Google C++ Test framekwork ,希望也能有HTML格式文档输出Googling了许久,终于发现了是可以的Link: http://stackoverflow.com/questions/2846493/is-there-a-decent-html-junit-report-plugin-for-maven 阅读全文
posted @ 2014-01-11 13:04 卜海清 阅读(405) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 20 下一页