OK, understood :) I would like to use the inbuilt preprocessor, but - hmm, how to make that run? In Netbeans I had a "Refactor" command, which commented or uncommented lines according to the preprocessor directive. That would be of help here. I just want to get rid of some trace functionalities, according to the target device, which is current...
Regards ----- Original Message ----- From: "Craig Setera" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, February 25, 2008 10:58 PM Subject: Re: [Eclipseme-users] Eclipse 3.3: Does //#ifdef really work? > Please understand that Omry's plugin has nothing to do with > EclipseME. He hangs out here and I use his preprocessor runtime, but > they are not related otherwise. You are welcome to use his plugin, > but they are not integrated. > > On Feb 25, 2008, at 3:56 PM, Omry Yadan wrote: > >> 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
