Update of /cvsroot/xdoclet/xdoclet/modules/bea/src/xdoclet/modules/bea/wls/web In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5328/modules/bea/src/xdoclet/modules/bea/wls/web
Added Files: WeblogicWebTagsHandler.java Log Message: prevent the weblogic subtask from generating duplicate EJBRef's (XDT-1511). Thanks to Markus Bollig for the patch. --- NEW FILE: WeblogicWebTagsHandler.java --- /* * Copyright (c) 2001, 2002 The XDoclet team * All rights reserved. */ package xdoclet.modules.bea.wls.web; import xdoclet.XDocletException; import xdoclet.XDocletTagSupport; import xdoclet.tagshandler.ClassTagsHandler; /** * @author Markus Bollig * @created Aug 21, 2005 * @version $Revision: 1.1 $ * @xdoclet.taghandler namespace="WeblogicWeb" */ public class WeblogicWebTagsHandler extends XDocletTagSupport { /** * Process the tag body for each weblogic:ejb-reference-description tag in all source files. Please note that this * tag already iterates over all available sources; it should <em>not</em> be enclosed by a * <XDtClass:forAllClasses> tag or any other that process classes. This tag does not process tags with duplicated * ejb-ref-name attributes. If such tags occurs, only the first tag is processed, and further tags will only emit a * warning message. * * @param template The body of the block tag * @throws XDocletException if something goes wrong * @doc.tag type="block" */ public void forAllEjbRefs(String template) throws XDocletException { ClassTagsHandler.forAllDistinctClassTags(getEngine(), template, "weblogic:ejb-reference-description", "ejb-ref-name"); } } ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel