Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <target name="undeploy" description="Deploys the EAR">
- <echo message="${app.name} sucessfully deployed to ${server.deploy.dir}"/>
- <exec dir="./" executable="cmd.exe" output="dir.txt">
- <arg line="/c asadmin undeploy --user=admin --passwordfile=glassfish_admin_pass.txt ear"/>
- </exec>
- </target>
- <target name="deploy" description="Deploys the EAR">
- <echo message="${app.name} sucessfully deployed to ${server.deploy.dir}"/>
- <exec dir="./" executable="cmd.exe" output="dir.txt">
- <arg line="/c asadmin deploy --user=admin --passwordfile=glassfish_admin_pass.txt build/distribution/ear.ear"/>
- </exec>
- </target>
- <target name="redeploy" description="Deploys the EAR">
- <echo message="${app.name} sucessfully deployed to ${server.deploy.dir}"/>
- <exec dir="./" executable="cmd.exe" output="dir.txt">
- <arg line="/c asadmin redeploy --user=admin --name=ear --passwordfile=glassfish_admin_pass.txt build/distribution/ear.ear"/>
- </exec>
- </target>
- я так деплоил
- в текстовом файле с паролем стоит пароль AS_ADMIN_PASSWORD=3333
Add Comment
Please, Sign In to add comment