S
Shelves
I'm a newbie...
I'm using JDeveloper to build a desktop app, as a jar file. I want to
make 2 deployment profiles, one for Development and one for
Production. I would like it to set a constant somewhere that equals 1
for production and 0 for dev... In C++ I could set it up to include
different .h header files. How can I do that in Java? Or, what's a
best-practice for injecting different values into prod vs. dev code,
and having that set in the deployment profile so I can easily deploy
one or the other?
Thanks.
Shelves
I'm using JDeveloper to build a desktop app, as a jar file. I want to
make 2 deployment profiles, one for Development and one for
Production. I would like it to set a constant somewhere that equals 1
for production and 0 for dev... In C++ I could set it up to include
different .h header files. How can I do that in Java? Or, what's a
best-practice for injecting different values into prod vs. dev code,
and having that set in the deployment profile so I can easily deploy
one or the other?
Thanks.
Shelves