title: How to do fast deployment of multiple module EAR project using weblogic 12c?
body: <p>We are developing product that has multiple components using eclipse which are imported to eclipse from Local Git Repository   and we are generating EAR file using ant script build.xml(which calls ant command each component build.xml) and after 1000's of lines of ant script EAR is creating.<br>
  But i am working in one component but the after each edit of .java file   </p>
  
  <ol>
  <li><p>Need to Stop webLogic server(Not more time)</p></li>
  <li><p>Need to go to repository folder</p></li>
  <li><p>Need to Run ant command on build.xml which is in top-repository
  folder(15mins)</p></li>
  <li><p>Need to start webLogic Server(8++min)</p></li>
  </ol>
  
  <p>And here EAR file Location is fixed every time we run the ant because of all the above lot of my work not moving.Is there any way to do immediate deployment after each edit ??</p>
  
  <p>Hi we have came with ant script that redeploys the *.ear but via ant script it is taking 14 min what i meant is running ant script is slower than redeploying manually here is 
  Is there any alternative to do redeploying faster ?</p>
  
  <pre><code>&lt;project name="webservices-hello_world" default="deploy"&gt;
  &lt;property name="wls.username" value="weblogic" /&gt;
  &lt;property name="wls.password" value="Prima123Vera" /&gt;
  &lt;property name="wls.hostname" value="localhost" /&gt;
  &lt;property name="wls.port" value="7001" /&gt;
  &lt;property name="admin.server.name" value="AdminServer" /&gt;
  &lt;!-- &lt;property name="deploy.target" value="ClusterNameABC" /&gt; --&gt;
  &lt;property name="deploy.target" value="AdminServer" /&gt;
  &lt;!-- Here you can specify Either ClusterName, IndividualServerName Like "ManagedOne" or comma Seperated List of Managed/AdminServer --&gt;
  &lt;property name="deploy.name" value="primavera" /&gt;
  &lt;property name="deploy.source" value="D:/work/rm/pgbu_platform-2.0/snapshots/primavera.ear" /&gt;
  
  &lt;!-- Setting TaskDefinition --&gt;
  &lt;taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy"&gt;
  &lt;classpath&gt;
  &lt;pathelement location="C:/Oracle/Middleware/Oracle_Home/wlserver/server/lib/weblogic.jar"/&gt;
  &lt;/classpath&gt;
  &lt;/taskdef&gt;
  
  &lt;!-- Deploying Applications  --&gt;
  &lt;target name="deploy"&gt;
  &lt;wldeploy action="deploy"
            name="${deploy.name}"
            source="${deploy.source}"
            user="${wls.username}"
            nostage="true"
            password="${wls.password}"
            verbose="true"
            adminurl="t3://${wls.hostname}:${wls.port}" targets="${deploy.target}" /&gt;
  &lt;/target&gt;
  
  &lt;!-- Redeploying Applications  --&gt;
  &lt;target name="redeploy"&gt;
  &lt;wldeploy action="redeploy"
            name="${deploy.name}"
            user="${wls.username}"
            password="${wls.password}"
            verbose="true"
            adminurl="t3://${wls.hostname}:${wls.port}" targets="${deploy.target}" /&gt;
  &lt;/target&gt;
  
  &lt;!-- Uneploying Applications  --&gt;
  &lt;target name="undeploy"&gt;
  &lt;wldeploy action="undeploy"
            name="${deploy.name}"
            failonerror="false"
            user="${wls.username}"
            password="${wls.password}"
            verbose="true"
            adminurl="t3://${wls.hostname}:${wls.port}" targets="${deploy.target}" /&gt;
  &lt;/target&gt;
  &lt;/project&gt;
  </code></pre>