viktorthang / mgwt

Automatically exported from code.google.com/p/mgwt
Other
0 stars 0 forks source link

Referencing deprecated class 'com.googlecode.mgwt.ui.client.internal.CssCanvas' #280

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. mvn clean package

    with "strict=true" in gwt plugin, pom configuration:

            <!-- GWT Maven Plugin-->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>gwt-maven-plugin</artifactId>
                <version>2.5.0</version>
                <dependencies>
                    <dependency>
                        <groupId>com.google.gwt</groupId>
                        <artifactId>gwt-user</artifactId>
                        <version>${gwtVersion}</version>
                    </dependency>
                    <dependency>
                        <groupId>com.google.gwt</groupId>
                        <artifactId>gwt-dev</artifactId>
                        <version>${gwtVersion}</version>
                    </dependency>
                    <dependency>
                        <groupId>com.google.gwt</groupId>
                        <artifactId>gwt-servlet</artifactId>
                        <version>${gwtVersion}</version>
                    </dependency>
                </dependencies>
                <!-- JS is only needed in the package phase, this speeds up testing -->
                <executions>
                    <execution>
                        <configuration>
                            <extraJvmArgs>-Xmx2g -Xss1024k</extraJvmArgs>
                            <strict>true</strict>
                        </configuration>
                        <phase>prepare-package</phase>
                        <goals>
                            <goal>compile</goal>
                        </goals>
                    </execution>
                </executions>
                <!-- Plugin configuration. There are many available options,
                     see gwt-maven-plugin documentation at codehaus.org -->
                <configuration>
                    <!-- URL that should be automatically opened in the GWT shell (gwt:run). -->
                    <runTarget>/</runTarget>
                    <!-- Location of the develop-mode web application structure (gwt:run). -->
                    <hostedWebapp>target/www</hostedWebapp>
                    <!-- Ask GWT to map the Story of Your Compile (SOYC) (gwt:compile) -->
                    <compileReport>true</compileReport>
                </configuration>
            </plugin>

What is the expected output? What do you see instead?

not expected to see this log in maven:

[INFO] --- gwt-maven-plugin:2.5.0:compile (default) @ twitstar-mobile ---
[INFO] auto discovered modules [com.myapp.Dashboard, com.myapp.Login]
[INFO] Compiling module com.myapp.Dashboard
[INFO]    Validating units:
[INFO]       [WARN] Warnings in 
'jar:file:/Users/luigi/.m2/repository/com/googlecode/mgwt/mgwt/1.2.0-SNAPSHOT/mg
wt-1.2.0-SNAPSHOT.jar!/com/googlecode/mgwt/ui/client/internal/CssCanvas.java'
[INFO]          [WARN] Line 93: Referencing deprecated class 
'com.googlecode.mgwt.ui.client.internal.CssCanvas'
[INFO]          [WARN] Line 102: Referencing deprecated class 
'com.googlecode.mgwt.ui.client.internal.CssCanvas'
[INFO]          [WARN] Line 119: Referencing deprecated class 
'com.googlecode.mgwt.ui.client.internal.CssCanvas'
[INFO]          [WARN] Line 132: Referencing deprecated class 
'com.googlecode.mgwt.ui.client.internal.CssCanvas'
[INFO]          [WARN] Line 142: Referencing deprecated class 
'com.googlecode.mgwt.ui.client.internal.CssCanvas'
[INFO]          [WARN] Line 152: Referencing deprecated class 
'com.googlecode.mgwt.ui.client.internal.CssCanvas'

What version of the product are you using? On what operating system?
mgwt-1.2.0-SNAPSHOT.jar (git: 343715a2cedb4e0493e70bd08c658e635d5e220a)
OS X Mountain Lion

Please provide any additional information below.

it's a deprecation warning.

Original issue reported on code.google.com by luigi.vi...@gmail.com on 27 Dec 2012 at 5:27

GoogleCodeExporter commented 8 years ago
Class is not part of mgwt 2.0 anymore.

Original comment by kurka.da...@gmail.com on 13 Jul 2014 at 8:04