that's obvious,
however, the generated build.xml and eclipseme-build.xml
are looking at "src" by default, obviously you don't want to run the
preprocessor on src and write to src (which is source controled read only)
so other than making some real changes in the autogenerated files, which I
can do of course,
I was wondering if I'm missing some simple property that I should set and
"everything" works.
if I have to manually make it work, having many too "gmake" years on my
back, I'm sure I'll get it to work,
again,
*I was wondering if I'm missing some simple property that I should set that
would run the preprocessor at the appropriate time placing its output in the
correct location for the build.*
thanx!
--tzurs

On Nov 10, 2007 12:32 AM, Omry Yadan <[EMAIL PROTECTED]> wrote:

> 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
>
-------------------------------------------------------------------------
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

Reply via email to