Skip to main content
7 events
when toggle format what by license comment
Jun 7, 2013 at 12:23 vote accept Envin
Jun 6, 2013 at 20:02 answer added Doc Brown timeline score: 2
Jun 6, 2013 at 19:53 comment added Doc Brown I guess you meant "in QA [environment] it is using windows file path ...". And how can your program do "the same" in Prod - are there any "windows file paths" in your Unix environment? And what do you mean by "windows file path"? A hardcoded path in your application? The "path" environment variable? Please edit your question and make it a little bit more precise!
Jun 6, 2013 at 18:39 review Close votes
Jun 7, 2013 at 12:13
Jun 6, 2013 at 18:24 comment added Dan Pichelman It's unfortunate that the code inside any if (EnvironmentIsProd){..} statements are never run before being seen by customers. Is this a case for Dependency Injection?
Jun 6, 2013 at 18:15 comment added Mike I am not a java expert but can't you detect the environment from within the code and simply use an if/then statement?
Jun 6, 2013 at 18:06 history asked Envin CC BY-SA 3.0