Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Ext GWT Premium Member
    Join Date
    Nov 2010
    Posts
    20
    Vote Rating
    0
    Karthikeyan S is on a distinguished road

      0  

    Default GXT 3 - Compile time warnings

    GXT 3 - Compile time warnings


    Hello,

    Recently we got the commercial version of GXT3 (gxt-3.0.0-Commercial.zip). For testing sake we tried Hello World...

    Version of Java
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)

    Version of GWT 2.4

    Two quick thing we noticed while compiling.

    1. Below warnings we are getting?

    [java] Compiling module test.mymodule.HelloWorld
    [java] Scanning for additional dependencies: jar:file:/C:/cvsroot/ext3/nxd_lib/runtime/ui/gxt-3.0.0.jar!/com/sencha/gxt/co
    re/client/resources/CommonStyles.java
    [java] Computing all possible rebind results for 'com.sencha.gxt.core.client.resources.CommonStyles.CommonStylesDefault
    Appearance.CommonDefaultResources'
    [java] Rebinding com.sencha.gxt.core.client.resources.CommonStyles.CommonStylesDefaultAppearance.CommonDefaultResour
    ces
    [java] Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
    [java] Preparing method styles
    [java] The following problems were detected
    [java] [WARN] Line 42 column 33: encountered "-". Was expecting one of: "}" ";" <IDENT>
    [java] [WARN] Line 48 column 22: encountered "-". Was expecting one of: "}" ";" <IDENT>
    [java] Scanning for additional dependencies: jar:file:/C:/cvsroot/ext3/nxd_lib/runtime/ui/gxt-3.0.0.jar!/com/sencha/gxt/th
    eme/blue/client/menu/BlueMenuAppearance.java
    [java] Computing all possible rebind results for 'com.sencha.gxt.theme.blue.client.menu.BlueMenuAppearance.BlueMenuReso
    urces'
    [java] Rebinding com.sencha.gxt.theme.blue.client.menu.BlueMenuAppearance.BlueMenuResources
    [java] Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
    [java] Preparing method style
    [java] The following problems were detected
    [java] [WARN] Line 2 column 10: encountered "-". Was expecting one of: "}" ";" <IDENT>
    [java] Scanning for additional dependencies: jar:file:/C:/cvsroot/ext3/nxd_lib/runtime/ui/gxt-3.0.0.jar!/com/sencha/gxt/th
    eme/blue/client/menu/BlueCheckMenuItemAppearance.java
    [java] Computing all possible rebind results for 'com.sencha.gxt.theme.blue.client.menu.BlueCheckMenuItemAppearance.Blu
    eCheckMenuItemResources'
    [java] Rebinding com.sencha.gxt.theme.blue.client.menu.BlueCheckMenuItemAppearance.BlueCheckMenuItemResources
    [java] Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
    [java] Preparing method style
    [java] The following problems were detected
    [java] [WARN] Line 2 column 14: encountered "-". Was expecting one of: "}" ";" <IDENT>
    [java] [WARN] Line 2 column 14: encountered "-". Was expecting one of: "}" ";" <IDENT>
    [java] [WARN] Line 3 column 20: encountered "moz-use-text-color". Was expecting one of: <NUMBER> <PERCEN
    TAGE> <PT> <MM> <CM> <PC> <IN> <PX> <EMS> <EXS> <DEG> <RAD> <GRAD> <MS> <SECOND> <HZ> <KHZ> <DIMEN> <FUNCTION>
    [java] [WARN] Line 4 column 23: encountered "_". Was expecting one of: "}" "+" "-" "," ";" "/" <STRING>
    <IDENT> <NUMBER> <URL> <PERCENTAGE> <PT> <MM> <CM> <PC> <IN> <PX> <EMS> <EXS> <DEG> <RAD> <GRAD> <MS> <SECOND> <HZ> <KHZ> <DIMEN>
    <HASH> <IMPORTANT_SYM> <UNICODERANGE> <FUNCTION>
    [java] Scanning for additional dependencies: jar:file:/C:/cvsroot/ext3/nxd_lib/runtime/ui/gxt-3.0.0.jar!/com/sencha/gxt/th
    eme/blue/client/tree/BlueTreeAppearance.java
    [java] Computing all possible rebind results for 'com.sencha.gxt.theme.blue.client.tree.BlueTreeAppearance.BlueTreeReso
    urces'
    [java] Rebinding com.sencha.gxt.theme.blue.client.tree.BlueTreeAppearance.BlueTreeResources
    [java] Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
    [java] Preparing method style
    [java] The following problems were detected
    [java] [WARN] Line 9 column 19: encountered "-". Was expecting one of: "}" ";" <IDENT>
    [java] [WARN] Line 12 column 10: encountered " ". Was expecting one of: <IDENT> <FUNCTION>
    [java] [WARN] Line 13 column 11: encountered " ". Was expecting one of: <IDENT> <FUNCTION>
    [java] Compiling 6 permutations
    [java] Compiling permutation 0...
    [java] Compiling permutation 1...
    [java] Compiling permutation 2...
    [java] Compiling permutation 3...
    [java] Compiling permutation 4...
    [java] Compiling permutation 5...
    [java] Compile of permutations succeeded
    [java] Linking into....

    [java] Link succeeded
    [java] Compilation succeeded -- 70.506s

    2. Another strange behaviour is even though we have used <set-property name="user.agent" value="safari" /> user.agent is getting ignored.

    Any help approciated.

    Regards

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    I moved this thread to the bugs forum and pushed it to our bug tracking system. Thanks for reporting thte compiling issues. We will update this thread once we have further informations.

  3. #3
    Sencha User
    Join Date
    May 2012
    Posts
    8
    Vote Rating
    1
    zetomatoz is on a distinguished road

      0  

    Default No CSS style with GXT 3.0.0 grid.

    No CSS style with GXT 3.0.0 grid.


    Hello,

    I got the same kind of warnings with my project. And also the user.agent property is ignored. We still have 6 permutations.

    Moreover, I built 2 grids
    - Using Ext GWT 2.2.5-gwt22, everything works fine. CSS style on the header looks as usual.
    - But when I use GXT 3.0.0, the css style disappear completely. It looks like there is something wrong with the "BlueGridAppearance stuffs". I was expected to find the BlueGrid.css within the resource files in Firebug for example. But it is missing. I just got something like a default css getting the same name as our widget. I don't get it why it doesn't work as in the basic grid example, where no style properties are defined.

    I am running under
    - gwt-maven-plugin 2.4.0
    - gwt 2.4.0
    - gxt 3.0.0
    - ext gwt 2.2.5-gwt22

    Here is the different warnings
    Code:
    [INFO] --- gwt-maven-plugin:2.4.0:compile (default) @ said-server ---
    [INFO] auto discovered modules [north.Said_Server_Web]
    [INFO] Compiling module north.Said_Server_Web
    [INFO]    Validating newly compiled units
    [INFO]       Ignored 1 unit with compilation errors in first pass.
    [INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
    [INFO]    Scanning for additional dependencies: jar:file:/C:/dev/maven_repo/com/sencha/gxt/gxt/3.0.0/gxt-3.0.0.jar!/com/sencha/gxt/theme/blue/client/grid/BlueGridAppearance.java
    [INFO]       Computing all possible rebind results for 'com.sencha.gxt.theme.blue.client.grid.BlueGridAppearance.BlueGridResources'
    [INFO]          Rebinding com.sencha.gxt.theme.blue.client.grid.BlueGridAppearance.BlueGridResources
    [INFO]             Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
    [INFO]                Preparing method css
    [INFO]                   The following problems were detected
    [INFO]                      [WARN] Line 41 column 7: encountered "-". Was expecting one of: "}" ";" <IDENT> 
    [INFO]                      [WARN] Line 43 column 9: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 44 column 10: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 45 column 17: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 86 column 23: encountered "-". Was expecting one of: "}" ";" <IDENT> 
    [INFO]                      [WARN] Line 88 column 16: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]    Scanning for additional dependencies: jar:file:/C:/dev/maven_repo/com/sencha/gxt/gxt/3.0.0/gxt-3.0.0.jar!/com/sencha/gxt/core/client/resources/CommonStyles.java
    [INFO]       Computing all possible rebind results for 'com.sencha.gxt.core.client.resources.CommonStyles.CommonStylesDefaultAppearance.CommonDefaultResources'
    [INFO]          Rebinding com.sencha.gxt.core.client.resources.CommonStyles.CommonStylesDefaultAppearance.CommonDefaultResources
    [INFO]             Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
    [INFO]                Preparing method styles
    [INFO]                   The following problems were detected
    [INFO]                      [WARN] Line 42 column 33: encountered "-". Was expecting one of: "}" ";" <IDENT> 
    [INFO]                      [WARN] Line 48 column 22: encountered "-". Was expecting one of: "}" ";" <IDENT> 
    [INFO]    Scanning for additional dependencies: jar:file:/C:/dev/maven_repo/com/sencha/gxt/gxt/3.0.0/gxt-3.0.0.jar!/com/sencha/gxt/theme/blue/client/menu/BlueMenuAppearance.java
    [INFO]       Computing all possible rebind results for 'com.sencha.gxt.theme.blue.client.menu.BlueMenuAppearance.BlueMenuResources'
    [INFO]          Rebinding com.sencha.gxt.theme.blue.client.menu.BlueMenuAppearance.BlueMenuResources
    [INFO]             Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
    [INFO]                Preparing method style
    [INFO]                   The following problems were detected
    [INFO]                      [WARN] Line 2 column 10: encountered "-". Was expecting one of: "}" ";" <IDENT> 
    [INFO]    Scanning for additional dependencies: jar:file:/C:/dev/maven_repo/com/sencha/gxt/gxt/3.0.0/gxt-3.0.0.jar!/com/sencha/gxt/theme/blue/client/menu/BlueCheckMenuItemAppearance.java
    [INFO]       Computing all possible rebind results for 'com.sencha.gxt.theme.blue.client.menu.BlueCheckMenuItemAppearance.BlueCheckMenuItemResources'
    [INFO]          Rebinding com.sencha.gxt.theme.blue.client.menu.BlueCheckMenuItemAppearance.BlueCheckMenuItemResources
    [INFO]             Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
    [INFO]                Preparing method style
    [INFO]                   The following problems were detected
    [INFO]                      [WARN] Line 2 column 14: encountered "-". Was expecting one of: "}" ";" <IDENT> 
    [INFO]                      [WARN] Line 2 column 14: encountered "-". Was expecting one of: "}" ";" <IDENT> 
    [INFO]                      [WARN] Line 3 column 20: encountered "moz-use-text-color". Was expecting one of: <NUMBER> <PERCENTAGE> <PT> <MM> <CM> <PC> <IN> <PX> <EMS> <EXS> <DEG> <RAD> <GRAD> <MS> <SECOND> <HZ> <KHZ> <DIMEN> <FUNCTION> 
    [INFO]                      [WARN] Line 4 column 23: encountered "_". Was expecting one of: "}" "+" "-" "," ";" "/" <STRING> <IDENT> <NUMBER> <URL> <PERCENTAGE> <PT> <MM> <CM> <PC> <IN> <PX> <EMS> <EXS> <DEG> <RAD> <GRAD> <MS> <SECOND> <HZ> <KHZ> <DIMEN> <HASH> <IMPORTANT_SYM> <UNICODERANGE> <FUNCTION> 
    [INFO]    Scanning for additional dependencies: jar:file:/C:/dev/maven_repo/com/sencha/gxt/gxt/3.0.0/gxt-3.0.0.jar!/com/sencha/gxt/theme/base/client/grid/ColumnHeaderDefaultAppearance.java
    [INFO]       Computing all possible rebind results for 'com.sencha.gxt.theme.base.client.grid.ColumnHeaderDefaultAppearance.ColumnHeaderResources'
    [INFO]          Rebinding com.sencha.gxt.theme.base.client.grid.ColumnHeaderDefaultAppearance.ColumnHeaderResources
    [INFO]             Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
    [INFO]                Preparing method style
    [INFO]                   The following problems were detected
    [INFO]                      [WARN] Line 40 column 17: encountered "-". Was expecting one of: "}" ";" <IDENT> 
    [INFO]                      [WARN] Line 43 column 10: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 44 column 7: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 45 column 20: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 46 column 21: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 59 column 20: encountered "-". Was expecting one of: "}" ";" <IDENT> 
    [INFO]                      [WARN] Line 61 column 16: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 62 column 10: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 63 column 14: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 66 column 8: encountered "-". Was expecting one of: "}" ";" <IDENT> 
    [INFO]    Scanning for additional dependencies: jar:file:/C:/dev/maven_repo/com/sencha/gxt/gxt/3.0.0/gxt-3.0.0.jar!/com/sencha/gxt/theme/blue/client/tree/BlueTreeAppearance.java
    [INFO]       Computing all possible rebind results for 'com.sencha.gxt.theme.blue.client.tree.BlueTreeAppearance.BlueTreeResources'
    [INFO]          Rebinding com.sencha.gxt.theme.blue.client.tree.BlueTreeAppearance.BlueTreeResources
    [INFO]             Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
    [INFO]                Preparing method style
    [INFO]                   The following problems were detected
    [INFO]                      [WARN] Line 9 column 19: encountered "-". Was expecting one of: "}" ";" <IDENT> 
    [INFO]                      [WARN] Line 12 column 10: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 13 column 11: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    Thank you for your help.

    Thomas

  4. #4
    Sencha User
    Join Date
    May 2012
    Posts
    8
    Vote Rating
    1
    zetomatoz is on a distinguished road

      1  

    Default


    Hello,

    Have you got further information about these compile time warnings.

    I have this problem in both hosted mode and during a normal compilation using Maven (gwt-maven-plugin 2.4.0, gwt 2.4.0).

    I did a comparison between my grid built thanks to GXT3 and the one given as example. It appears that some CSS styles for my column headers (Border-right 1px solid #D0D0D0, border-left: 1px solid #EEEEEE, Font 11px arial,tahoma,helvetica,sans-serif and padding: 4px 3px 4px 5px) are not generated during the compilation.
    That is why I get a strange column header. I can correct this issue by adding a setColumnClassSuffix() on each ColumnConfigs. Then I can add these missing styles manually for this redefined CSS class in the <head> tag for example. But this patch should be really temporary because warnings are still there. The InlineClientBundleGenerator still detect some problems. I bet this is the source of my bad CSS style.

    Code:
    Computing all possible rebind results for 'com.sencha.gxt.theme.base.client.grid.ColumnHeaderDefaultAppearance.ColumnHeaderResources'
    [INFO]          Rebinding com.sencha.gxt.theme.base.client.grid.ColumnHeaderDefaultAppearance.ColumnHeaderResources
    [INFO]             Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
    [INFO]                Preparing method columnHeader
    [INFO]                   Adding image 'com.sencha.gxt.theme.base.client.grid.ColumnHeaderDefaultAppearance.ColumnHeaderResources.columnHeader'
    [INFO]                Preparing method columnHeaderOver
    [INFO]                   Adding image 'com.sencha.gxt.theme.base.client.grid.ColumnHeaderDefaultAppearance.ColumnHeaderResources.columnHeaderOver'
    [INFO]                Preparing method columnMoveBottom
    [INFO]                   Adding image 'com.sencha.gxt.theme.base.client.grid.ColumnHeaderDefaultAppearance.ColumnHeaderResources.columnMoveBottom'
    [INFO]                Preparing method columnMoveTop
    [INFO]                   Adding image 'com.sencha.gxt.theme.base.client.grid.ColumnHeaderDefaultAppearance.ColumnHeaderResources.columnMoveTop'
    [INFO]                Preparing method columnsIcon
    [INFO]                   Adding image 'com.sencha.gxt.theme.base.client.grid.ColumnHeaderDefaultAppearance.ColumnHeaderResources.columnsIcon'
    [INFO]                Preparing method sortAsc
    [INFO]                   Adding image 'com.sencha.gxt.theme.base.client.grid.ColumnHeaderDefaultAppearance.ColumnHeaderResources.sortAsc'
    [INFO]                Preparing method sortAscendingIcon
    [INFO]                   Adding image 'com.sencha.gxt.theme.base.client.grid.ColumnHeaderDefaultAppearance.ColumnHeaderResources.sortAscendingIcon'
    [INFO]                Preparing method sortDesc
    [INFO]                   Adding image 'com.sencha.gxt.theme.base.client.grid.ColumnHeaderDefaultAppearance.ColumnHeaderResources.sortDesc'
    [INFO]                Preparing method sortDescendingIcon
    [INFO]                   Adding image 'com.sencha.gxt.theme.base.client.grid.ColumnHeaderDefaultAppearance.ColumnHeaderResources.sortDescendingIcon'
    [INFO]                Preparing method style
    [INFO]                   The following problems were detected
    [INFO]                      [WARN] Line 40 column 17: encountered "-". Was expecting one of: "}" ";" <IDENT> 
    [INFO]                      [WARN] Line 43 column 10: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 44 column 7: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 45 column 20: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 46 column 21: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 59 column 20: encountered "-". Was expecting one of: "}" ";" <IDENT> 
    [INFO]                      [WARN] Line 61 column 16: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 62 column 10: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 63 column 14: encountered " ". Was expecting one of: <IDENT> <FUNCTION> 
    [INFO]                      [WARN] Line 66 column 8: encountered "-". Was expecting one of: "}" ";" <IDENT>
    Your help will be highly appreciated,
    Thomas

  5. #5
    Sencha User
    Join Date
    May 2012
    Posts
    8
    Vote Rating
    1
    zetomatoz is on a distinguished road

      0  

    Default


    Hello,

    This bug was introduced by a dependency named GWT Incubator 2.0.1.

    Cheers

  6. #6
    Sencha User
    Join Date
    Jun 2012
    Posts
    5
    Vote Rating
    1
    TillF is on a distinguished road

      0  

    Default


    Quote Originally Posted by zetomatoz View Post
    This bug was introduced by a dependency named GWT Incubator 2.0.1.
    Hi,

    would you mind explaining this a bit? I'm getting the same warnings with the same behaviors but I can't find GWT Incubator in my dependency hierarchy.

    Did you also find a solution or just the reason for the problem?

    Thanks,
    Till

  7. #7
    Sencha User
    Join Date
    May 2012
    Posts
    8
    Vote Rating
    1
    zetomatoz is on a distinguished road

      0  

    Default


    Hello Till,

    We had a dependency to GWT Incubator 2.0.1 within the pom file of our project. This tool allowed us to handle some canvas. We just removed it. Then the compilation process and the look and feel of our column headers were OK.

    I am sorry but I didn't dive into the source of this conflict. I didn't have time for that. But for instance, our GWT Incubator 2.0.1 is a deprecated project. Make sure that all your dependencies within your project are up-to-date before a migration. It should help a bit.

    Cheers,
    Thomas

  8. #8
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,732
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    TillF - can you post your full .gwt.xml file so we can see what other dependencies you might have? Earlier on in trying to reproduce this we thought it was a Windows-specific issue, perhaps related to line-endings, but we've been unable to reproduce it on any of our test machines.

    So far, zetomatoz's source of the issue seems to make the most sense, that some other library is interacting with GXT. I'll be looking into the specifics that allow Incubator 2.0.1 to interfere to try to pin down the exact piece that caused the problem. I'd be willing to believe that other libraries might have the same issue.

  9. #9
    Sencha User
    Join Date
    May 2012
    Posts
    8
    Vote Rating
    1
    zetomatoz is on a distinguished road

      0  

    Default


    Sorry for my late reply.

    Here is the pom under GWT 2.4.0. We tried to migrate from this state. Incubator was the "mean" dependency for us.

    Code:
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <parent>
            <groupId>north.common.java.maven.generic-poms</groupId>
            <artifactId>north-java-projects</artifactId>
            <version>2.8.0</version>
        </parent>
        <groupId>north.said</groupId>
        <artifactId>said-server</artifactId>
        <name>said-server</name>
        <packaging>jar</packaging>
        <version>master-SNAPSHOT</version>
    
        <scm>
            <connection>scm:git:ssh://gitosis@northdev/posedev/said/said-server.git</connection>
        </scm>
    
        <build>
            <resources>
                <resource><!-- Ajout des resources aux jars -->
                    <directory>src/main/resources</directory>
                    <excludes>
                        <exclude>models/**</exclude>
                    </excludes>
                </resource>
            </resources>
    
            <plugins>
                <plugin><!-- EQDML: Génération des classes d'après les models UML -->
                    <groupId>north.common.eqdml</groupId>
                    <artifactId>eqdml3</artifactId>
                    <version>3.4.4</version>
                    <extensions>true</extensions>
                    <executions>
                        <execution>
                            <id>EQDML generation</id>
                            <goals>
                                <goal>generate</goal>
                            </goals>
                            <configuration>
                                <models>
                                    <param>${basedir}/src/main/resources/models/model.uml</param>
                                    <param>${basedir}/src/main/resources/models/administration.uml</param>
                                </models>
                                <generators>
                                    <param>javaConvertor</param>
                                </generators>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
    
                <plugin><!-- Compilation GWT -->
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>gwt-maven-plugin</artifactId>
                    <version>2.4.0</version>
                    <configuration>
                        <style>DETAILED</style>
                    </configuration>
                    <executions>
                        <execution>
                            <phase>compile</phase>
                            <goals>
                                <goal>compile</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
    
                <plugin><!-- Préparation des fichiers web pour le packaging -->
                    <artifactId>maven-resources-plugin</artifactId>
                    <executions>
                        <execution>
                            <id>copy-resources</id>
                            <phase>process-classes</phase>
                            <goals>
                                <goal>copy-resources</goal>
                            </goals>
                            <configuration>
                                <outputDirectory>${project.build.directory}/classes
                                </outputDirectory>
                                <resources>
                                    <resource>
                                        <directory>${project.build.directory}/said-server-${project.version}</directory>
                                    </resource>
                                    <resource>
                                        <directory>war</directory>
                                    </resource>
                                </resources>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
    
                <plugin><!-- Assembly: création d'un tar.gz contenant tous les fichiers nécessaire -->
                    <artifactId>maven-assembly-plugin</artifactId>
                    <configuration>
                        <descriptor>src/main/assembly/targz.xml</descriptor>
                    </configuration>
                    <executions>
                        <execution>
                            <id>make-assembly</id>
                            <phase>package</phase>
                            <goals>
                                <goal>attached</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
    
                <plugin><!-- Pitest: Module de verification des tests unitaires -->
                    <groupId>org.pitest</groupId>
                    <artifactId>pitest-maven</artifactId>
                    <version>0.23</version>
                    <configuration>
                        <inScopeClasses>
                            <param>north.said.*</param>
                        </inScopeClasses>
                        <targetClasses>
                            <param>north.said.server.core.*</param>
                            <param>north.said.server.main.*</param>
                            <param>north.said.server.threads.*</param>
                            <param>north.said.server.workspace.*</param>
                        </targetClasses>
                    </configuration>
                </plugin>
    
                <plugin><!-- Build-timestamp in manifest (part 1/2) -->
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>buildnumber-maven-plugin</artifactId>
                    <version>1.0</version>
                    <configuration>
                        <format>{0,date,yyyy-MM-dd HH:mm:ss}</format>
                        <items>
                            <item>timestamp</item>
                        </items>
                    </configuration>
                    <executions>
                        <execution>
                            <phase>validate</phase>
                            <goals>
                                <goal>create</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
    
                <plugin><!-- Build-timestamp in manifest (part 2/2) -->
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
                    <configuration>
                        <archive>
                            <manifestEntries>
                                <Build-Timestamp>${buildNumber}</Build-Timestamp>
                            </manifestEntries>
                        </archive>
                    </configuration>
                </plugin>
            </plugins>
        </build>
    
        <properties>
            <gwt.version>2.4.0</gwt.version>
            <java-utils.version>3.6.0</java-utils.version>
        </properties>
    
        <dependencies>
            <dependency>
                <groupId>north.said</groupId>
                <artifactId>said-interfaces</artifactId>
                <version>1.3.0</version>
            </dependency>
            <dependency>
                <groupId>north.said</groupId>
                <artifactId>said-api-java</artifactId>
                <version>1.1.7</version>
            </dependency>
            <dependency>
                <groupId>north.said</groupId>
                <artifactId>jira-soap-java-client</artifactId>
                <version>1.1.1</version>
            </dependency>
            <dependency>
                <groupId>north.common.java</groupId>
                <artifactId>java-utils</artifactId>
                <version>${java-utils.version}</version>
            </dependency>
            <dependency>
                <groupId>north.common.java</groupId>
                <artifactId>java-test-utils</artifactId>
                <version>1.6.0</version>
            </dependency>
            <dependency>
                <groupId>org.easytesting</groupId>
                <artifactId>fest-assert</artifactId>
                <version>1.4</version>
            </dependency>
            <dependency>
                <groupId>ice</groupId>
                <artifactId>icej</artifactId>
                <version>3.2.0-Java5</version>
            </dependency>
            <dependency>
                <groupId>org.ini4j</groupId>
                <artifactId>ini4j</artifactId>
                <version>0.5.1</version>
            </dependency>
            <dependency>
                <groupId>joda-time</groupId>
                <artifactId>joda-time</artifactId>
                <version>1.6</version>
            </dependency>
            <dependency>
                <groupId>commons-lang</groupId>
                <artifactId>commons-lang</artifactId>
                <version>2.4</version>
            </dependency>
            <dependency>
                <groupId>javax.mail</groupId>
                <artifactId>mail</artifactId>
                <version>1.4</version>
            </dependency>
            <dependency>
                <groupId>com.extjs</groupId>
                <artifactId>gxt</artifactId>
                <version>2.2.5-gwt22</version>
                <scope>compile</scope>
            </dependency>
            <dependency>
                <groupId>north.said</groupId>
                <artifactId>gxt-resources</artifactId>
                <version>2.2.5</version>
            </dependency>
            <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-servlet</artifactId>
                <version>7.0.0.RC6</version>
            </dependency>
            <dependency>
                <groupId>com.google.gwt</groupId>
                <artifactId>gwt-incubator</artifactId>
                <version>2.0.1</version>
            </dependency>
            <dependency>
                <groupId>com.google.gwt</groupId>
                <artifactId>gwt-servlet</artifactId>
                <version>${gwt.version}</version>
            </dependency>
            <dependency>
                <groupId>com.google.gwt</groupId>
                <artifactId>gwt-user</artifactId>
                <version>${gwt.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency><!-- Sources required for GWT -->
                <groupId>north.common.java</groupId>
                <artifactId>java-utils</artifactId>
                <version>${java-utils.version}</version>
                <classifier>sources</classifier>
            </dependency>
            <dependency>
                <groupId>com.google.guava</groupId>
                <artifactId>guava</artifactId>
                <version>r08</version>
            </dependency>
        </dependencies>
    
        <reporting>
            <plugins>
                <!-- Overrides checkstyle file of North projects -->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-checkstyle-plugin</artifactId>
                    <configuration>
                        <configLocation>http://northrepo/builds/dev/docs/said_checkstyle-5.xml</configLocation>
                        <enableRulesSummary>false</enableRulesSummary>
                    </configuration>
                </plugin>
            </plugins>
        </reporting>
    </project>

  10. #10
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,732
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Having looked more closely at the gwt-incubator project as of version 2.0.1, it appears to have a prototype version of the same ClientBundle and CssResource that GWT now has internally, and that GXT's appearances are all based off of. GWT-incubator's defaults configure these features in ways that no longer make sense and include old versions of these classes - either remove GWT-incubator, or any other project with early copies of ClientBundle, or be sure that you override its values and classes with those found in GWT itself.