Skip to content

Instantly share code, notes, and snippets.

@wspresto
Created April 20, 2015 18:22
Show Gist options
  • Save wspresto/0b44231c407abdc3b0f8 to your computer and use it in GitHub Desktop.
Save wspresto/0b44231c407abdc3b0f8 to your computer and use it in GitHub Desktop.
<target name="deployToWeblogic" depends="build">
<echo message="Deploying to Weblogic" />
<wldeploy action="undeploy" verbose="true" debug="true" name="${deployment.war.name}"
user="${admin.username}" password="${admin.password}" adminurl="${admin.url}"
targets="${domain.targets}" failonerror="false" />
<wldeploy action="deploy" verbose="true" debug="true" remote="${admin.remote}"
name="${deployment.war.name}" source="${deployment.war.file.path}" user="${admin.username}"
password="${admin.password}" adminurl="${admin.url}" targets="${domain.targets}" upload="true"/>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment