ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shailesh Sharma <>
Subject how to access a SQL database through ANT
Date Mon, 13 Mar 2006 21:46:24 GMT
  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 name="deploy-now-on-testnet">
      <java classname="weblogic.Deployer" fork="true" maxmemory="256m" failonerror="true">
                    <pathelement path="${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 ${}"/>
            <sysproperty key="weblogic.home" path="${WL_HOME}"/>
      <copy todir="../last-deployed-testnet">
           <fileset dir="../current-testnet"/>
           <mapper type="glob" from="*" to="*.${DSTAMP}.${TSTAMP}"/>

Brings words and photos together (easily) with
 PhotoMail  - it's free and works with Yahoo! Mail.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message