TLD Generator Tool for Tapestry Components and Eclipse IDE

Tools around J2EE technologies

License

License

Categories

Categories

Tape Data Data Structures
GroupId

GroupId

fr.exanpe
ArtifactId

ArtifactId

tapestry-tldgen
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

TLD Generator Tool for Tapestry Components and Eclipse IDE
Tools around J2EE technologies
Source Code Management

Source Code Management

http://github.com/exanpe/tapestry-tldgen

Download tapestry-tldgen

How to add to project

<plugin>
    <groupId>fr.exanpe</groupId>
    <artifactId>tapestry-tldgen</artifactId>
    <version>1.1.0</version>
</plugin>

Dependencies

compile (7)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 2.0
org.apache.maven : maven-project jar 2.0.5
org.codehaus.plexus : plexus-utils jar 2.0.5
commons-lang : commons-lang jar 2.3
org.reflections : reflections jar 0.9.5-RC2
commons-digester : commons-digester jar 2.0
com.thoughtworks.xstream : xstream jar 1.3.1

provided (1)

Group / Artifact Type Version
org.apache.tapestry : tapestry-core jar 5.2.0

test (2)

Group / Artifact Type Version
junit : junit jar 3.8.1
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 1.2

system (1)

Group / Artifact Type Version
com.sun » tools jar 1.5.0

Project Modules

There are no modules declared in this project.

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.exanpe tapestry-tldgen 1.0.0 tld-generate process-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
fr.exanpe

Exanpe

Versions

Version
1.1.0
1.0.0