Sun Java System Portal Server 7.1 Update 1 Community Guide

Ant Targets

Perform actions on the portlet applications by executing ant targets. The following targets are supported:

customize

Builds the deployable portlet web application (WAR) by performing token substitution on the WAR source files. The tokens and values are read from the tokens.properties file.

config_backend and unconfig_backend

Configures any data sources that the portlet requires. For example, it might create a user and tables in a database. The unconfig_backend target undoes the actions performed by the config_backend target.

config_resource

Creates any JavaTM EE resources required by the portlet. For example, it might create a JDBCTM resource. As there is no unconfig_resource, resource removal must be performed manually by using the web container administration console or command line.

deploy and undeploy

Deploys the portlet web application that was built using the customize target. The undeploy target removes the portlet web application.