Monthly Archives: July 2009

print diff result

find src|awk ‘{print “diff “$0″ bak/” $0 “>diff/”$0}’|less

Posted in linux | 1 Comment

how to build .properties

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 if (null == transactionCodeConfig) { transactionCodeConfig = new Properties(); transactionCodeConfig.load(Obj2XMLBuilderXSD.class .getResourceAsStream("/config/transactionCodeConfig.properties")); xsdMap = new HashMap(); for (Iterator iterator = transactionCodeConfig.entrySet().iterator(); … Continue reading

Posted in java | Leave a comment