Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-tapestry/xdocs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4201/xdocs
Added Files:
about.xml navigation.xml
Log Message:
Initial release of Tapestry plugin for XDoclet2
--- NEW FILE: navigation.xml ---
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="xdoclet-plugin-hibernate" repository="xdoclet-plugins"
href="http://xdoclet-plugins.sf.net/">
<title>XDoclet Plugins</title>
<body>
<search/>
<links>
<item name="Issue Tracker"
href="http://jira.codehaus.org/secure/BrowseProject.jspa?id=10231"/>
</links>
<menu name="Tapestry plugin">
<item name="Introduction" href="/about.html"/>
<item name="Tapestry tags" href="/qtags.html"/>
</menu>
</body>
</project>
--- NEW FILE: about.xml ---
<?xml version="1.0" encoding="ISO-8859-1"?>
<document>
<properties>
<title>About Tapestry plugin</title>
</properties>
<body>
<section name="About XDoclet Tapestry plugin">
<p>This plugin generates Tapestry4 page and component files.<br/>
They are the .page and .jwc we used to write by hand.</p>
<p>Tapestry4 comes with Jdk5.0 Annotations. This plugin is useful
only if you're using an older compiler version.<br/>
If you can use Jdk5.0 you should use Tapestry4's built-in
Annotations, not xdoclet.
</p>
</section>
<section name="Invoking tapestry plugin from Maven">
<p>
First you need to add to your POM xdoclet dependencies which
are includes xdoclet plugin and dependent
libraries.
Here is an example of dependency that you should add.
<source><![CDATA[
<dependency>
<groupId>xdoclet-plugins</groupId>
<artifactId>xdoclet-plugin-tapestry</artifactId>
<version>1.0.2-SNAPSHOT</version>
<properties>
<xdoclet.dependency>true</xdoclet.dependency>
</properties>
</dependency>
]]>
</source>
</p>
<p>
The main configuration goes in project.properties file where
you should add following properties
<source>
# xdoclet2 tapestry plugin
maven.xdoclet.verbose=true
maven.xdoclet.0=tapestry-page-spec
maven.xdoclet.0.fileset.0.dir=${pom.build.sourceDirectory}
maven.xdoclet.0.fileset.0.include=**/*.java
maven.xdoclet.0.tapestry-page-spec=org.xdoclet.plugin.tapestry.PageSpecificationPlugin
maven.xdoclet.0.tapestry-page-spec.destdir=${basedir}/src/webapp/WEB-INF
maven.xdoclet.1=tapestry-component-spec
maven.xdoclet.1.fileset.0.dir=${pom.build.sourceDirectory}
maven.xdoclet.1.fileset.0.include=**/*.java
maven.xdoclet.1.tapestry-component-spec=org.xdoclet.plugin.tapestry.ComponentSpecificationPlugin
maven.xdoclet.1.tapestry-component-spec.destdir=${basedir}/src/webapp/WEB-INF
</source>
It means that you want to generate page (.page) and component
(.jwc) files and store them into your source directory.
</p>
<p>
Tapestry plugin can be invoked from maven as follows
<source><![CDATA[maven xdoclet2:run]]></source>
</p>
</section>
</body>
</document>
-------------------------------------------------------
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-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits