Compile option doesn't allow you to specify -extra option without also 
specifying -soyc
---------------------------------------------------------------------------------------

                 Key: MGWT-241
                 URL: http://jira.codehaus.org/browse/MGWT-241
             Project: Maven 2.x GWT Plugin
          Issue Type: Bug
    Affects Versions: 2.1.0
            Reporter: K Abram


The -extra option allows you to generate symbol maps which are useful for stack 
trace resymbolization. However, as coded, the CompileMojo.java doesn't allow 
you to specify -extra without -soyc. Enabling -soyc on a large project like the 
one I'm working on results in 40,000+ files creating totalling over 1 GB of 
disk space per permutation. Not to mention this takes a whole lot of time!

To fix, modify the addSOYC method from:

 else
        {
            cmd.arg( "-soyc" )
               .arg( "-extra")
               .arg( extra.getAbsolutePath() );
            extra.mkdirs();
        }


to the following =>

 else
        {
            cmd.arg( "-soyc" );
        }
        if (extra != null) {
               cmd.arg( "-extra")
               .arg( extra.getAbsolutePath() );
            extra.mkdirs();
        }

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


Reply via email to