Seems another "classpath" problem.

Gregory, have you included the source folders into plugin classpath ?

Regards
Diogo

-----------------------------------
Diogo Bacelar Quintela
EF - Tecnologias de Informação, Lda.
Av. António Serpa, 26 - 4º Dto.
1050-027 Lisboa, Portugal

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> =?ANSI_X3.4-1968?Q?Gr=3Fgory_=28JIRA=29?=
> Sent: segunda-feira, 22 de Maio de 2006 14:44
> To: xdoclet-plugins-interest@lists.sourceforge.net
> Subject: [xdoclet-plugins-interest] [jira] Created: (XDP-182) Maven2 and
> XDoclet : org.xdoclet.plugin.web.TaglibPlugin don't generate TLD inherited
> attributes
> 
> 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
>         Type: Bug
> 
>   Components: web
>  Environment: Maven2.0.4, maven2-xdoclet2-plugin 2.0.5-SNAPSHOT,
>     Reporter: Grégory
> 
> 
> 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&kid0709&bid&3057&dat1642
> _______________________________________________
> xdoclet-plugins-interest mailing list
> xdoclet-plugins-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to