Hi,
   
  I have a small ANT script that iam using to remote deploy my weblogic 
applications.  It uses weblogic.Deployer internally and after deployment, it 
backs up my EAR/WAR files in a separate folder.
   
  Now, I wanted to make an entry in the SQL database after iam done deploying > 
backing up files.
   
  Does somebody know what ant package do i need and if somebody can share some 
ant build snippets, that be great.
   
  thanks, shailesh
   
   
  </target>
  <target name="deploy-now-on-testnet">
      <java classname="weblogic.Deployer" fork="true" maxmemory="256m" 
failonerror="true">
            <classpath>
                    <pathelement path="${CLASSPATH}"/>
            </classpath>
              <arg line="-username system"/>
            <arg line="-password ${pass.testnet}"/>
            <arg line="-adminurl ${testnet.admin.url}"/>
            <arg value="-upload"/>
            <arg value="-stage"/>
            <arg value="-${deploy.utility}"/>
            <arg line="-source ${APP_PATH_TEST}/${source}"/>
            <arg line="-targets ${sipApplication.target}"/>
            <sysproperty key="weblogic.home" path="${WL_HOME}"/>
    </java>
      <tstamp/>
      <copy todir="../last-deployed-testnet">
           <fileset dir="../current-testnet"/>
           <mapper type="glob" from="*" to="*.${DSTAMP}.${TSTAMP}"/>
    </copy>
  </target>

                
---------------------------------
Brings words and photos together (easily) with
 PhotoMail  - it's free and works with Yahoo! Mail.

Reply via email to