In C#, we have 2 modes to build projects : Debug
and Release
, I wonder if Java has the same thing. I am using IntelliJ IDEA as Java IDE and so far
You're asking for different kinds of builds to compile in different things I guess. For example to have Debug.WriteLine and Console.WriteLine.
"No, Java doesn't have an exact match for that functionality. You could use aspects, or use an IOC container to inject different implementation classes." stole this from the following question: Conditional Java compilation
(there're other nice answers for you there)