Hi,

There is an error in the patch I submitted (velocity:merge seems to dislike when the parent directory of the target file doesn't exist), I'll fix it asap. I was thinking if you could give me some guidelines on how to write a plugin-test (or where to find them - is there a thread for this?) and how I can test the changes I make to a plugin without too much hassle (at the moment is a bit of a nightmare!).

Thanks in advance,

Nacho

PD: Has anybody needed a util:notAvailable tag? When I have a "boolean" tag I like having the opposite one. Maybe there is another tag for this. I have noticed that in some places a mkdir is called each time a dir is needed. Maybe there is not too much overhead in this, but I think the code would become clearer.

The following comment has been added to this issue:

    Author: Arnaud HERITIER
   Created: Mon, 14 Feb 2005 5:28 PM
      Body:
It seems interesting Ignacio.
Can you add a plugin-test and a patch for the documentation please ?
---------------------------------------------------------------------
View this comment:
 http://jira.codehaus.org/browse/MPXDOC-131?page=comments#action_29869

---------------------------------------------------------------------
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: Mon, 14 Feb 2005 5:28 PM

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]





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



Reply via email to