问题
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:
- On plug-in project Right click -> Export -> Ant Buildfiles
- Right click on the MANIFEST.MF or build.properties or feature.xml and PDE Tools -> Create Ant Build File.
Could someone let me the difference between the above 2 ways?
回答1:
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).
来源:https://stackoverflow.com/questions/8306656/difference-between-export-ant-buildfiles-and-pde-tools-create-ant-build-fil