[jira] Created: (MGWT-135) -style parameter not supported on new trunk GWT version (r6727)

View: New views
6 Messages — Rating Filter:   Alert me  

[jira] Created: (MGWT-135) -style parameter not supported on new trunk GWT version (r6727)

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-style parameter not supported on new trunk GWT version (r6727)
---------------------------------------------------------------

                 Key: MGWT-135
                 URL: http://jira.codehaus.org/browse/MGWT-135
             Project: Maven 2.x GWT Plugin
          Issue Type: Bug
    Affects Versions: 1.2
         Environment: the latest snapshot version of the gwt-maven-plugin from svn (r11099)
the latest GWT trunk version (r6727)
opensuse linux
            Reporter: stole


The new (soon to be 2.0) version of GWT has apparently dropped the support for the -style parameter in the com.google.gwt.dev.DevMode shell class. Since the plugin always creates this parameter when it starts the DevMode server it refuses to start with "Unknown argument: -style" error.
I located the faulting lines in /src/main/java/org/codehaus/mojo/gwt/shell/RunMojo.java

    public void doExecute( GwtRuntime runtime )
        throws MojoExecutionException, MojoFailureException
    {
        String clazz = runtime.getVersion().getShellFQCN();
        JavaCommand cmd = new JavaCommand( clazz, runtime )
            .withinScope( Artifact.SCOPE_RUNTIME )
            .arg( runtime.getVersion().getWebOutputArgument() )
            .arg( quote( hostedWebapp.getAbsolutePath() ) )
            .arg( "-gen" )
            .arg( quote( getGen().getAbsolutePath() ) )
            .arg( "-logLevel" )
            .arg( getLogLevel() )
   //The following lines generate the -style arguments that the new DevMode will not swallow
            //.arg( "-style" )
            //.arg( getStyle() )
            .arg( "-port" )
            .arg( Integer.toString( getPort() ) )
            .arg( noServer, "-noserver" );

   ...
   }

I commented out the lines just to keep working with the new version but i think that it should be fixed using the GWT version or something but I do not know how. Please contact me if you need some further explanation.

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



[jira] Assigned: (MGWT-135) -style parameter not supported on new trunk GWT version (r6727)

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MGWT-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy reassigned MGWT-135:
---------------------------------

    Assignee: Olivier Lamy

> -style parameter not supported on new trunk GWT version (r6727)
> ---------------------------------------------------------------
>
>                 Key: MGWT-135
>                 URL: http://jira.codehaus.org/browse/MGWT-135
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: the latest snapshot version of the gwt-maven-plugin from svn (r11099)
> the latest GWT trunk version (r6727)
> opensuse linux
>            Reporter: stole
>            Assignee: Olivier Lamy
>
> The new (soon to be 2.0) version of GWT has apparently dropped the support for the -style parameter in the com.google.gwt.dev.DevMode shell class. Since the plugin always creates this parameter when it starts the DevMode server it refuses to start with "Unknown argument: -style" error.
> I located the faulting lines in /src/main/java/org/codehaus/mojo/gwt/shell/RunMojo.java
>     public void doExecute( GwtRuntime runtime )
>         throws MojoExecutionException, MojoFailureException
>     {
>         String clazz = runtime.getVersion().getShellFQCN();
>         JavaCommand cmd = new JavaCommand( clazz, runtime )
>             .withinScope( Artifact.SCOPE_RUNTIME )
>             .arg( runtime.getVersion().getWebOutputArgument() )
>             .arg( quote( hostedWebapp.getAbsolutePath() ) )
>             .arg( "-gen" )
>             .arg( quote( getGen().getAbsolutePath() ) )
>             .arg( "-logLevel" )
>             .arg( getLogLevel() )
>    //The following lines generate the -style arguments that the new DevMode will not swallow
>             //.arg( "-style" )
>             //.arg( getStyle() )
>             .arg( "-port" )
>             .arg( Integer.toString( getPort() ) )
>             .arg( noServer, "-noserver" );
>    ...
>    }
> I commented out the lines just to keep working with the new version but i think that it should be fixed using the GWT version or something but I do not know how. Please contact me if you need some further explanation.

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



[jira] Updated: (MGWT-135) -style parameter not supported on new trunk GWT version (r6727)

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MGWT-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated MGWT-135:
------------------------------

    Description:
The new (soon to be 2.0) version of GWT has apparently dropped the support for the -style parameter in the com.google.gwt.dev.DevMode shell class. Since the plugin always creates this parameter when it starts the DevMode server it refuses to start with "Unknown argument: -style" error.
I located the faulting lines in /src/main/java/org/codehaus/mojo/gwt/shell/RunMojo.java
{code}
    public void doExecute( GwtRuntime runtime )
        throws MojoExecutionException, MojoFailureException
    {
        String clazz = runtime.getVersion().getShellFQCN();
        JavaCommand cmd = new JavaCommand( clazz, runtime )
            .withinScope( Artifact.SCOPE_RUNTIME )
            .arg( runtime.getVersion().getWebOutputArgument() )
            .arg( quote( hostedWebapp.getAbsolutePath() ) )
            .arg( "-gen" )
            .arg( quote( getGen().getAbsolutePath() ) )
            .arg( "-logLevel" )
            .arg( getLogLevel() )
   //The following lines generate the -style arguments that the new DevMode will not swallow
            //.arg( "-style" )
            //.arg( getStyle() )
            .arg( "-port" )
            .arg( Integer.toString( getPort() ) )
            .arg( noServer, "-noserver" );

   ...
   }
{code}
I commented out the lines just to keep working with the new version but i think that it should be fixed using the GWT version or something but I do not know how. Please contact me if you need some further explanation.

  was:
