Issue Details (XML | Word | Printable)

Key: MGWT-92
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: nicolas de loof
Reporter: Matt Raible
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Maven 2.x GWT Plugin

Add support for "soyc" argument to support generating SOYC reports for GWT 2.0

Created: 25/Jun/09 04:54 PM   Updated: 26/Jun/09 07:59 AM   Resolved: 26/Jun/09 07:59 AM
Return to search
Component/s: None
Affects Version/s: 1.1
Fix Version/s: 1.2

Time Tracking:
Not Specified

File Attachments: 1. Text File CompileMojo.patch (2 kB)
2. Text File GWT2.0-parameters.patch (5 kB)


Patch Submitted: Yes


 Description  « Hide

Adds support for "soyc" and "extra" parameters (in GWT 2.0).



nicolas de loof added a comment - 26/Jun/09 01:40 AM

Can you please provide a link to some doc on soyc report ?
Maybe a reporting plugin would be great for such features


Jason Thrasher added a comment - 26/Jun/09 02:58 AM - edited

Some documentation for SOYC is here:
http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting

This would be a great feature to add. It'd be great to make this into a report, but just enabling the feature on the 2.0 Compiler is a starting point.

Creating report output has to be done with the output of the compiler, and would be a secondary step. There's a complication if a traditional Maven report is used, as the SOYC may not have run, in which case a re-compile would be needed to generate the reportable files.

I created an additional patch that adds many of the other parameters for GWT 2.0 support, including:
-soyc
-extra
-draftCompile
-validateOnly
-treeLogger
-XdisableClassMetadata
-XdisableCastChecking
-workDir

This patch also adds "recognition" of 2.0 via a GwtVersion.TWO_DOT_ZERO.
patch file name: GWT2.0-parameters.patch


nicolas de loof added a comment - 26/Jun/09 07:59 AM

patch applied with some few changes just as only code written by me is nice

soyc is set to true by default on gwt >= 2.0

a new Reporting SoycMojo is also in SVN