Hybrid View

    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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi