本文介绍了在黑莓preprocessor(通过BB-ANT-工具)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有是具有#preprocess 指令的项目。即有一个文件,如 #IFDEF BlackBerrySDK6.0.0 东西年初#preprocess 指令内文件中。

There is a project that has #preprocess directives. I.e. there is #preprocess directive in the beginning of a file and something like #ifdef BlackBerrySDK6.0.0 inside the file.

虽然它在Eclipse编译好,在使用BB-Ant的工具的问题。它的行为就好像没有preprocessing:上不应包含字符串编译错误

Though it compiles well in eclipse, there are problems using bb-ant-tools. It behaves as though there is no preprocessing: compile errors on strings that should not be included.

我有build.properties文件;属性文件=build.properties> 和< JDP文件=build.properties> &LT包括code>。我有 BlackBerrySDK5.0.0 = TRUE 在里面。

I have build.properties file; it is included through <property file="build.properties"> AND <jdp file="build.properties">. I have BlackBerrySDK5.0.0=true in it.

推荐答案

实现它自己。我应该声称定义=布拉布拉在任务属性:&LT; RAPC输出=富DESTDIR =bar的定义=布拉布拉&GT;

Realized it myself. I should claim defines="blabla" in properties of task: <rapc output="foo" destdir="bar" defines="blabla">

这篇关于在黑莓preprocessor(通过BB-ANT-工具)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 00:53