I was using the asadmin command : -client to in my ant script the following
way:
<target name="run-client" depends="deploy">
<exec executable="${glassfish.home}/bin/asadmin" failonerror="true"
vmlauncher="false">
<arg line="-client ${client.j2ee}/sampleClient.jar"/>
</exec>
</target>
but on the console it says:
run-client:
[exec] CLI001 Invalid Command, -client. Use "asadmin help" for a list
of va
lid commands.
BUILD SUCCESSFUL
Total time: 13 seconds
Its saying that the -client command is an invalid command. Is there another
command I am to use un place of "-client" or is there something that I am
doing wrong that I seem unaware of. Your help and assistance is greatly
appreciated. Thank you.
- Lanre Oyebanjo