Preprocessing should happen before you compile the code.
tzur Sayag wrote: > Hi Guys, > > I finally got to doing this, I generated the Build.xml file and wish > to add the preprocessing task to it, > I created the target and assign the right symbols to it, running the > task even works and > places my preprocessed files in output\src > now the issue is when to call this target, I'm not sure I fully > understand the way > the current eclipseME build works, > I'm running the deployedSuite target and it seems to go through some > many steps of initilizing the environment, compiling, copying the > source to some tmp directory etc, > if anyone can hint on where the preprocessing phase should go, I would > assume its basically the first step, but when I place it as a first > step on which the deployedSuite depends, it runs but then I think > everything gets deleted and compiled again but not from the > preprocessor output but from the original src folder, so the > preprocessing phase is basically not taken into account, > can anyone hint on where its best to put the target in the build.xml > file? (yes I know its not a file I should be editing but what can I do > if the preprocessing phase is not there?), > > > thanx again for any time saving tip, > --tzurs > > On Nov 4, 2007 9:04 PM, tzur Sayag <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > mucho gracias or the tips! > I had no direction, thought the synbol set is a j2me feature, > now clear, cheers! > --t > > > On 11/4/07, *Markus Sinner* < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Yes, that is possible. I do it with shell-scripts like these: > > ant -Dsymbols=RELEASE,NETWORK > > And you can specify a device in a wtk-task. Parameter "device" > allows > you to choose a device, like "Generic/midp2". Then you can use > preprocessor-directives like #if JavaPlatform=="MIDP/2.0". > See http://antenna.sourceforge.net/wtkpreprocess.php > > Markus > > tzur Sayag schrieb: > > Hi guys, > > > > is there any way to build multiple versions (each using a > differnet > > symbol set, say : "Nokia", "Sony" etc) > > using antenna? > > is it possible to change the symbol set (I can't find where the > > project symbol set is defined) via some > > wtk task? > > any help, as usual, much appreciated, > > --tzurs > > > > ------------------------------------------------------------------------ > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and > a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Eclipseme-users mailing list > > [email protected] > <mailto:[email protected]> > > https://lists.sourceforge.net/lists/listinfo/eclipseme-users > <https://lists.sourceforge.net/lists/listinfo/eclipseme-users> > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Eclipseme-users mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/eclipseme-users > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Eclipseme-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/eclipseme-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Eclipseme-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/eclipseme-users
