导出“Ant Buildfiles"的区别和 PDE 工具 ->创建 Ant 构建文件 [英] Difference between Export "Ant Buildfiles" and PDE Tools -> Create Ant Build File
问题描述
我想为我的 XText 插件创建 Ant 构建脚本.我通读了几篇关于创建 Ant 脚本的文章/教程.我遇到了两种自动创建 Ant 脚本的方法:
I want to create the Ant build script for my XText plugin. I read through few articles/tutorial for creating Ant script. I came across 2 ways of creating the Ant script automatically:
- 在插件项目上右键-> 导出-> Ant Buildfiles
- 右键单击 MANIFEST.MF 或 build.properties 或 feature.xml 和 PDE 工具 -> 创建 Ant 构建文件.
谁能告诉我以上两种方式的区别?
Could someone let me the difference between the above 2 ways?
推荐答案
Export...>Ant Buildfiles
将生成一个 build.xml 以将您的项目构建为 Java 项目.PDE 工具 >Create Ant Build File
将创建一个 ant 文件以将您的项目构建为插件项目(使用 PDE 构建).
Export...>Ant Buildfiles
will generate a build.xml to build your project as a java project. PDE Tools > Create Ant Build File
will create an ant file to build your project as a Plug-in Project (using PDE build).
这篇关于导出“Ant Buildfiles"的区别和 PDE 工具 ->创建 Ant 构建文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!