Re: [J2me-device-db-general] Define custom properties
Brought to you by:
s_szczygiel,
space2
From: Szasz P. <sp...@sp...> - 2006-11-09 12:30:45
|
I think you can edit the build.xml file and add some extra options for the exporter. For example if you add the option '--set DEBUG=1' then it will be defined in every source file (actually it will be like a property, ie. I think you need to use it as $DEBUG) Jim Walt wrote: > Hi! > > How can I use my own-defined properties? > I want to define "DEBUG" property and use it with preprocessor, but i > cant get where to put it. > > e.g. > Canvas.java > > //#ifdef DEBUG > render_debug(); > //#endif > I want to define it global. Putting "//#define DEBUG" in every source > header is inconvenient. > > > best regards, > Jim > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > J2me-device-db-general mailing list > J2m...@li... > https://lists.sourceforge.net/lists/listinfo/j2me-device-db-general > -- Best regards, Szasz Pal ---------------- Space Software Studio http://www.spacesoftwarestudio.com |