Running ant -Dglassfish.home=%AS_HOME% -f deploy.xml recreate.glassfish.domain
Generates the following error.
Execute failed: java.io.IOException: Cannot run program "%AS_HOME%\bin\asadmin.bat": CreateProcess error=2, The system cannot find the file specified
Any Ideas?