how to use ant in eclipse for preprocessing

倖福魔咒の 提交于 2019-12-14 04:06:26

问题


I need to know how to use an an Ant tool for preprocessing in Blackberry. 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. I need to know how we can use Ant tool in Eclipse?

Any sites or example will do.

I referred this site.


回答1:


http://www.blackberryforums.com/developer-forum/138210-setup-up-eclipse-blackberry-development.html

and

http://bb-ant-tools.sourceforge.net/docs

This both links will be very helpful to you as a use Ant tool in blackberry eclipse.




回答2:


Eclipse has a versioning preprocessor plugin. It's like a preprocessor who's only commands are #define and #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. I wanted it for an android project, maybe for similar reasons to why you would want it for 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:

https://stackoverflow.com/a/10497206/1137626



来源:https://stackoverflow.com/questions/10442995/how-to-use-ant-in-eclipse-for-preprocessing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!