WASdev/ci.ant

Name: ci.ant

Owner: WASdev

Description: Ant tasks for managing Liberty profile server instances #devops

Created: 2013-07-03 15:12:49.0

Updated: 2017-04-29 03:59:27.0

Pushed: 2017-09-07 16:33:01.0

Homepage:

Size: 260

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ci.ant Build Status Maven Central Latest

Collection of Ant tasks for managing WebSphere Application Server Liberty servers and applications.

Build

Use Maven 2.x or 3.x to build the Ant tasks.

Configuration

To use the Liberty Ant tasks in your build scripts you need to:

  1. Declare the antlib namespace in your build.xml file:

    ject xmlns:wlp="antlib:net.wasdev.wlp.ant">
    oject>
    
  2. Make Liberty Ant tasks available in your build script by:

  3. Copying wlp-anttasks.jar into $ANT_HOME/lib directory, or

  4. Using the typedef task to load the Liberty tasks, for example:

    edef resource="net/wasdev/wlp/ant/antlib.xml"
     uri="antlib:net.wasdev.wlp.ant"
     classpath="target/wlp-anttasks.jar"/>
    

    The latest build of wlp-anttasks.jar can be obtained from the Sonatype OSS Maven snapshot repository.

Tasks

The wlp-anttasks.jar provides the following tasks.

| Task | Description | | ——— | ———— | | install-liberty | The install-liberty task is used to download and install a Liberty server. The task can download the Liberty runtime archive from a specified location (via runtimeUrl) or automatically resolve it from the Liberty repository based on a version and a runtime type. | | server | The server task supports the operations: create, start, run, stop, status, package, dump and javadump. | | deploy | The deploy task supports deployment of one or more applications to the Liberty server. | | undeploy | The undeploy task supports undeployment of a single application from the Liberty server. | | install-feature | The install-feature task installs a feature packaged as a Subsystem Archive (ESA file) to the Liberty runtime. | | uninstall-feature | The uninstall-feature task uninstalls a feature from the Liberty runtime. | | clean | The clean task deletes every file in the ${wlp_output_dir}/logs, ${wlp_output_dir}/workarea, ${wlp_user_dir}/dropins or ${wlp_user_dir}/apps. |

| compileJSPs | The compileJSPs task compiles JSP files so they do not need to be compiled on demand at runtime.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.