Issue Details (XML | Word | Printable)

Key: STR-2942
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Paul Benedict
Reporter: Wendy Smoak
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Struts 1

Use the DTDDoc plugin to generate HTML formatted DTD documentation

Created: 30/Aug/06 05:57 AM   Updated: 04/Jul/07 03:36 AM
Return to search
Component/s: Core, Tiles 1 Plugin, Website
Affects Version/s: 1.3.5
Fix Version/s: 1.3.6


 Description  « Hide
Use the DTDDoc plugin for Maven 2 to generate HTML-formatted DTD documentation.

Also, remove the LiveDTD docs under http://struts.apache.org/dtds, and update links in the documentation.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
Struts #438385 Wed Aug 30 06:05:26 UTC 2006 wsmoak Added a temporary profile to assist with testing the DTDDoc plugin.
Usage: mvn site -P dtddoc
STR-2942
Files Changed
MODIFY /struts/struts1/trunk/pom.xml

Wendy Smoak made changes - 30/Aug/06 06:10 AM
Field Original Value New Value
Description When the DTDDoc plugin for Maven 2 is released, configure the build to generate HTML-formatted DTD documentation. When the DTDDoc plugin for Maven 2 is released, configure the build to generate HTML-formatted DTD documentation.

Also, remove the LiveDTD docs under http://struts.apache.org/dtds, and update links in the documentation.
Repository Revision Date User Message
Struts #438788 Thu Aug 31 04:38:08 UTC 2006 wsmoak Activate the dtddoc profile by default, and exclude the web-app dtd.
STR-2942
Files Changed
MODIFY /struts/struts1/trunk/pom.xml

Wendy Smoak added a comment - 31/Aug/06 04:41 AM
Discussion thread over on dtddoc-develop: http://sourceforge.net/mailarchive/forum.php?thread_id=30371684&forum_id=33177

DTDDoc is now generated as part of the 'mvn site' build for Struts 1.

The configuration is in the struts-parent pom, in the 'dtddoc' profile. Once the plugin is released, the config can be moved into the <reporting> section without a profile. This way just keeps it all together since it requires another repository.

Note: This depends on an *unreleased* plugin available in a snapshot repo.

Once the website syncs, DTDDoc should be visible here:
  * http://struts.apache.org/1.x/struts-core/dtddoc/index.html
  * http://struts.apache.org/1.x/struts-tiles/dtddoc/index.html

Repository Revision Date User Message
Struts #440188 Mon Sep 04 21:02:25 UTC 2006 wsmoak Remove links to LiveDTD generated documentation and switch to DTDDoc.
STR-2942
Files Changed
MODIFY /struts/struts1/trunk/src/site/site.xml
MODIFY /struts/struts1/trunk/src/site/xdoc/userGuide/configuration.xml
MODIFY /struts/struts1/trunk/src/site/xdoc/userGuide/building_controller.xml
ADD /struts/struts1/trunk/src/site/xdoc/dtddoc/index.xml
ADD /struts/struts1/trunk/src/site/xdoc/dtddoc

Wendy Smoak added a comment - 04/Sep/06 10:57 PM

Done and published, see: http://struts.apache.org/1.x/dtddoc/index.html

Leaving this open as a reminder that we have a snapshot dependency until the plugin is released.

The generated docs would look better if the comments were formatted according to DTDDoc's conventions (similar to Javadoc).

The LiveDTD docs have been removed from /www/struts.apache.org/dtds, double check that they disappear from the live site at some point, or ask to have them removed.

Wendy Smoak made changes - 04/Sep/06 10:57 PM
Description When the DTDDoc plugin for Maven 2 is released, configure the build to generate HTML-formatted DTD documentation.

Also, remove the LiveDTD docs under http://struts.apache.org/dtds, and update links in the documentation.
Use the DTDDoc plugin for Maven 2 to generate HTML-formatted DTD documentation.

Also, remove the LiveDTD docs under http://struts.apache.org/dtds, and update links in the documentation.
Repository Revision Date User Message
Struts #479779 Mon Nov 27 21:57:02 UTC 2006 pbenedict STR-2942: DTDDoc 1.0 has been released. I have removed the temporary profile and moved the plug-in into the reporting section.
Files Changed
MODIFY /struts/struts1/trunk/pom.xml

Paul Benedict added a comment - 27/Nov/06 09:58 PM
URL:
http://svn.apache.org/viewvc?view=rev&rev=479779

Log:
STR-2942: DTDDoc 1.0 has been released. I have removed the temporary profile and moved the plug-in into the reporting section.

Modified:
struts/struts1/trunk/pom.xml

Paul Benedict made changes - 27/Nov/06 09:58 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Assignee Paul Benedict [ paul4christ79 ]
Paul Benedict made changes - 04/Jul/07 03:36 AM
Status Resolved [ 5 ] Closed [ 6 ]