1 /*2 * Copyright (c) 2001, 2002 The XDoclet team3 * All rights reserved.4 */5 package xdoclet.modules.portlet;6 7 import org.apache.tools.ant.BuildException;8 9 import xdoclet.DocletTask;10 11 /**12 * This task executes various portlet-specific sub-tasks. Make sure to include the jar file containing Sun's13 * javax.portlet.* classes on the taskdef's classpath.14 *15 * @author Craig Walls (xdoclet@habuma.com)16 * @created August 18, 200317 * @ant.element name="portletdoclet" display-name="Portlet Task"18 */19 public class PortletDocletTask extends DocletTask20 {21 protected void validateOptions() throws BuildException22 {23 super.validateOptions();24 checkClass("javax.portlet.Portlet");25 }26 }27