>From the Eclipse help:

Symbol definition sets are most useful for controlling definitions without 
the need to alter source code. For example, symbol definition sets can be 
used to remove debugging information to create a production build. Start by 
defining a "Debug" symbol definition set in which the symbol "DEBUG" has 
been defined. Wrap the debugging code in your project with "#ifdef DEBUG" 
directives. When building a production version of the code, use a different 
symbol definition set that does not have DEBUG defined and the debugging 
code will be removed.

...Would be great, if it would work as described ...:(
----- Original Message ----- 
From: "Omry Yadan" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, February 25, 2008 11:16 PM
Subject: Re: [Eclipseme-users] Eclipse 3.3: Does //#ifdef really work?


> Did you activate the plugin? (right click on the project, click on
> Antenna preprocessor).
>
>
> neil young wrote:
>
>> 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...
>>
>
>
> -------------------------------------------------------------------------
> 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