The new (soon to be 2.0) version of GWT has apparently dropped the support for the -style parameter in the com.google.gwt.dev.DevMode shell class. Since the plugin always creates this parameter when it starts the DevMode server it refuses to start with "Unknown argument: -style" error.
I located the faulting lines in /src/main/java/org/codehaus/mojo/gwt/shell/RunMojo.java

    public void doExecute( GwtRuntime runtime )
        throws MojoExecutionException, MojoFailureException
    {
        String clazz = runtime.getVersion().getShellFQCN();
        JavaCommand cmd = new JavaCommand( clazz, runtime )
            .withinScope( Artifact.SCOPE_RUNTIME )
            .arg( runtime.getVersion().getWebOutputArgument() )
            .arg( quote( hostedWebapp.getAbsolutePath() ) )
            .arg( "-gen" )
            .arg( quote( getGen().getAbsolutePath() ) )
            .arg( "-logLevel" )
            .arg( getLogLevel() )
   //The following lines generate the -style arguments that the new DevMode will not swallow
            //.arg( "-style" )
            //.arg( getStyle() )
            .arg( "-port" )
            .arg( Integer.toString( getPort() ) )
            .arg( noServer, "-noserver" );

   ...
   }

I commented out the lines just to keep working with the new version but i think that it should be fixed using the GWT version or something but I do not know how. Please contact me if you need some further explanation.


> -style parameter not supported on new trunk GWT version (r6727)
> ---------------------------------------------------------------
>
>                 Key: MGWT-135
>                 URL: http://jira.codehaus.org/browse/MGWT-135
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: the latest snapshot version of the gwt-maven-plugin from svn (r11099)
> the latest GWT trunk version (r6727)
> opensuse linux
>            Reporter: stole
>            Assignee: Olivier Lamy
>
> The new (soon to be 2.0) version of GWT has apparently dropped the support for the -style parameter in the com.google.gwt.dev.DevMode shell class. Since the plugin always creates this parameter when it starts the DevMode server it refuses to start with "Unknown argument: -style" error.
> I located the faulting lines in /src/main/java/org/codehaus/mojo/gwt/shell/RunMojo.java
> {code}
>     public void doExecute( GwtRuntime runtime )
>         throws MojoExecutionException, MojoFailureException
>     {
>         String clazz = runtime.getVersion().getShellFQCN();
>         JavaCommand cmd = new JavaCommand( clazz, runtime )
>             .withinScope( Artifact.SCOPE_RUNTIME )
>             .arg( runtime.getVersion().getWebOutputArgument() )
>             .arg( quote( hostedWebapp.getAbsolutePath() ) )
>             .arg( "-gen" )
>             .arg( quote( getGen().getAbsolutePath() ) )
>             .arg( "-logLevel" )
>             .arg( getLogLevel() )
>    //The following lines generate the -style arguments that the new DevMode will not swallow
>             //.arg( "-style" )
>             //.arg( getStyle() )
>             .arg( "-port" )
>             .arg( Integer.toString( getPort() ) )
>             .arg( noServer, "-noserver" );
>    ...
>    }
> {code}
> I commented out the lines just to keep working with the new version but i think that it should be fixed using the GWT version or something but I do not know how. Please contact me if you need some further explanation.

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



[jira] Commented: (MGWT-135) -style parameter not supported on new trunk GWT version (r6727)

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MGWT-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197504#action_197504 ]

Olivier Lamy commented on MGWT-135:
-----------------------------------

