Batch file to Run Java application
I am running by application in Eclipse as:
Run As->Externat Tool -> (Argument as -Dxml=../XMLConfig/TestCase.xml)->Run.
I have to run this application through windows batch file. In my batch file i am writing
java -classpath %DISCQ_CLASSPATH% -DLOG4J_CONFIG_FILE=%DISCQ_HOME%/config/test/CADQA/XMLConfig/TestCase.xml com.lb.cad.qa.test.TestDispatcher In java code i am extracting the TestCase.xml value as System.getProperty(),but with this batch file i am not able to get the value.
Could any one please help me in this issue.