For the integrated EclipseME plugin, you should look to see if you are
getting a "processed" folder in your project. That is where the
preprocessing results go. In addition, consider turning on the builder
logging in EclipseME. http://eclipseme.org/docs/buildingRef.html
I can't help with Omry's plugin.
> OK. Antenna is dropped.
>
> Preprocessing does still not work for me. Not from the environment
> (Definition Set) nor from the file itself.
>
> I just added this line:
>
> //#undefine TRACE
>
> right followed by
>
> //#ifdef TRACE
> System.err.println("Test")
> //#endif
>
> and - the System.err line is compiled...
>
> Regards
>
>
> ----- Original Message -----
> From: "Omry Yadan" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Monday, February 25, 2008 11:04 PM
> Subject: Re: [Eclipseme-users] Eclipse 3.3: Does //#ifdef really work?
>
>
>> It is possible, but it's not the correct mailing list for that
>> discussion.
>>
>> ask your question about the Antenna plugin in the Antenna mailing list.
>>
>>
>> neil young wrote:
>>
>>> Yes, I've found that. But that seems to be not that, what I wanted to
>>> achieve: I have two project devices: S60Emulator and S60Device.
>>> Whenever
>>> I
>>> build for S60Emulator, my defines should be different from the
>>> S60Device
>>> defines. E.g. I just want to trace, if I'm in the emulator, not on the
>>> device.
>>>
>>> >From what I've seen from the antenna setup, it's not possible to make
>>> a
>>> different define, based upon the device choice (?!)
>>>
>>> Regards
>>>
>>>
>>> ----- Original Message -----
>>> From: "Omry Yadan" <[EMAIL PROTECTED]>
>>> To: <[email protected]>
>>> Sent: Monday, February 25, 2008 10:56 PM
>>> Subject: Re: [Eclipseme-users] Eclipse 3.3: Does //#ifdef really work?
>>>
>>>
>>>
>>>> The Antenna plugin does not work with EclipseME definitions sets.
>>>>
>>>> You need to enter your symbols at the properties page. (see the screen
>>>> shots).
>>>>
>>>>
>>>> neil young wrote:
>>>>
>>>>
>>>>> Hmm... With the antenna plugin my code looks like this now:
>>>>>
>>>>> //#ifdef TRACE
>>>>> //@ System.err.println("Test")
>>>>> //#endif
>>>>>
>>>>> This doesn't change, if I choose another Definition Set...
>>>>>
>>>>> Strange
>>>>>
>>>>>
>>>>> ----- Original Message -----
>>>>> From: "Omry Yadan" <[EMAIL PROTECTED]>
>>>>> To: <[email protected]>
>>>>> Sent: Monday, February 25, 2008 10:45 PM
>>>>> Subject: Re: [Eclipseme-users] Eclipse 3.3: Does //#ifdef really
>>>>> work?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> Hi Neil,
>>>>>>
>>>>>> http://antenna.sourceforge.net/wtkpreprocess.php
>>>>>>
>>>>>> Scroll down to the plugin section.
>>>>>>
>>>>>>
>>>>>> neil young wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Hi Omry,
>>>>>>>
>>>>>>> can you give me some details on that?
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> ----- Original Message -----
>>>>>>> From: "Omry Yadan" <[EMAIL PROTECTED]>
>>>>>>> To: <[email protected]>
>>>>>>> Sent: Monday, February 25, 2008 10:39 PM
>>>>>>> Subject: Re: [Eclipseme-users] Eclipse 3.3: Does //#ifdef really
>>>>>>> work?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> You can try the antenna preprocessor plugin.
>>>>>>>>
>>>>>>>> it uses the same preprocessing engine, but you see the changes to
>>>>>>>> the
>>>>>>>> code while you work.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> neil young wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Hi group,
>>>>>>>>>
>>>>>>>>> - Eclipse 3.3
>>>>>>>>> - Menu Window/Preferences/J2ME/Symbol Set Definition
>>>>>>>>> - Defined Definition Sets RELEASE (Symbol TRACE not defined) and
>>>>>>>>> DEBUG
>>>>>>>>> (Symbol TRACE defined to "true")
>>>>>>>>> - Menu Project/Properties/J2ME, Device "S60Emulator", Symbol
>>>>>>>>> Definitions
>>>>>>>>> RELEASE and DEBUG available.
>>>>>>>>>
>>>>>>>>> Regardles of what Symbol Definition Set is chosen the breakpoint
>>>>>>>>> at
>>>>>>>>> System.err.println("Test") is hit every time.
>>>>>>>>>
>>>>>>>>> //#ifdef TRACE
>>>>>>>>> System.err.println("Test")
>>>>>>>>> //#endif
>>>>>>>>>
>>>>>>>>> I would expect, that the code is NOT there if RELEASE is chosen.
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -------------------------------------------------------------------------
>>>>>>>>> This SF.net email is sponsored by: Microsoft
>>>>>>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>>>>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>>>>>>> _______________________________________________
>>>>>>>>> Eclipseme-users mailing list
>>>>>>>>> [email protected]
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> -------------------------------------------------------------------------
>>>>>>>> This SF.net email is sponsored by: Microsoft
>>>>>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>>>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>>>>>> _______________________________________________
>>>>>>>> Eclipseme-users mailing list
>>>>>>>> [email protected]
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> -------------------------------------------------------------------------
>>>>>>> This SF.net email is sponsored by: Microsoft
>>>>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>>>>> _______________________________________________
>>>>>>> Eclipseme-users mailing list
>>>>>>> [email protected]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> -------------------------------------------------------------------------
>>>>>> This SF.net email is sponsored by: Microsoft
>>>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>>>> _______________________________________________
>>>>>> Eclipseme-users mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>>>>>>
>>>>>>
>>>>>>
>>>>> -------------------------------------------------------------------------
>>>>> This SF.net email is sponsored by: Microsoft
>>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>>> _______________________________________________
>>>>> Eclipseme-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>>>>>
>>>>>
>>>> -------------------------------------------------------------------------
>>>> This SF.net email is sponsored by: Microsoft
>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>> _______________________________________________
>>>> Eclipseme-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>>>>
>>>>
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Microsoft
>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>> _______________________________________________
>>> Eclipseme-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Eclipseme-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Eclipseme-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users