在linux上jaxb 工具的shell命令编写

使用vi编写shell 内容如下

#!/bin/sh
#UpdateCSW.sh
#using jaxb tools to generate  java classes from  xsd
rm -rf com
xjc -p com.geostar.csw.domains UpdateCSW.xsd

编辑完毕以后保存。

给用户执行的权限

chmod u+x UpdateCSW.sh

最后执行shell命令:./UpdateCSW.sh

转载请注明出处:http://www.cnblogs.com/likehua/archive/2011/08/09/2132307.html

 

posted @ 2011-08-09 15:08  李克华  阅读(544)  评论(0编辑  收藏  举报