[Weblogic] how to redeploy from an ant file

  • Includi weblogic.jar nel tuo progetto.
  • Personalizza il seguente target ant:

<target name="Redeploy" depends="create.wars.or.ear.or.jars, send.to.server" description="Redeploys the application after sending an updated version of the application to the server">
<java classname="weblogic.Deployer">
<classpath refid="javac.class.path">
<arg line="-adminurl XX.XX.XX.XX:19000/console -user nomeUtente -password password -name nomeDelTuoServer -redeploy -targets nomeDelTuoCluster">
</arg>
</classpath>
</java>
</target>

Nessun commento: