Hi guys,

I am new to coding and I Need little help in deploying ear on glassfish server using ant.
currently i am using following code snippet but getting error as asaamin is not recognized as a command

<target name="deploy">
<exec failonerror="true" executable="cmd">
<arg value="/c"/>
<arg value="asadmin --host=10.0.0.135 --port=4848 --user=admin --passwordfile=password.txt deploy --target=demo-cluster \spare\backup\RAMDEMO.ear"/>
</exec>
<echo>Deployment