The following comment has been added to this issue:
Author: Eric Pugh
Created: Fri, 10 Sep 2004 10:16 AM
Body:
Hi.. I've actually found the generated file a bit unwieldy as well. The jelly tags,
they basically could be added to the plugin, and the appropriate bits in the xdt
monidfied, correct? It seems like we could just tweak the approparite bits in the
Maven section,a dn the tags owuld be used across all the various modules in the maven
plugin, right? If you are interested, please submit a patch and we can work together
on this. PS, xjavadoc issue is now resolved!
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-798?page=comments#action_14805
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-798
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-798
Summary: The plugin.jelly in the maven-xdoclet-plugin-1.2.jar is _huge_. I am
offering an alternative.
Type: Improvement
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
Maven Plugin
Versions:
1.2
Assignee: xdoclet-devel (Use for new issues)
Reporter: Florin Vancea
Created: Fri, 6 Feb 2004 10:43 AM
Updated: Fri, 10 Sep 2004 10:16 AM
Environment: *
Description:
The 1.2 distribution contains maven-xdoclet-plugin-1.2.jar, the Maven plugin for
XDoclet. It is working allright (well, with footnotes ;), but its plugin.jelly file is
simply HUGE (1MB).
Being so, it slows significantly the startup of Maven when used and that's a problem,
since it gets used normally on every build cycle.
The file seems to be generated automatically and probably as more modules were added
to XDoclet it silently grew to this size without anyone noticing.
Since its structure is fairly regular, I gave a shot at reducing the size (and the
startup time) using Jelly tags. The modified version (sourcecode of the entire plugin
and an short explanation) is available at http://open.maxiq.com/xdoclet/index.html. I
did not attach it here because I don't know if that would be interesting for anyone.
Well, if you _are_ interested, you should know that the run time of a test-run
(xdoclet:hibernatedoclet) was reduced from 19 secs to 12 secs (on my machine) and
there's still room to go down. The "looks" of the plugin.jelly are more readable (my
opinion, of course :).
I only re-implemented the hibernate part, because I'm only interested in that, but the
only change required to support all other goals is to be made in plugin.jelly. Since
plugin.jelly is auto-generated, some XDoclet guru would have no trouble in adjusting
the main generation process and including the new approach in the XDoclet
distribution. I am willing to help with whatever is not explicit enough in the code I
posted on my site.
Florin
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel