samba的配置可以参考http://fanqiang.chinaunix.net/a1/b1/20011223/08300015.html
我使用是fc3,起的x服务,所可以applications->system setting->server setting->samba
有图形化的工具,把tomcat目录共享出来,然后在ant脚本中加上
[code]
<target name="dist to uat" description="Package the compiled WAR and source files into a tarball.">
<copy todir="${uat.dir}">
<fileset dir="${src.webroot.dir}"/>
</copy>
</target>
[/code]
搞定!这样可以把使用ant来发布我的程序了,我在调试的时候并没有打成war包,而是直接考的文件,这样快一些
我使用是fc3,起的x服务,所可以applications->system setting->server setting->samba
有图形化的工具,把tomcat目录共享出来,然后在ant脚本中加上
[code]
<target name="dist to uat" description="Package the compiled WAR and source files into a tarball.">
<copy todir="${uat.dir}">
<fileset dir="${src.webroot.dir}"/>
</copy>
</target>
[/code]
搞定!这样可以把使用ant来发布我的程序了,我在调试的时候并没有打成war包,而是直接考的文件,这样快一些