`
wyzuomumu
  • 浏览: 104936 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

ant中的tstamp的使用及eclipse的调试问题

ant 
阅读更多

1.ant 中的<tstamp/>标签的使用:
在ant脚本中定义了<tstamp/>对象之后,它便为我们定义了3个属性TODAY,TSTAMP,DSTAMP.

具体用法如下:
<tstamp>
<!-- 每个属性均可设置其样式-->
<format property="TODAY" pattern="yyyy/MM/dd"/>
</tstamp>

使用:<echo message="${TSTAMP}"/>

2.当在使用Eclipse不能正常调试的时候可以使用如下方法:
project-->clean-->build all 然后重新启动项目进行调试.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics