在Eclipse中使用Ant编译打包,

1、Eclipse安装Ant插件,一般高一点版本的Eclipse基本上都自带有ant了,

2、配置Ant打包,

右键项目>属性>Builders

A、在Buildfile中点击Browse Wordspace选择项目中的ant配置文件build.xml

B、在Base Directory中点击Browse Wordspace选择项目的根目录,

Eclipse Ant编译打包

确定之后,勾选上刚才创建的Builder,把Java Builder去掉

Eclipse Ant编译打包

 

3、运行,

选择项目中的build.xml右键 > Run As > Ant build 即可编译打包等等!

相关文章:

  • 2021-11-01
  • 2021-09-16
  • 2021-06-13
  • 2021-12-15
  • 2021-12-21
  • 2021-05-02
猜你喜欢
  • 2021-09-27
  • 2022-03-07
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2021-06-26
  • 2022-12-23
相关资源
相似解决方案