This tutorial describes how to deploy a portlet into the Viewpoint Development Portal.

  1. Open a command prompt window.
  2. Navigate to the top-level directory of the portlet you want to deploy (the directory containing the build.xml file for the portlet).
  3. Run the following command: ant deploy

Here is an example, assuming the Widgetopia sample portlet is located at C:\tdpdk-xx.xx.xx.xx\src\Widgetopia:

C:
cd \tdpdk-xx.xx.xx.xx\src\Widgetopia
ant deploy

The ant deploy progress is displayed in the Tomcat window. When the portlet deployment is complete, your new portlet should be available under the Add Content menu in your Teradata Viewpoint Portal. Note: the CATALINA_HOME environment variable must previously have been set. See Installing the Viewpoint Development Portal for more details.

See Ant Targets for more detail about ant deploy and other useful ant targets.

Note that when the Teradata Viewpoint Portal is installed, the Sample Portlets are deployed by default. That is, on first startup of Teradata Viewpoint, the portlets are present. You can safely deploy on top of an existing portlet using the normal ant deploy target, or undeploy the portlet using ant undeploy.