As I've mentioned to you in private mail, you're example is way too
convoluted to make much sense out of it. Please try and simplify it down to
a barebones test case that gets a property from System.getProperty and uses
that as a filename. Create a contrived example that will eliminate all your
domain specific property names and post what you have back for us if you
still have issues.
Typically the act of creating a contrived working example will shed light on
the actual problem though.
More comments below....
> <sysproperty key="mdb.properties.file1"
> value="mdb.properties.file1.properties"/>
Ok, so you've got this set and being fed into JUnit...
> i have a file mdb.properties.file1.properties that has teh following line:
> minitest QUESTIONFILE_minimetanet questionfile 1
Ok, again we're getting convoluted here... simplify!
> here is the output:
> which are parameters that i pass in for my unit test.
> [junit] Running cp_test.system.TestSubmitQueryMThread
> [junit] Executing:
> p:\thirdparty\win32\runnable\jdk\13\jre\..\bin\java.exe -
>
Dmdb.properties.file=mdb.testsubmitqueryMthread.properties -Dmdb.properties.
> file
> 1=mdb.properties.file1.properties
Ok, you can clearly see that your property is being sent into Ant's
JUnitTestRunner.
> [junit] TEST cp_test.system.TestSubmitQueryMThread FAILED
So the failure is in your test case from what your output is showing.
Without seeing those details (and we don't need to see them if you create a
trivial example showing the problem) we can't tell why its failing.
> BUILD SUCCESSFUL
And *never ever* let a build finish successfully if tests failed!!!!! :))
Erik
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>