[ http://jira.codehaus.org/browse/XDP-182?page=comments#action_74105 ] 
            
Grégory Joseph commented on XDP-182:
------------------------------------

http://xdoclet.codehaus.org/Source+Repositories
See at the bottom: "sources of plugins"

> Maven2 and XDoclet : org.xdoclet.plugin.web.TaglibPlugin don't generate TLD 
> inherited attributes
> ------------------------------------------------------------------------------------------------
>
>                 Key: XDP-182
>                 URL: http://jira.codehaus.org/browse/XDP-182
>             Project: XDoclet 2 Plugins
>          Issue Type: Bug
>          Components: web
>         Environment: Maven2.0.4, maven2-xdoclet2-plugin 2.0.5-SNAPSHOT, 
>            Reporter: Grégory
>         Attachments: xdoclet-webdoclet.rar
>
>
> I'm migrating a tag library project from maven 1 to maven 2.
> With Maven 2, I'm using maven2-xdoclet2-plugin and TaglibPlugin to generate 
> tld.
> I have a class A with some "@jsp.attributes" and another class B which 
> extends A.
> The problem is that, on the generated TLD, B don't have attributes from 
> superclass A (and same code worked before with maven 1).
> Here is the code of my 2 classes :
> /**
>  * @jsp.tag name = "A"
>  * display-name = "A Tag"
>  * description = ""
>  */
> public class A extends TagSupport {
>     protected String myValue;
>     /**
>      * @jsp.attribute required="true"
>      * rtexprvalue="true"
>      * type="java.lang.String"
>      * description="my value"
>      */
>     public void setMyValue(String myValue) {
>               // code
>     }
> }
> /**
>  * @jsp.tag name = "B"
>  * display-name = "B Tag"
>  * description = ""
>  */
> public class B extends A {
> }
> Here is a part of my pom.xml :
> --------------------------------------------------------
>    <plugin>
>      <groupId>xdoclet</groupId>
>      <artifactId>maven2-xdoclet2-plugin</artifactId>
>      <configuration>
>        <configs>
>          <config>
>            <plugin>org.xdoclet.plugin.web.TaglibPlugin</plugin>
>            <params>
>              <jspversion>1.2</jspversion>
>              <destdir>${project.build.directory}/xdoclet</destdir>
>              <uri>http://www.example.com/blabla</uri>
>              <shortname>blabla</shortname>
>            </params>
>          </config>
>        </configs>
>      </configuration>
>      <dependencies>
>        <dependency>
>          <groupId>xdoclet-plugins</groupId>
>          <artifactId>xdoclet-plugin-web</artifactId>
>          <version>1.0.4-SNAPSHOT</version>
>        </dependency>
>        <dependency>
>          <groupId>javax.servlet</groupId>
>          <artifactId>servlet-api</artifactId>
>          <version>2.4</version>
>        </dependency>
>        <dependency>
>          <groupId>javax.servlet</groupId>
>          <artifactId>jsp-api</artifactId>
>          <version>2.0</version>
>        </dependency>
>      </dependencies>
>      <executions>
>        <execution>
>          <phase>process-resources</phase>
>          <goals>
>            <goal>xdoclet</goal>
>          </goals>
>        </execution>
>      </executions>
>    </plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to