fix committed in [rev 11104|http://fisheye.codehaus.org/changelog/mojo/?cs=11104]
SNAPSHOT deployed.
Can you test it ? (I don't have this gwt version here)
Thanks !

> -style parameter not supported on new trunk GWT version (r6727)
> ---------------------------------------------------------------
>
>                 Key: MGWT-135
>                 URL: http://jira.codehaus.org/browse/MGWT-135
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: the latest snapshot version of the gwt-maven-plugin from svn (r11099)
> the latest GWT trunk version (r6727)
> opensuse linux
>            Reporter: stole
>            Assignee: Olivier Lamy
>
> The new (soon to be 2.0) version of GWT has apparently dropped the support for the -style parameter in the com.google.gwt.dev.DevMode shell class. Since the plugin always creates this parameter when it starts the DevMode server it refuses to start with "Unknown argument: -style" error.
> I located the faulting lines in /src/main/java/org/codehaus/mojo/gwt/shell/RunMojo.java
> {code}
>     public void doExecute( GwtRuntime runtime )
>         throws MojoExecutionException, MojoFailureException
>     {
>         String clazz = runtime.getVersion().getShellFQCN();
>         JavaCommand cmd = new JavaCommand( clazz, runtime )
>             .withinScope( Artifact.SCOPE_RUNTIME )
>             .arg( runtime.getVersion().getWebOutputArgument() )
>             .arg( quote( hostedWebapp.getAbsolutePath() ) )
>             .arg( "-gen" )
>             .arg( quote( getGen().getAbsolutePath() ) )
>             .arg( "-logLevel" )
>             .arg( getLogLevel() )
>    //The following lines generate the -style arguments that the new DevMode will not swallow
>             //.arg( "-style" )
>             //.arg( getStyle() )
>             .arg( "-port" )
>             .arg( Integer.toString( getPort() ) )
>             .arg( noServer, "-noserver" );
>    ...
>    }
> {code}
> I commented out the lines just to keep working with the new version but i think that it should be fixed using the GWT version or something but I do not know how. Please contact me if you need some further explanation.

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



[jira] Commented: (MGWT-135) -style parameter not supported on new trunk GWT version (r6727)

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MGWT-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197529#action_197529 ]

stole commented on MGWT-135:
----------------------------

Now it works. Thanks for the quick fix ;).

> -style parameter not supported on new trunk GWT version (r6727)
> ---------------------------------------------------------------
>
>                 Key: MGWT-135
>                 URL: http://jira.codehaus.org/browse/MGWT-135
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: the latest snapshot version of the gwt-maven-plugin from svn (r11099)
> the latest GWT trunk version (r6727)
> opensuse linux
>            Reporter: stole
>            Assignee: Olivier Lamy
>
> The new (soon to be 2.0) version of GWT has apparently dropped the support for the -style parameter in the com.google.gwt.dev.DevMode shell class. Since the plugin always creates this parameter when it starts the DevMode server it refuses to start with "Unknown argument: -style" error.
> I located the faulting lines in /src/main/java/org/codehaus/mojo/gwt/shell/RunMojo.java
> {code}
>     public void doExecute( GwtRuntime runtime )
>         throws MojoExecutionException, MojoFailureException
>     {
>         String clazz = runtime.getVersion().getShellFQCN();
>         JavaCommand cmd = new JavaCommand( clazz, runtime )
>             .withinScope( Artifact.SCOPE_RUNTIME )
>             .arg( runtime.getVersion().getWebOutputArgument() )
>             .arg( quote( hostedWebapp.getAbsolutePath() ) )
>             .arg( "-gen" )
>             .arg( quote( getGen().getAbsolutePath() ) )
>             .arg( "-logLevel" )
>             .arg( getLogLevel() )
>    //The following lines generate the -style arguments that the new DevMode will not swallow
>             //.arg( "-style" )
>             //.arg( getStyle() )
>             .arg( "-port" )
>             .arg( Integer.toString( getPort() ) )
>             .arg( noServer, "-noserver" );
>    ...
>    }
> {code}
> I commented out the lines just to keep working with the new version but i think that it should be fixed using the GWT version or something but I do not know how. Please contact me if you need some further explanation.

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



[jira] Closed: (MGWT-135) -style parameter not supported on new trunk GWT version (r6727)

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MGWT-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MGWT-135.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 1.2

> -style parameter not supported on new trunk GWT version (r6727)
> ---------------------------------------------------------------
>
>                 Key: MGWT-135
>                 URL: http://jira.codehaus.org/browse/MGWT-135
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: the latest snapshot version of the gwt-maven-plugin from svn (r11099)
> the latest GWT trunk version (r6727)
> opensuse linux
>            Reporter: stole
>            Assignee: Olivier Lamy
>             Fix For: 1.2
>
>
> The new (soon to be 2.0) version of GWT has apparently dropped the support for the -style parameter in the com.google.gwt.dev.DevMode shell class. Since the plugin always creates this parameter when it starts the DevMode server it refuses to start with "Unknown argument: -style" error.
> I located the faulting lines in /src/main/java/org/codehaus/mojo/gwt/shell/RunMojo.java
> {code}
>     public void doExecute( GwtRuntime runtime )
>         throws MojoExecutionException, MojoFailureException
>     {
>         String clazz = runtime.getVersion().getShellFQCN();
>         JavaCommand cmd = new JavaCommand( clazz, runtime )
>             .withinScope( Artifact.SCOPE_RUNTIME )
>             .arg( runtime.getVersion().getWebOutputArgument() )
>             .arg( quote( hostedWebapp.getAbsolutePath() ) )
>             .arg( "-gen" )
>             .arg( quote( getGen().getAbsolutePath() ) )
>             .arg( "-logLevel" )
>             .arg( getLogLevel() )
>    //The following lines generate the -style arguments that the new DevMode will not swallow
>             //.arg( "-style" )
>             //.arg( getStyle() )
>             .arg( "-port" )
>             .arg( Integer.toString( getPort() ) )
>             .arg( noServer, "-noserver" );
>    ...
>    }
> {code}
> I commented out the lines just to keep working with the new version but i think that it should be fixed using the GWT version or something but I do not know how. Please contact me if you need some further explanation.

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