Chapter 5. Packaging

With Gentics Portal.Node SDK you are able to easily package your portletapplications, which can be deployed into the application server using the AdministrationPortlet.

The easiest way to accomplish this is by using the provided ant script located in MyPortletapplication/tools/packaging. To package your portletapplication follow these steps in your Gentics Portal.Node SDK Eclipse installation:

Procedure 5.1. Packaging MyPortletapplication

  1. Open the directory MyPortletapplication/tools/packaging in the Package Explorer. (By default located to the right in the Java Perspective.

  2. Rightclick on build.xml.

  3. Select Run As+Ant Build (Alt-Shift-X-Q).

  4. Now Refresh (F5) the MyPortletapplication/tools directory.

  5. MyPortletapplication/tools/out/MyPortletapplication.war is ready to be deployed in any Gentics Portal.Node installation. Just upload the .war-file using the AdministrationPortlet and you'll be fine. See the AdministrationPortlet section of the reference guide for further information.