I am trying to run test cases with some system aruguments given below.
Arguments is not considering for build.xml through eclipse.

Steps followed are given below.

1) by command prompt

ant5 junit -DappRoot=ECM -DappName=ESW -Dapp.module=FNT -Dapp.env=LOC
-DcloneNumber=1


2) by Eclipse:
Eclipse->myproject->right click on build.xml->Arguments->VM Arguments
-DappRoot=ECM -DappName=ESW -Dapp.module=FNT -Dapp.env=LOC -DcloneNumber=1

But it works fine while running individual java test file through eclipse.
3) Java file through Eclipse:
Eclipse-> right click on test java file->arguments and enter above parameter

How can i solve by running build.xml through eclipse?

error getting is:  Could not resolve placeholder 'appRoot'. This parameter I
have passed through eclipse arguments.


Note: found following point in eclipse main->arguments tab as,
Note:Enclose an argument containing spaces using double quotes. Is there any
changes i need to make for this?

Reply via email to