使用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

 

相关文章:

  • 2021-10-28
  • 2021-09-06
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2021-04-11
  • 2021-12-15
  • 2021-12-04
猜你喜欢
  • 2022-12-23
  • 2021-06-14
  • 2021-12-21
  • 2021-05-18
  • 2022-12-23
  • 2021-08-22
  • 2021-10-25
相关资源
相似解决方案