Re: [OJB-developers] CodeSwitcher
Brought to you by:
thma
From: Thomas M. <tho...@ho...> - 2002-04-02 19:53:04
|
Hi John, its important that the compiler switch is placed on the first column of the line like here: //#ifdef DEBUG Any indented switches like //#ifdef DEBUG are not detected. I recommend to simply ignore the DEBUG switch it won't be too useful. I hope eliminate this switch soon. HTH, Thomas John Freeborg wrote: > Can anyone else get this to work? > > I can't seem to get it to change anything in the src files. I've > changed the build.xml file for +DEBUG and -DEBUG and ran it, see lots of > ............... that the CodeSwitcher is printing out, but nothing ever > changes in the .java files. I'm specifically looking at > src/ojb/broker/accesslayer/JdbcAccess.java on the #ifdef DEBUG around > the logging calls. Doesn't it comment the stuff between //#ifdef DEBUG > out or in based on this? > > I've made sure the files are read/write also. > > - John > > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > > > > |