Please find steps to
deploy ear file weblogic server from
IDE.
- Changes in build.properties file.
- weblgoic.deployer.uri=t3://localhost:7001
- weblogic.admin.user=weblogic
- weblogic.admin.password=welcome1
- weblogic.server=SWserver
- Changes in build.xml file.
<property environment="env"/> <target name="deploy-weblogic" depends="dist">
<taskdef name="wldeploy"classname="weblogic.ant.taskdefs.management.WLDeploy"><classpath><pathelement location="${env.WL_HOME}\server\lib\weblogic.jar"/></classpath></taskdef><wldeploy action="deploy" verbose="true" debug="true"name="${ear.deployment.name}" source="${deploy.dir}/${ear.file}"user="${weblogic.admin.user}" password="${weblogic.admin.password}"adminurl="${weblgoic.deployer.uri}" targets="${weblogic.server}" />
</target>
No comments:
Post a Comment