[英]how to use ant in eclipse for preprocessing
I need to know how to use an an Ant tool for preprocessing in Blackberry. 我需要知道如何在Blackberry中使用Ant工具进行预处理。 I have a project which needs to be used in 4.6 and 5.0 versions of Blackberry, since JDE4.6 doesn't support preprocessor.
我有一个项目需要在BlackBerry的4.6和5.0版本中使用,因为JDE4.6不支持预处理器。 I need to know how we can use Ant tool in Eclipse?
我需要知道如何在Eclipse中使用Ant工具吗?
Any sites or example will do. 任何站点或示例都可以。
http://www.blackberryforums.com/developer-forum/138210-setup-up-eclipse-blackberry-development.html http://www.blackberryforums.com/developer-forum/138210-setup-up-eclipse-blackberry-development.html
and 和
http://bb-ant-tools.sourceforge.net/docs http://bb-ant-tools.sourceforge.net/docs
This both links will be very helpful to you as a use Ant tool in blackberry eclipse. 这两个链接作为黑莓Eclipse中的使用Ant工具将对您非常有帮助。
Eclipse has a versioning preprocessor plugin. Eclipse有一个版本控制预处理器插件。 It's like a preprocessor who's only commands are #define and #ifdef
就像预处理器一样,仅有的命令是#define和#ifdef
However I wanted something more myself. 但是我自己想要更多。 I don't know how to use Ant, but I did just manage to get the C preprocessor working in Eclipse on windows for java, using the non-Ant Builders and some glue in Ruby.
我不知道如何使用Ant,但是我确实设法使用非Ant生成器和Ruby中的一些胶粘剂在Windows上的Java窗口中的Eclipse中运行C预处理器。 I wanted it for an android project, maybe for similar reasons to why you would want it for Blackberry.
我希望将其用于android项目,也许是出于与您为何希望将其用于Blackberry的类似原因。
Since I was looking for an answer on Stackoverflow before I rolled my own and didn't find one, I'm copying my post into a few questions like this one: 由于我在滚动自己的书并没有找到它之前一直在寻找关于Stackoverflow的答案,因此我将自己的帖子复制到以下几个问题中:
https://stackoverflow.com/a/10497206/1137626 https://stackoverflow.com/a/10497206/1137626
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.