Viewpoint PDK Ant Targets

Viewpoint
Teradata Viewpoint is Teradata's strategic and innovative SOV (single operational view) for Teradata DB, Aster, and HDP Hadoop systems management and monitoring that enables Teradata's Unified Data Architecture (UDA).
Teradata Employee

Viewpoint PDK Ant Targets

When you create a new portlet project using the PortletGenerator, the project will contain an Ant based build system. You can use the following ant targets to build and deploy your portlet:

deploy: For non-portlet webapps, this copies the WAR file to $CATALINA_HOME/webapps, where it will be auto-deployed by Tomcat. For portlets this copies the WAR file to the dir specified by the $liferay.autodeploy.dir property, which by default is set to $CATALINA_HOME/liferay-autodeploy. Liferay then picks up the WAR, processes it, and deploys to $CATALINA_HOME/webapps, where it then exists as per a normal webapp.

undeploy: Undeploy the webapp. This uses the Tomcat manager interface to perform the undeploy. Also, if the build.undeploy.hardcore flag is set to true (typically in the user's properties file), then the task will also attempt to delete any temporary assets etc. that Tomcat might be trying to hold on to.

reload: Reload the webapp. This tells Tomcat to unload the webapp from memory, and then load it back again. This should cause Tomcat to pick up any changes to config such as Spring files, web.xml, etc.. When the reload task is called, you should see build-info output to the console indicating that your webapp has been unloaded and then reloaded. For example:

INFO: Reloading this Context has started
2007-05-02 20:20:53,250 [http-7001-Processor25] INFO util.web.BuildInfoSessionContextListener - CommonsWeb:
Unloading Build --> 2007.05.02 13:20:29 | CommonsWeb | no230012@WUSNO230012-TC5 | build 203 |
1.5.0_11-b03 | Windows XP 5.1 x86

2007-05-02 20:20:53,359 [http-7001-Processor25] INFO util.web.BuildInfoSessionContextListener - CommonsWeb:
Loading Build --> 2007.05.02 13:20:29 | CommonsWeb | no230012@WUSNO230012-TC5 | build 203 |
1.5.0_11-b03 | Windows XP 5.1 x86
Tags (3)