Use Ant to automate tasks


 

+

Search Tips   |   Advanced Search

 

WAS provides a copy of the Apache Ant build tool and a set of Ant tasks.

Apache Ant uses XML files containing task interfaces that are read and executed by...

APP_ROOT/bin/ws_ant.sh

...to...

The Apache Ant tasks reside in...

com.ibm.websphere.ant.tasks

IBM WAS provides an Apache Struts JAR shared library file in...

install_root/optionalLibraries/Apache/Struts/1.1

Apache Struts 1.1, 1.2.4, and 1.2.7 are optional libraries in WAS V7.0.

 

Run scp with ws_ant task

To use ws_ant to securely copy files between hosts requires the additional SCP task, found in jsch-1.42.jar. Drop the jar file in...

...and set on the classpath...

The jsch-1.4.2.jar is available at www.jcraft.com/jsch

The SCP task copies a file or FileSet to or from a (remote) machine running an SSH daemon.

FileSet only works for copying files from the local machine to a remote machine.

This task depends on external libraries not included in the Ant distribution. See Library Dependencies for more information. This task has been tested with jsch-0.1.2 and later.

 

Related

Batch compiler ant task

 

Related information

Rational Application Developer documentation