The following comment has been added to this issue:

     Author: Ignacio G. Mac Dowell
    Created: Tue, 15 Feb 2005 7:30 AM
       Body:
The patch submitted fails when there is a directory with xdocs under the xdocs 
directory. The problem is that velocity:merge doesn't seem to like generating a 
file with no parentFile (directory). I am going to submit 4 patches:
1. Tests
2. Src
3. Docs
4. Cumulative (all 3)

for easier review.

regards
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPXDOC-131?page=comments#action_29895

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPXDOC-131

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPXDOC-131
    Summary: Allow velocity in user-documentation and expose pom
       Type: Improvement

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-xdoc-plugin

   Assignee: Arnaud HERITIER
   Reporter: Ignacio G. Mac Dowell

    Created: Fri, 11 Feb 2005 5:07 AM
    Updated: Tue, 15 Feb 2005 7:30 AM

Description:
Currently, we can't directly use the pom or velocity in user-documentation. 

JSL is applied to the user-docs as-is. I suggest having a property called 
maven.docs.src.templates (defaults to false) that when set to true treats 
user-docs as templates.

Then, slightly modify the goal xdoc:jelly-transform.

We need to var's:

<j:set var="mergeUserDocs" value="${maven.docs.src.templates}"/>
<j:set var="hasUserDocs" value="${maven.docs.src.available}"/>

If both evaluate to true then velocity:merge the user docs before doing jsl. If 
they evaluate to false do as before.

It would probably be nice to be able to use jelly as well as user-supplied docs.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to