Skip to content
This repository

Maven plugin - TLD Generator Tool for Tapestry Components and Eclipse IDE

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 README.markdown
Octocat-spinner-32 pom.xml
README.markdown

Available goals

  • tapestry-tldgen:tld-generate

Setting up tapestry-tldgen

This requires only 2 minutes.

  1. Carefully javadoc your component classes and their attributes annotated with @Parameter (already done i hope, isn't it ? :))
  2. Open the pom.xml in your library project
  3. Add the following configuration in your plugins descriptor :

    fr.exanpetapestry-tldgen1.0.0tld-generateprocess-classes${set your tld uri here}${set your tld defaut namespace here}${set your root package here}${set your source file encoding here}

  4. Run a build and get your tld from target/ folder

Plugin Configuration

Configuration key Required Description
uri true The uri of your taglib.
rootPackage true The root package to scan the components. Do not append "components" in the end, root only is required.
namespace false The namespace of the taglib. Default is "t" .
encoding false The source file encoding. Default is your plateform encoding.
outputFile false The tld file location. Default is ${project.build.directory}/${project.build.finalName}.tld

Eclipse

    To benefit of the tld information in your tml coding, execute the instruction on the following page :
    http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse
Something went wrong with that request. Please try again.