[
http://jira.codehaus.org/browse/MOJO-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_95302
]
Tom Schwenk commented on MOJO-527:
----------------------------------
1) Actually, it's quite noticeable in our project. We have 19 Jasper reports
files in our project. Compiling them all every time takes maybe 45 seconds on
my machine. What makes it worse is that the Jasperreports plugin runs during
the generate-sources phase, so just changing one line of code means waiting for
all the reports to compile before seeing if your change compiles. Slowed us
down quite a bit, but now it's much faster.
2) The mapping.getTargetFiles() call throws a ScanInclusionException, which is
why I made it catch the generic Exception. I could easily handle both
exceptions explicitly if you prefer, but this seemed like the simplest solution.
> Compile JasperReports only if modified
> --------------------------------------
>
> Key: MOJO-527
> URL: http://jira.codehaus.org/browse/MOJO-527
> Project: Mojo
> Issue Type: Improvement
> Components: jasperreports
> Reporter: M.H. Avegaart
> Assignee: Grégory Joseph
> Attachments: MOJO-527-jasperreports-maven-plugin.patch,
> MOJO-527-jasperreports-maven-plugin.patch
>
>
> The Maven 2 JasperReports Plugin compiles reports unconditionally.
> Please change this so the source .jrxml file is only compiled if the target
> .jasper file is older than the source file.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email