On Sunday, May 5, 2013 1:38:18 PM UTC-5, wayne rasmuss wrote:
I'm having a very strange problem with UiConstructor.--My constructor looks like@UiConstructorpublic PickerList(String selectedStyle, String notSelectedStyle) {...My xml looks like<wcm:PickerList ui:field="pickerList" selectedStyle='A' notSelectedStyle='B'/>I get the following error when I try to build using my own gradle build setup (all gradle output below)[ERROR] Class PickerList has no appropriate setSelectedStyle() method: <wcm:PickerList notSelectedStyle='B' selectedStyle='A' ui:field='pickerList'>The weird thingI can still build/run my app from my IDE (IntelliJ Idea) but my Gradle build fails. I even verified that I hit a breakpoint in the constructor above when run in my IDE. I have tried a clean build. Thoughts?Versions Etc.Java 7, GWT 2.5.0 I am using MGWT but I don't think that's part of the problem.All gradle output:Executing command: "apps:careco:gwtc"Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be removed in Gradle 2.0. Please read http://gradle.org/docs/current/dsl/org.gradle.api. for information on the replacement for dynamic properties.plugins. ExtraPropertiesExtension.html Deprecated dynamic property: "sourceCompatibility" on "project ':app-components'", value: "1.6".Deprecated dynamic property "sourceCompatibility" created in multiple locations.---------------------- Adding sources---------------------- Adding sources---------------------- Adding sourcesInputs:C:\aaa\whatsnext.git\whatsnext\components\apps\ careco\src C:\aaa\whatsnext.git\whatsnext\components\apps\ careco\build\classes\main C:\aaa\whatsnext.git\whatsnext\components\apps\ careco\build\dependency-cache C:\aaa\whatsnext.git\whatsnext\components\app. gradle Outputs:C:\aaa\whatsnext.git\whatsnext\components\apps\ careco\build\gwt Deprecated dynamic property: "debug" on "task ':apps:careco:compile'", value: "true".Inputs:C:\aaa\whatsnext.git\whatsnext\components\apps\ exodus\src C:\aaa\whatsnext.git\whatsnext\components\apps\ exodus\build\classes\main C:\aaa\whatsnext.git\whatsnext\components\apps\ exodus\build\dependency-cache C:\aaa\whatsnext.git\whatsnext\components\app. gradle Outputs:C:\aaa\whatsnext.git\whatsnext\components\apps\ exodus\build\gwt Deprecated dynamic property "debug" created in multiple locations.:client-only:compileJava UP-TO-DATE:client-only:processResources UP-TO-DATE:client-only:classes UP-TO-DATE:client-only:jar UP-TO-DATE:server-and-client:compileJava UP-TO-DATE:server-and-client:processResources UP-TO-DATE :server-and-client:classes UP-TO-DATE:server-and-client:jar UP-TO-DATE:server-only:compileJava UP-TO-DATE:server-only:processResources UP-TO-DATE:server-only:classes UP-TO-DATE:server-only:jar UP-TO-DATE:app-components:bootstrap:compileJava UP-TO-DATE :app-components:bootstrap:processResources UP-TO-DATE :app-components:bootstrap:classes UP-TO-DATE :app-components:bootstrap:jar UP-TO-DATE:apps:careco:compileJavawarning: Supported source version 'RELEASE_6' from annotation processor 'com.google.appengine.tools. compilation. DatastoreCallbacksProcessor' less than -source '1.7' warning: Implicitly compiled files were not subject to annotation processing.Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.2 warnings:apps:careco:gwtcDeprecated dynamic property: "compilerArgs" on "project ':apps:careco'", value: "[-style, OBF, -optimiz...".Compiling module whatsnext.careco.CareCoMobileValidating units:Ignored 1 unit with compilation errors in first pass.Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.Computing all possible rebind results for 'whatsnext.careco.mobile.activityselector. ActivitySelector. ActivitySelectorUiBinder' Rebinding whatsnext.careco.mobile.activityselector. ActivitySelector. ActivitySelectorUiBinder Invoking generator com.google.gwt.uibinder.rebind.UiBinderGenerator [ERROR] Class PickerList has no appropriate setSelectedStyle() method: <wcm:PickerList notSelectedStyle='B' selectedStyle='A' ui:field='pickerList'> (:15)[ERROR] Errors in 'whatsnext/careco/mobile/activityselector/ ActivitySelector.java' [ERROR] Line 31: Failed to resolve 'whatsnext.careco.mobile.activityselector. ActivitySelector. ActivitySelectorUiBinder' via deferred binding [WARN] For the following type(s), generated source was never committed (did you forget to call commit()?)[WARN] whatsnext.careco.mobile.activityselector. ActivitySelector_ ActivitySelectorUiBinderImpl :apps:careco:gwtc FAILEDFAILURE: Build failed with an exception.* Where:Script 'C:\aaa\whatsnext.git\whatsnext\components\app. gradle' line: 120 * What went wrong:Execution failed for task ':apps:careco:gwtc'.> Process 'command 'C:\Program Files\Java\jdk1.7.0_15\bin\java.exe'' finished with non-zero exit value 1 * Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.BUILD FAILEDTotal time: 38.528 secs
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment