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

Reply via email to