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

Reply via email to