1) I added a new property to my project.properties file called smi.appliance.functest.debugLevel and set it to 0:
i.e. smi.appliance.functest.debugLevel=0
2) I run my junit test using a -D properties modifier flag:
i.e.
smimav -Dsmi.appliance.functest.debugLevel=2 -Dtestcase=com.sendmail.appliance.functest.syscfg.AccountNegFuncTest test:single
3) Now the output in my <testname>.xml file indicates that the value for smi.appliance.functest.debugLevel has been indeed modified to 2:
<property name="smi.appliance.functest.debugLevel" value="2"></property>
4) However my method within the test still thinks it the default "project.properties" value.
String debugLevel = System.getProperty("smi.appliance.functest.debugLevel");
System.out.print("DEBUG: "+debugLevel+"\n"); <----- this will still print 0 and not the 2 "modified" value
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
