Error while running the build.xml usint ANT Build in eclipse/junit Error while running the build.xml usint ANT Build in eclipse/junit selenium selenium

Error while running the build.xml usint ANT Build in eclipse/junit


{ECLIPSE_HOME} is a property that ant is looking for and has not been defined. You can either define this property at the top of your build.xml:

<property    name="ECLIPSE_HOME"    location="C:\Program Files\eclipse" />

Or you can add the property to your PATH under Environment Variables

Or if your build.xml references a project.properties or ant.properties file you can add this line:

ECLIPSE_HOME=C:\Program Files\eclipse

Please note "C:\Program Files\eclipse" was just an example, place your real directory path to your Eclipse on your machine.