I'm not a maven user, so I didn't verify this, but....Try:
 -Dgwt.style=PRETTY

see: http://mojo.codehaus.org/gwt-maven-plugin/user-guide/compiler.html


On Wed, Apr 7, 2010 at 4:46 AM, Aff <[email protected]> wrote:
> Hello everybody,
> I'm new on GWT I've some problems to upgrade with 2.0.3.
>
> I'm actually on GWT 1.7 with :
>  Eclipse Galileo
>  Jdk 1.5
>  The maven-googlewebtoolkit2-plugin 2.0-beta24
>
> To upgrade with the 2.0.3, I changed my pom.xml with
> <gwtVersion>2.0.3</gwtVersion> and the maven-googlewebtoolkit2-plugin
> in 2.0-beta26.
> And in my m2 settings, I added the new <activeProfile> which point on
> my gwt-2.0.3.
>
> My problem is, when i launch my application thanks the maven cmd (-P
> com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt), i have this error :
>
> Unknown argument: -style
> Google Web Toolkit 2.0.3
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Exception attempting to run script - run.cmd
> Embedded error: run.cmd script exited abnormally with code - -1
>
>
> I don't find any correct answer which can resolve my problem, so does
> anybody can help me please?
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>



-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to