The following comment has been added to this issue:

     Author: Matthias Kerkhoff
    Created: Wed, 15 Sep 2004 3:04 AM
       Body:
I suggested ant:parallel because its threadsPerProcessor attribute. I'm not sure how 
to model a similar behaviour with the jelly:threads taglib.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPXDOC-120?page=comments#action_24093

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPXDOC-120
    Summary: Faster execution of xdoc:jelly-transform with ant:parallel
       Type: Improvement

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-xdoc-plugin

   Assignee: Arnaud HERITIER
   Reporter: Matthias Kerkhoff

    Created: Tue, 14 Sep 2004 6:07 AM
    Updated: Wed, 15 Sep 2004 3:04 AM

Description:
In larger projects or in multiproject builds transforming the xdoc files into html may 
take a significant amount of time.
After looking into the plugin.jelly - especially into the definition of the 
doc:performJsl tag - I would think that there is an opportunity to distribute the 
transformation workload over multiple threads/cpus. 
The best candidate for doing so would be the for-each loop over docFiles (lines 
328-367). It should possible to reduce the overall transformation time with the 
ant:parallel task.
The effect should be noticeable on multiprocessor build machines and/or builds which 
transform many xdoc files, as they may for example occur in conjunction with the 
statcvs-plugin.



---------------------------------------------------------------------
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