Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Brandon Donnelson
It appears that the  org.ow2.asm:asm-parent:pom:5.0.3 @ is fixed after 
upgrading to maven 3.2.3. The pom issue goes away.

Brandon
  

On Thursday, October 16, 2014 3:48:07 PM UTC-7, Colin Alworth wrote:
>
> Looks like codehaus's snapshot repo is down, so I'm unable to get the 
> latest gwt-maven-plugin. This url gives a 504 gateway timeout from ngnix 
> for me:
>
> https://nexus.codehaus.org/content/groups/snapshots-group/org/codehaus/mojo/gwt-maven-plugin/2.7.0-SNAPSHOT/maven-metadata.xml
>
> If I set gwt-user and gwt-servlet to 2.7.0-SNAPSHOT and gwt-maven-plugin 
> to 2.6.1, I get the NoClassDefFoundError:
>
> [INFO] Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.
> MethodVisitor
> [INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> [INFO] at java.security.AccessController.doPrivileged(Native Method)
> [INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> [INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301
> )
> [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> [INFO] ... 62 more
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 4.640s
> [INFO] Finished at: Thu Oct 16 17:28:18 CDT 2014
> [INFO] Final Memory: 15M/81M
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.codehaus.mojo:gwt-maven-plugin:2.6.1:compile 
> (default) on project rpq-samples: Command [[
> [ERROR] /bin/sh -c /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/
> Contents/Home/bin/java -Xmx512m -classpath /Users/colin/Documents/idea/gwt
> -rpq/rpq-samples/target/classes:/Users/colin/Documents/idea/gwt-rpq/rpq-
> samples/src/main/java:/Users/colin/.m2/repository/com/google/gwt/gwt-user/
> 2.7.0-SNAPSHOT/gwt-user-2.7.0-SNAPSHOT.jar:/Users/colin/.m2/repository/
> javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:
> /Users/colin/.m2/repository/javax/validation/validation-api/1.0.0.GA/
> validation-api-1.0.0.GA-sources.jar:/Users/colin/.m2/repository/org/json/
> json/20090211/json-20090211.jar:/Users/colin/.m2/repository/com/google/gwt
> /gwt-servlet/2.7.0-SNAPSHOT/gwt-servlet-2.7.0-SNAPSHOT.jar:/Users/colin/.
> m2/repository/com/colinalworth/rpq/0.0.1-SNAPSHOT/rpq-0.0.1-SNAPSHOT.jar:
> /Users/colin/.m2/repository/com/google/gwt/gwt-user/2.7.0-SNAPSHOT/gwt-
> user-2.7.0-SNAPSHOT.jar:/Users/colin/.m2/repository/com/google/gwt/gwt-dev
> /2.7.0-SNAPSHOT/gwt-dev-2.7.0-SNAPSHOT.jar com.google.gwt.dev.Compiler 
> -logLevel 
> INFO -style OBF -war /Users/colin/Documents/idea/gwt-rpq/rpq-samples/
> target/rpq-samples-0.0.1-SNAPSHOT -localWorkers 2http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Colin Alworth
Looks like codehaus's snapshot repo is down, so I'm unable to get the 
latest gwt-maven-plugin. This url gives a 504 gateway timeout from ngnix 
for me:
https://nexus.codehaus.org/content/groups/snapshots-group/org/codehaus/mojo/gwt-maven-plugin/2.7.0-SNAPSHOT/maven-metadata.xml

If I set gwt-user and gwt-servlet to 2.7.0-SNAPSHOT and gwt-maven-plugin to 
2.6.1, I get the NoClassDefFoundError:

[INFO] Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.
MethodVisitor
[INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[INFO] at java.security.AccessController.doPrivileged(Native Method)
[INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[INFO] ... 62 more
[INFO] 

[INFO] BUILD FAILURE
[INFO] 

[INFO] Total time: 4.640s
[INFO] Finished at: Thu Oct 16 17:28:18 CDT 2014
[INFO] Final Memory: 15M/81M
[INFO] 

[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.6.1:compile 
(default) on project rpq-samples: Command [[
[ERROR] /bin/sh -c /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/
Contents/Home/bin/java -Xmx512m -classpath /Users/colin/Documents/idea/gwt-
rpq/rpq-samples/target/classes:/Users/colin/Documents/idea/gwt-rpq/rpq-
samples/src/main/java:/Users/colin/.m2/repository/com/google/gwt/gwt-user/
2.7.0-SNAPSHOT/gwt-user-2.7.0-SNAPSHOT.jar:/Users/colin/.m2/repository/javax
/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/Users/colin
/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.
0.GA-sources.jar:/Users/colin/.m2/repository/org/json/json/20090211/json-
20090211.jar:/Users/colin/.m2/repository/com/google/gwt/gwt-servlet/2.7.0-
SNAPSHOT/gwt-servlet-2.7.0-SNAPSHOT.jar:/Users/colin/.m2/repository/com/
colinalworth/rpq/0.0.1-SNAPSHOT/rpq-0.0.1-SNAPSHOT.jar:/Users/colin/.m2/
repository/com/google/gwt/gwt-user/2.7.0-SNAPSHOT/gwt-user-2.7.0-SNAPSHOT.
jar:/Users/colin/.m2/repository/com/google/gwt/gwt-dev/2.7.0-SNAPSHOT/gwt-
dev-2.7.0-SNAPSHOT.jar com.google.gwt.dev.Compiler -logLevel INFO -style 
OBF -war /Users/colin/Documents/idea/gwt-rpq/rpq-samples/target/rpq-samples-
0.0.1-SNAPSHOT -localWorkers 2 -XfragmentCount -1 -sourceLevel auto -gen /
Users/colin/Documents/idea/gwt-rpq/rpq-samples/target/.generated com.
colinalworth.rpqsample.demo.HelloWorld com.colinalworth.rpqsample.defer.
SimpleAutoBatching



All GWT copies on the classpath are 2.7.0-SNAPSHOT, its just building under 
gwt-m-p 2.6.1. 

Is this really expected? I'm probably misunderstanding how scope=import 
works and its importance (ha) to the build, but the strong implication 
seems to be that gwt-m-p is pulling in gwt-dev, but not transitive 
dependencies.

Pre-send edit: codehaus is back, pulling down results now. As with others, 
I am getting that org.ow2.asm:asm-parent:pom:5.0.3 is inexplicably missing, 
even if I delete it from my .m2/repository and the build *downloads* it, it 
claims it can't find it. Full gist from debug log: 
https://gist.github.com/niloc132/da63de6d8e8da90f49d7

Selected bits:

[DEBUG] Verifying availability of /Users/colin/.m2/repository/org/ow2/asm/
asm-parent/5.0.3/asm-parent-5.0.3.pom from [sonatype-nexus-snapshots 
(https://oss.sonatype.org/content/repositories/snapshots, 
snapshots)]
[INFO] 

[INFO] BUILD FAILURE
[INFO] 

[INFO] Total time: 8.792s
[INFO] Finished at: Thu Oct 16 17:38:45 CDT 2014
[INFO] Final Memory: 19M/81M
[INFO] 

[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.7.0-
SNAPSHOT:compile (default) on project rpq-samples: Failed to resolve 
artifact: Some problems were encountered while processing the POMs:
[ERROR] [ERROR] Non-resolvable import POM: Could not find artifact org.ow2.
asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT, /Users/colin/.
m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom, 
line 74, column 25



Is there any chance that this is a 'feature' of scope=import, that you have 
to pull content from the same repos that the import'd pom came from, and 
that you can't get it from even the other defaults?

For reference sake, the project I'm building is 
https://github.com/niloc132/gwt-rpq on the 2.7.0 branch - first build rpq 
itself (gwt vers doesnt matter), then build gwt-rpq. Maven version included 
in the gist above.
On Thursday, October 16, 2014 4:56:53 PM UTC-5, Brandon Donnelson wro

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Brandon Donnelson
I found the reason, trying to find a workaround.

The repository definition is causing it to try to download from snapshots 
where it doesn't exist. 


-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Brandon Donnelson
Thomas I'm noticing the issue coming up on my config. I haven't drilled 
down to why yet. I copied the samples config.

[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 18.212 s
[INFO] Finished at: 2014-10-16T14:49:33-08:00
[INFO] Final Memory: 34M/448M
[INFO] 
[ERROR] Failed to execute goal 
org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (default) on project 
MyGxtProject31: Failed to resolve artifact: Some problems were encountered 
while processing the POMs:
[ERROR] [ERROR] Non-resolvable import POM: Could not find artifact 
org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT, 
/Users/branflake2267/.m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom,
 line 74, column 25
[ERROR] for project
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Brandons-MacBook-Pro:GxtProject31 branflake2267$ maven version
-bash: maven: command not found
Brandons-MacBook-Pro:GxtProject31 branflake2267$ mvn -version
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 
2014-02-14T09:37:52-08:00)
Maven home: /usr/local/Cellar/maven/3.2.1/libexec
Java version: 1.7.0_40-ea, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac"
Brandons-MacBook-Pro:GxtProject31 branflake2267$ 

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread tskardal
I'm' also having some trouble. I get errors related to both requestfactory 
and asm-parent.
You can see the error message and pom.xml at this gist: 
https://gist.github.com/tskardal/0d8287da4265c0fddfc8

I've created a project using the maven archetype, modified the versions and 
added the snapshot repos.

On Thursday, October 16, 2014 5:48:18 PM UTC+2, Drew Spencer wrote:
>
> Somehow I made the requestfactory error go away but I'm still getting this 
> one:
>
> [ERROR] Non-resolvable import POM: Could not find artifact 
> org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT, 
> C:\Users\Drew\.m2\repository\com\google\gwt\gwt\2.7.0-SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom,
>  
> line 74, column 25
>
> I'm using Eclipse Luna with maven 3.2.1. Very odd.
>
> On Thursday, 16 October 2014 13:55:12 UTC+1, Ümit Seren wrote:
>>
>> Hmm that's weird. I remember that when I tried to compile the same app 
>> with 2.7.0-SNAPSHOT (gwt-maven plugin) two weeks ago it worked fine with 
>> maven 3.0.5.
>>
>> However I have now a different issue: 
>>
>> I have used your gwt archetype (
>> https://github.com/tbroyer/gwt-maven-archetypes)  and I have three 
>> modules (app-client, app-server and app-shared) inside a parent pom project 
>> (app) . 
>>
>> When I run "mvn clean install" in app-client everything works fine (gwt 
>> compiles, finishes). 
>> However when I run "mvn clean install" in parent "app" pom projet I get 
>> following error: 
>>
>> [INFO]Computing all possible rebind results for 
>> 'org.jboss.errai.marshalling.client.api.MarshallerFactory'
>> [INFO]   Rebinding 
>> org.jboss.errai.marshalling.client.api.MarshallerFactory
>> [INFO]  Invoking generator 
>> org.jboss.errai.marshalling.rebind.MarshallersGenerator
>> [INFO] Generating Marshallers Bootstrapper...
>> [ERROR] java.util.concurrent.ExecutionException: 
>> java.lang.NullPointerException
>> [ERROR] at 
>> java.util.concurrent.FutureTask.report(FutureTask.java:122)
>> [ERROR] at 
>> java.util.concurrent.FutureTask.get(FutureTask.java:188)
>> [ERROR] at 
>> org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:112)
>> [ERROR] at 
>> org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:86)
>> [ERROR] at 
>> org.jboss.errai.config.rebind.AbstractAsyncGenerator.startAsyncGeneratorsAndWaitFor(AbstractAsyncGenerator.java:188)
>> [ERROR] at 
>> org.jboss.errai.marshalling.rebind.MarshallersGenerator.generate(MarshallersGenerator.java:226)
>> [ERROR] at 
>> com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
>>
>> [INFO] Caused by: java.lang.NullPointerException
>> [INFO]  at 
>> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:453)
>> [INFO]  at 
>> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
>> [INFO]  at 
>> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
>> [INFO]  at 
>> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
>> [INFO]  at 
>> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
>> [INFO]  at 
>> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
>> [INFO]  at 
>> org.jboss.errai.codegen.util.ClassChangeUtil.findAllMatching(ClassChangeUtil.java:446)
>>
>>
>>
>>
>> On Thu, Oct 16, 2014 at 2:29 PM, Thomas Broyer  wrote:
>>
>>> This is strange, because I tested the samples with Maven 3.0.5 (this is 
>>> still my default version) and didn't have this problem :-/
>>>
>>> On Thu, Oct 16, 2014 at 2:11 PM, Ümit Seren  wrote:
>>>
 no it didn't help unfortunately. 
 But I upgraded to maven 3.2.1 and the error went away. 




 On Thu, Oct 16, 2014 at 1:57 PM, Thomas Broyer  
 wrote:

> gwt-maven-plugin snapshots are deployed to codehaus, but the plugin 
> depends on GWT snapshots which are at sonatype, and Maven thus uses the 
> pluginRepositories to download them as dependencies of the 
> gwt-maven-plugin 
> (it doesn't look like it uses the repositories listed in 
> gwt-maven-plugin's 
> own POM).
>
> Does it change anything if you declare google-snapshots as a 
> pluginRepository as well?
>
> On Thu, Oct 16, 2014 at 1:42 PM, Ümit Seren  
> wrote:
>
>> I have the same issue with maven 3.0.5
>>
>> [ERROR] Failed to execute goal 
>> org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (gwt-compile) 
>> on 
>> project genophenbrowser-client: Failed to resolve artifact: Some 
>> problems 
>> were encountered while processing the POMs:
>> [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact 
>> com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in 
>> sonatype-nexus-snapshots (
>

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Ümit Seren
Ok this error has nothing to do with GWT but with Errai. They iterate
through the current working directory (CWD) to find the output folder to
generate the server side marshalling classes. If the CWD has symbolic links
this will apparently result in a NullPointerException. I have the strong
feeling this is a bug (it should have a nullpointercheck).

On Thu, Oct 16, 2014 at 2:54 PM, Ümit Seren  wrote:

> Hmm that's weird. I remember that when I tried to compile the same app
> with 2.7.0-SNAPSHOT (gwt-maven plugin) two weeks ago it worked fine with
> maven 3.0.5.
>
> However I have now a different issue:
>
> I have used your gwt archetype (
> https://github.com/tbroyer/gwt-maven-archetypes)  and I have three
> modules (app-client, app-server and app-shared) inside a parent pom project
> (app) .
>
> When I run "mvn clean install" in app-client everything works fine (gwt
> compiles, finishes).
> However when I run "mvn clean install" in parent "app" pom projet I get
> following error:
>
> [INFO]Computing all possible rebind results for
> 'org.jboss.errai.marshalling.client.api.MarshallerFactory'
> [INFO]   Rebinding
> org.jboss.errai.marshalling.client.api.MarshallerFactory
> [INFO]  Invoking generator
> org.jboss.errai.marshalling.rebind.MarshallersGenerator
> [INFO] Generating Marshallers Bootstrapper...
> [ERROR] java.util.concurrent.ExecutionException:
> java.lang.NullPointerException
> [ERROR] at
> java.util.concurrent.FutureTask.report(FutureTask.java:122)
> [ERROR] at java.util.concurrent.FutureTask.get(FutureTask.java:188)
> [ERROR] at
> org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:112)
> [ERROR] at
> org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:86)
> [ERROR] at
> org.jboss.errai.config.rebind.AbstractAsyncGenerator.startAsyncGeneratorsAndWaitFor(AbstractAsyncGenerator.java:188)
> [ERROR] at
> org.jboss.errai.marshalling.rebind.MarshallersGenerator.generate(MarshallersGenerator.java:226)
> [ERROR] at
> com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
>
> [INFO] Caused by: java.lang.NullPointerException
> [INFO]  at
> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:453)
> [INFO]  at
> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
> [INFO]  at
> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
> [INFO]  at
> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
> [INFO]  at
> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
> [INFO]  at
> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
> [INFO]  at
> org.jboss.errai.codegen.util.ClassChangeUtil.findAllMatching(ClassChangeUtil.java:446)
>
>
>
>
> On Thu, Oct 16, 2014 at 2:29 PM, Thomas Broyer  wrote:
>
>> This is strange, because I tested the samples with Maven 3.0.5 (this is
>> still my default version) and didn't have this problem :-/
>>
>> On Thu, Oct 16, 2014 at 2:11 PM, Ümit Seren 
>> wrote:
>>
>>> no it didn't help unfortunately.
>>> But I upgraded to maven 3.2.1 and the error went away.
>>>
>>>
>>>
>>>
>>> On Thu, Oct 16, 2014 at 1:57 PM, Thomas Broyer 
>>> wrote:
>>>
 gwt-maven-plugin snapshots are deployed to codehaus, but the plugin
 depends on GWT snapshots which are at sonatype, and Maven thus uses the
 pluginRepositories to download them as dependencies of the gwt-maven-plugin
 (it doesn't look like it uses the repositories listed in gwt-maven-plugin's
 own POM).

 Does it change anything if you declare google-snapshots as a
 pluginRepository as well?

 On Thu, Oct 16, 2014 at 1:42 PM, Ümit Seren 
 wrote:

> I have the same issue with maven 3.0.5
>
> [ERROR] Failed to execute goal
> org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (gwt-compile) on
> project genophenbrowser-client: Failed to resolve artifact: Some problems
> were encountered while processing the POMs:
> [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact
> com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in
> sonatype-nexus-snapshots (
> https://oss.sonatype.org/content/repositories/snapshots) @
> com.google.gwt:gwt:2.7.0-SNAPSHOT,
> /home/GMI/uemit.seren/.m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom,
> line 50, column 25
> [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact
> org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT,
> /home/GMI/uemit.seren/.m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom,
> line 74, column 25
> [ERROR] for project
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full 

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Drew Spencer
Somehow I made the requestfactory error go away but I'm still getting this 
one:

[ERROR] Non-resolvable import POM: Could not find artifact 
org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT, 
C:\Users\Drew\.m2\repository\com\google\gwt\gwt\2.7.0-SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom,
 
line 74, column 25

I'm using Eclipse Luna with maven 3.2.1. Very odd.

On Thursday, 16 October 2014 13:55:12 UTC+1, Ümit Seren wrote:
>
> Hmm that's weird. I remember that when I tried to compile the same app 
> with 2.7.0-SNAPSHOT (gwt-maven plugin) two weeks ago it worked fine with 
> maven 3.0.5.
>
> However I have now a different issue: 
>
> I have used your gwt archetype (
> https://github.com/tbroyer/gwt-maven-archetypes)  and I have three 
> modules (app-client, app-server and app-shared) inside a parent pom project 
> (app) . 
>
> When I run "mvn clean install" in app-client everything works fine (gwt 
> compiles, finishes). 
> However when I run "mvn clean install" in parent "app" pom projet I get 
> following error: 
>
> [INFO]Computing all possible rebind results for 
> 'org.jboss.errai.marshalling.client.api.MarshallerFactory'
> [INFO]   Rebinding 
> org.jboss.errai.marshalling.client.api.MarshallerFactory
> [INFO]  Invoking generator 
> org.jboss.errai.marshalling.rebind.MarshallersGenerator
> [INFO] Generating Marshallers Bootstrapper...
> [ERROR] java.util.concurrent.ExecutionException: 
> java.lang.NullPointerException
> [ERROR] at 
> java.util.concurrent.FutureTask.report(FutureTask.java:122)
> [ERROR] at java.util.concurrent.FutureTask.get(FutureTask.java:188)
> [ERROR] at 
> org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:112)
> [ERROR] at 
> org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:86)
> [ERROR] at 
> org.jboss.errai.config.rebind.AbstractAsyncGenerator.startAsyncGeneratorsAndWaitFor(AbstractAsyncGenerator.java:188)
> [ERROR] at 
> org.jboss.errai.marshalling.rebind.MarshallersGenerator.generate(MarshallersGenerator.java:226)
> [ERROR] at 
> com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
>
> [INFO] Caused by: java.lang.NullPointerException
> [INFO]  at 
> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:453)
> [INFO]  at 
> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
> [INFO]  at 
> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
> [INFO]  at 
> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
> [INFO]  at 
> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
> [INFO]  at 
> org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
> [INFO]  at 
> org.jboss.errai.codegen.util.ClassChangeUtil.findAllMatching(ClassChangeUtil.java:446)
>
>
>
>
> On Thu, Oct 16, 2014 at 2:29 PM, Thomas Broyer  > wrote:
>
>> This is strange, because I tested the samples with Maven 3.0.5 (this is 
>> still my default version) and didn't have this problem :-/
>>
>> On Thu, Oct 16, 2014 at 2:11 PM, Ümit Seren > > wrote:
>>
>>> no it didn't help unfortunately. 
>>> But I upgraded to maven 3.2.1 and the error went away. 
>>>
>>>
>>>
>>>
>>> On Thu, Oct 16, 2014 at 1:57 PM, Thomas Broyer >> > wrote:
>>>
 gwt-maven-plugin snapshots are deployed to codehaus, but the plugin 
 depends on GWT snapshots which are at sonatype, and Maven thus uses the 
 pluginRepositories to download them as dependencies of the 
 gwt-maven-plugin 
 (it doesn't look like it uses the repositories listed in 
 gwt-maven-plugin's 
 own POM).

 Does it change anything if you declare google-snapshots as a 
 pluginRepository as well?

 On Thu, Oct 16, 2014 at 1:42 PM, Ümit Seren >>> > wrote:

> I have the same issue with maven 3.0.5
>
> [ERROR] Failed to execute goal 
> org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (gwt-compile) 
> on 
> project genophenbrowser-client: Failed to resolve artifact: Some problems 
> were encountered while processing the POMs:
> [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact 
> com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in 
> sonatype-nexus-snapshots (
> https://oss.sonatype.org/content/repositories/snapshots) @ 
> com.google.gwt:gwt:2.7.0-SNAPSHOT, 
> /home/GMI/uemit.seren/.m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom,
>  
> line 50, column 25
> [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact 
> org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT, 
> /home/GMI/uemit.seren/.m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom,
>  
> 

Re: RPC vs. RequestFactory vs. RestyGWT

2014-10-16 Thread Jonathan Franchesco Torres Baca
Hi, I share resources to reduce online learning.

good luck!

MOOC: https://holamundodev.appspot.com/preview

Post: http://www.enjava2.com/2014/07/devol.html

CRUD in GitHub:
Dailypoor - code : https://github.com/chescot2302/dailypoor

Link App: https://dailypoor.appspot.com/

APP in GitHub:
Devol - code : https://github.com/chescot2302/devol

Link App: https://devolpay.appspot.com/#X


2014-10-16 8:22 GMT-05:00 Ümit Seren :

> I have been using RequestFactory extensively for a project and I must say
> that although it is pretty well engineered, the learning curve is quite
> high.
> If you have a CRUD heacy application where you send and receive lots of
> data, it might be a good solution (because it only sends deltas).
> However there are also some pain points: For example on the server side it
> uses Reflection to initialize the server instances which is slower than if
> the code would be generated.
> Also currently there is no real further development ongoing (apart from
> some bugfixes).
>
> Another downside is that there is really strong coupling between backend
> and frontend with RF.
> In many cases you might need a public API to access the data from non GWT
> clients, so you might end up implementing two endpoints (RF and REST).
> If I would start again I probably would choose REST over RF just because
> it clearly separates frontend from backend.
>
>
>
>
>
> On Thursday, October 16, 2014 12:15:55 PM UTC+2, Ralf Klemmer wrote:
>>
>> I've used RPC, RequestFactory and now RestyGWT in some GWT projects.
>> In my opinion RequestFactory development should be canceled and replaced
>> by RestyGWT (or something like that).
>> My key arguments for that drastic opinion:
>>
>> RPC
>> + easy to learn
>> - proprietary
>> - problems when trying to send hierarchical entities over the wire
>> - mostly leads to DTOs, which leads to boilerplate code for mapping DTOs
>> and entities, which leads to hardly maintainable code if you have to deal
>> with hierarchical objects (e.g. entity A contains entity B which contains
>> list of entity C)
>>
>> RequestFactory
>> - proprietary
>> - high learning curve
>> - bad documentation (almost every is very old)
>> - development is slow (compared to other techniques)
>> -  boilerplate code
>> + "standard" GWT communication
>> + integration with Editor framework
>> + transfer of data delta between client and server
>>
>> RestyGWT
>> - no official part of the GWT framework and the potential risk of
>> development cancelation
>> + really, really easy
>> + Java standard
>> + great documentation (client side on RestyGWT site, server side on
>> RestyGWT and every other REST documentation)
>> + out-of-the-box accessible by any other device that can handle rest
>> services
>> + nearly no boilerplate code
>>
>> What's your opinion about that? Is RequestFactory the "right" way or not?
>> What are your experiences?
>>
>> I'm looking forward to your answers,
>> Ralf
>>
>  --
> 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+unsubscr...@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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Re: SDM incremental compiles and generators

2014-10-16 Thread Thomas Broyer


On Wednesday, October 15, 2014 4:14:49 PM UTC+2, Gal Dolber wrote:
>
> I kept digging on this issue. I was wrong before, its not that the 
> presenters reference the injector, the problem is that on every recompile 
> gwt add the entry point and trace all the reachable classes on the project. 
> My entry point has the reference to the injector and my injector has a 
> reference to most presenters on the project.
> I've been trying to hack on this to avoid recompiling all the generated 
> classes, but I can't get it to work. Any insight from the team is welcome. 
>

Assuming you're using a 2.7.0-SNAPSHOT, you'd have better luck on the 
GWT-contrib group.

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Re: Devmode (the classic one) using trunk

2014-10-16 Thread Alberto Mancini
I locally built master.


On Thu, Oct 16, 2014 at 5:24 PM, Thomas Broyer  wrote:
>
>
> On Thursday, October 16, 2014 12:36:45 PM UTC+2, Alberto Mancini wrote:
>>
>> indeed "option 2" of the post solves the problem.
>
>
> Just to make sure: did you "locally" built master, or are you relying on the
> snapshots we deploy daily to Sonatype OSSRH?
>
> --
> 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+unsubscr...@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.
> For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Re: Devmode (the classic one) using trunk

2014-10-16 Thread Thomas Broyer


On Thursday, October 16, 2014 12:36:45 PM UTC+2, Alberto Mancini wrote:
>
> indeed "option 2" of the post solves the problem. 
>

Just to make sure: did you "locally" built master, or are you relying on 
the snapshots we deploy daily to Sonatype OSSRH?

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Re: RPC vs. RequestFactory vs. RestyGWT

2014-10-16 Thread Thomas Broyer


On Thursday, October 16, 2014 3:22:47 PM UTC+2, Ümit Seren wrote:
>
> I have been using RequestFactory extensively for a project and I must say 
> that although it is pretty well engineered, the learning curve is quite 
> high. 
>

+1
 

> If you have a CRUD heacy application where you send and receive lots of 
> data, it might be a good solution (because it only sends deltas). 
>

Well, RF is good at RPC too (using ValueProxy).
I think Google is using it mostly that way, with the JSON-RPC dialect (I 
don't think they use the "native" dialect, that allows batching, etc.).

However there are also some pain points: For example on the server side it 
> uses Reflection to initialize the server instances which is slower than if 
> the code would be generated. 
>

I was thinking about generating code for the server (or JVM clients), but 
the current use of ServiceLayers is likely to greatly limit the gains in 
performance…
Still, walking the object hierarchies might benefit from such codegen.
 

> Also currently there is no real further development ongoing (apart from 
> some bugfixes). 
>

…but I never found the time and energy to actually work on the codegen.
 

> Another downside is that there is really strong coupling between backend 
> and frontend with RF. 
>

Though less strong that with GWT-RPC, because the client and server have to 
use "compatible" versions of the proxies (compatible in a way similar to 
how ProtoBufs are compatible with one another), not necessarily the exact 
same class as in GWT-RPC (well, there are solutions I believe for GWT-RPC, 
by having several serialization policies at once on the server).
 

> In many cases you might need a public API to access the data from non GWT 
> clients, so you might end up implementing two endpoints (RF and REST).
>

Well, RF has a well-defined (though not well-documented) protocol, and it's 
capable of using JSON-RPC (though only on client-side), so you *could* use 
a single endpoint.
But I otherwise agree with your point.

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Re: RPC vs. RequestFactory vs. RestyGWT

2014-10-16 Thread Ümit Seren
I have been using RequestFactory extensively for a project and I must say 
that although it is pretty well engineered, the learning curve is quite 
high. 
If you have a CRUD heacy application where you send and receive lots of 
data, it might be a good solution (because it only sends deltas). 
However there are also some pain points: For example on the server side it 
uses Reflection to initialize the server instances which is slower than if 
the code would be generated. 
Also currently there is no real further development ongoing (apart from 
some bugfixes). 

Another downside is that there is really strong coupling between backend 
and frontend with RF. 
In many cases you might need a public API to access the data from non GWT 
clients, so you might end up implementing two endpoints (RF and REST). 
If I would start again I probably would choose REST over RF just because it 
clearly separates frontend from backend. 



 

On Thursday, October 16, 2014 12:15:55 PM UTC+2, Ralf Klemmer wrote:
>
> I've used RPC, RequestFactory and now RestyGWT in some GWT projects.
> In my opinion RequestFactory development should be canceled and replaced 
> by RestyGWT (or something like that).
> My key arguments for that drastic opinion:
>
> RPC
> + easy to learn
> - proprietary
> - problems when trying to send hierarchical entities over the wire
> - mostly leads to DTOs, which leads to boilerplate code for mapping DTOs 
> and entities, which leads to hardly maintainable code if you have to deal 
> with hierarchical objects (e.g. entity A contains entity B which contains 
> list of entity C)
>
> RequestFactory
> - proprietary
> - high learning curve
> - bad documentation (almost every is very old)
> - development is slow (compared to other techniques)
> -  boilerplate code
> + "standard" GWT communication
> + integration with Editor framework
> + transfer of data delta between client and server
>
> RestyGWT
> - no official part of the GWT framework and the potential risk of 
> development cancelation
> + really, really easy
> + Java standard
> + great documentation (client side on RestyGWT site, server side on 
> RestyGWT and every other REST documentation)
> + out-of-the-box accessible by any other device that can handle rest 
> services
> + nearly no boilerplate code
>
> What's your opinion about that? Is RequestFactory the "right" way or not? 
> What are your experiences?
>
> I'm looking forward to your answers,
> Ralf
>

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Re: RPC vs. RequestFactory vs. RestyGWT

2014-10-16 Thread Vassilis Virvilis
I am using RestyGWT although I am still using it in a RPC type of way and
not in a RESTful way.

The main reason is that I can split the project to server part and client
part more easily. The server part goes with all of my other services
without gwt jars where it can share code etc...

 Vassilis

On Thu, Oct 16, 2014 at 1:15 PM, Ralf Klemmer 
wrote:

> I've used RPC, RequestFactory and now RestyGWT in some GWT projects.
> In my opinion RequestFactory development should be canceled and replaced
> by RestyGWT (or something like that).
> My key arguments for that drastic opinion:
>
> RPC
> + easy to learn
> - proprietary
> - problems when trying to send hierarchical entities over the wire
> - mostly leads to DTOs, which leads to boilerplate code for mapping DTOs
> and entities, which leads to hardly maintainable code if you have to deal
> with hierarchical objects (e.g. entity A contains entity B which contains
> list of entity C)
>
> RequestFactory
> - proprietary
> - high learning curve
> - bad documentation (almost every is very old)
> - development is slow (compared to other techniques)
> -  boilerplate code
> + "standard" GWT communication
> + integration with Editor framework
> + transfer of data delta between client and server
>
> RestyGWT
> - no official part of the GWT framework and the potential risk of
> development cancelation
> + really, really easy
> + Java standard
> + great documentation (client side on RestyGWT site, server side on
> RestyGWT and every other REST documentation)
> + out-of-the-box accessible by any other device that can handle rest
> services
> + nearly no boilerplate code
>
> What's your opinion about that? Is RequestFactory the "right" way or not?
> What are your experiences?
>
> I'm looking forward to your answers,
> Ralf
>
> --
> 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+unsubscr...@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.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Vassilis Virvilis

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Ümit Seren
Hmm that's weird. I remember that when I tried to compile the same app with
2.7.0-SNAPSHOT (gwt-maven plugin) two weeks ago it worked fine with maven
3.0.5.

However I have now a different issue:

I have used your gwt archetype (
https://github.com/tbroyer/gwt-maven-archetypes)  and I have three modules
(app-client, app-server and app-shared) inside a parent pom project (app) .

When I run "mvn clean install" in app-client everything works fine (gwt
compiles, finishes).
However when I run "mvn clean install" in parent "app" pom projet I get
following error:

[INFO]Computing all possible rebind results for
'org.jboss.errai.marshalling.client.api.MarshallerFactory'
[INFO]   Rebinding
org.jboss.errai.marshalling.client.api.MarshallerFactory
[INFO]  Invoking generator
org.jboss.errai.marshalling.rebind.MarshallersGenerator
[INFO] Generating Marshallers Bootstrapper...
[ERROR] java.util.concurrent.ExecutionException:
java.lang.NullPointerException
[ERROR] at
java.util.concurrent.FutureTask.report(FutureTask.java:122)
[ERROR] at java.util.concurrent.FutureTask.get(FutureTask.java:188)
[ERROR] at
org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:112)
[ERROR] at
org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:86)
[ERROR] at
org.jboss.errai.config.rebind.AbstractAsyncGenerator.startAsyncGeneratorsAndWaitFor(AbstractAsyncGenerator.java:188)
[ERROR] at
org.jboss.errai.marshalling.rebind.MarshallersGenerator.generate(MarshallersGenerator.java:226)
[ERROR] at
com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)

[INFO] Caused by: java.lang.NullPointerException
[INFO]  at
org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:453)
[INFO]  at
org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
[INFO]  at
org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
[INFO]  at
org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
[INFO]  at
org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
[INFO]  at
org.jboss.errai.codegen.util.ClassChangeUtil._findAllMatching(ClassChangeUtil.java:454)
[INFO]  at
org.jboss.errai.codegen.util.ClassChangeUtil.findAllMatching(ClassChangeUtil.java:446)




On Thu, Oct 16, 2014 at 2:29 PM, Thomas Broyer  wrote:

> This is strange, because I tested the samples with Maven 3.0.5 (this is
> still my default version) and didn't have this problem :-/
>
> On Thu, Oct 16, 2014 at 2:11 PM, Ümit Seren  wrote:
>
>> no it didn't help unfortunately.
>> But I upgraded to maven 3.2.1 and the error went away.
>>
>>
>>
>>
>> On Thu, Oct 16, 2014 at 1:57 PM, Thomas Broyer 
>> wrote:
>>
>>> gwt-maven-plugin snapshots are deployed to codehaus, but the plugin
>>> depends on GWT snapshots which are at sonatype, and Maven thus uses the
>>> pluginRepositories to download them as dependencies of the gwt-maven-plugin
>>> (it doesn't look like it uses the repositories listed in gwt-maven-plugin's
>>> own POM).
>>>
>>> Does it change anything if you declare google-snapshots as a
>>> pluginRepository as well?
>>>
>>> On Thu, Oct 16, 2014 at 1:42 PM, Ümit Seren 
>>> wrote:
>>>
 I have the same issue with maven 3.0.5

 [ERROR] Failed to execute goal
 org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (gwt-compile) on
 project genophenbrowser-client: Failed to resolve artifact: Some problems
 were encountered while processing the POMs:
 [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact
 com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in
 sonatype-nexus-snapshots (
 https://oss.sonatype.org/content/repositories/snapshots) @
 com.google.gwt:gwt:2.7.0-SNAPSHOT,
 /home/GMI/uemit.seren/.m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom,
 line 50, column 25
 [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact
 org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT,
 /home/GMI/uemit.seren/.m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom,
 line 74, column 25
 [ERROR] for project
 [ERROR] -> [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 uemit.seren@gmi-lws06:~/eclipse_workspaces/intellij/genophenbrowser/genophenbrowser-client$
 mvn --version
 Apache Maven 3.0.5
 Maven home: /usr/share/maven
 Java version: 1.7

Multiple cell Renderers (or composite cells with UiRenderer/UiHandler)

2014-10-16 Thread Shaun Tarves
I have a fairly complex question about using cells with UiRenderer. I'm 
finding that for the same object type, I have several variations of the 
cell that I render based on the view and context it's rendered in. For 
example, sometimes the cell has a button to remove/delete, other times it 
doesn't. Sometimes, I want to wrap text in anchor tags, other times I want 
them to just be spans. 95% of the cell rendering template is the same in 
these cases.

This creates (mostly) duplicative renderer code and xml, so I am looking 
for a better solution. My thought was to have a master renderer with some 
elements that would contain the rendered SafeHtml of smaller partial 
renderers.

I have seen that I can use a SafeHtml template to render a portion of the 
html for the cell renderer, but I would lose the ability to have UiHandlers 
on those elements created as just SafeHtml from the Template (which is 
really handy).

Is there a way to make this work? Can I delegate browser events to "sub" 
renderers? Is this better approach here?

I suppose what I'm asking for might be UiRenderer-based composite cells, 
but I've seen no examples of how to do this.

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Thomas Broyer
This is strange, because I tested the samples with Maven 3.0.5 (this is
still my default version) and didn't have this problem :-/

On Thu, Oct 16, 2014 at 2:11 PM, Ümit Seren  wrote:

> no it didn't help unfortunately.
> But I upgraded to maven 3.2.1 and the error went away.
>
>
>
>
> On Thu, Oct 16, 2014 at 1:57 PM, Thomas Broyer  wrote:
>
>> gwt-maven-plugin snapshots are deployed to codehaus, but the plugin
>> depends on GWT snapshots which are at sonatype, and Maven thus uses the
>> pluginRepositories to download them as dependencies of the gwt-maven-plugin
>> (it doesn't look like it uses the repositories listed in gwt-maven-plugin's
>> own POM).
>>
>> Does it change anything if you declare google-snapshots as a
>> pluginRepository as well?
>>
>> On Thu, Oct 16, 2014 at 1:42 PM, Ümit Seren 
>> wrote:
>>
>>> I have the same issue with maven 3.0.5
>>>
>>> [ERROR] Failed to execute goal
>>> org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (gwt-compile) on
>>> project genophenbrowser-client: Failed to resolve artifact: Some problems
>>> were encountered while processing the POMs:
>>> [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact
>>> com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in
>>> sonatype-nexus-snapshots (
>>> https://oss.sonatype.org/content/repositories/snapshots) @
>>> com.google.gwt:gwt:2.7.0-SNAPSHOT,
>>> /home/GMI/uemit.seren/.m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom,
>>> line 50, column 25
>>> [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact
>>> org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT,
>>> /home/GMI/uemit.seren/.m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom,
>>> line 74, column 25
>>> [ERROR] for project
>>> [ERROR] -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>>> uemit.seren@gmi-lws06:~/eclipse_workspaces/intellij/genophenbrowser/genophenbrowser-client$
>>> mvn --version
>>> Apache Maven 3.0.5
>>> Maven home: /usr/share/maven
>>> Java version: 1.7.0_72, vendor: Oracle Corporation
>>> Java home: /usr/lib/jvm/java-7-oracle/jre
>>> Default locale: de_DE, platform encoding: UTF-8
>>> OS name: "linux", version: "3.13.0-37-generic", arch: "amd64", family:
>>> "unix"
>>>
>>>
>>> This is how the repositories look like
>>>
>>> 
>>> 
>>> codehaus-snapshots
>>> 
>>> https://nexus.codehaus.org/content/groups/snapshots-group/
>>> 
>>> false
>>> 
>>> 
>>> true
>>> 
>>> 
>>> 
>>>
>>>
>>> 
>>> 
>>> google-snapshots
>>> 
>>> https://oss.sonatype.org/content/repositories/google-snapshots/
>>> 
>>> true
>>> 
>>> 
>>> false
>>> 
>>> 
>>> 
>>>
>>>
>>> When I checked the
>>> https://gwt.googlesource.com/gwt/+/master/samples/dynatablerf/pom.xml
>>> sample it had also the  
>>> https://oss.sonatype.org/content/repositories/google-snapshots/
>>> as a pluginRepository ?
>>>
>>> Where do you deploy the latest gwt-maven snapshot to sonatype or
>>> codehaus ?
>>>
>>>
>>>
>>> On Thursday, October 16, 2014 11:38:27 AM UTC+2, Thomas Broyer wrote:
>>>


 On Thu, Oct 16, 2014 at 11:10 AM, Drew Spencer 
 wrote:

> I think I'm getting two errors relating to the bugs in the POM that
> Thomas mentions above:
>
> [ERROR] Failed to execute goal 
> org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile
> (default-cli) on project UsavAppV7: Failed to resolve artifact: Some
> problems were encountered while processing the POMs:
> [ERROR] [ERROR] Non-resolvable import POM: Failure to find
> com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in
> https://oss.sonatype.org/content/repositories/snapshots was cached in
> the local repository, resolution will not be reattempted until the update
> interval of sonatype-nexus-snapshots has elapsed or updates are forced @
> com.google.gwt:gwt:2.7.0-SNAPSHOT, C:\Users\Drew\.m2\repository\
> com\google\gwt\gwt\2.7.0-SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom, line 50,
> column 25
> [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact
> org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT,
> C:\Users\Drew\.m2\repository\com\google\gwt\gwt\2.7.0-
> SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom, line 74, column 25
>
> I have tried adding gwt-dev, gwt-codeserver, and the asm dependency
> but still getting it. Also tried forcing an update of sn

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Ümit Seren
no it didn't help unfortunately.
But I upgraded to maven 3.2.1 and the error went away.




On Thu, Oct 16, 2014 at 1:57 PM, Thomas Broyer  wrote:

> gwt-maven-plugin snapshots are deployed to codehaus, but the plugin
> depends on GWT snapshots which are at sonatype, and Maven thus uses the
> pluginRepositories to download them as dependencies of the gwt-maven-plugin
> (it doesn't look like it uses the repositories listed in gwt-maven-plugin's
> own POM).
>
> Does it change anything if you declare google-snapshots as a
> pluginRepository as well?
>
> On Thu, Oct 16, 2014 at 1:42 PM, Ümit Seren  wrote:
>
>> I have the same issue with maven 3.0.5
>>
>> [ERROR] Failed to execute goal
>> org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (gwt-compile) on
>> project genophenbrowser-client: Failed to resolve artifact: Some problems
>> were encountered while processing the POMs:
>> [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact
>> com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in
>> sonatype-nexus-snapshots (
>> https://oss.sonatype.org/content/repositories/snapshots) @
>> com.google.gwt:gwt:2.7.0-SNAPSHOT,
>> /home/GMI/uemit.seren/.m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom,
>> line 50, column 25
>> [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact
>> org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT,
>> /home/GMI/uemit.seren/.m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom,
>> line 74, column 25
>> [ERROR] for project
>> [ERROR] -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>> uemit.seren@gmi-lws06:~/eclipse_workspaces/intellij/genophenbrowser/genophenbrowser-client$
>> mvn --version
>> Apache Maven 3.0.5
>> Maven home: /usr/share/maven
>> Java version: 1.7.0_72, vendor: Oracle Corporation
>> Java home: /usr/lib/jvm/java-7-oracle/jre
>> Default locale: de_DE, platform encoding: UTF-8
>> OS name: "linux", version: "3.13.0-37-generic", arch: "amd64", family:
>> "unix"
>>
>>
>> This is how the repositories look like
>>
>> 
>> 
>> codehaus-snapshots
>> 
>> https://nexus.codehaus.org/content/groups/snapshots-group/
>> 
>> false
>> 
>> 
>> true
>> 
>> 
>> 
>>
>>
>> 
>> 
>> google-snapshots
>> 
>> https://oss.sonatype.org/content/repositories/google-snapshots/
>> 
>> true
>> 
>> 
>> false
>> 
>> 
>> 
>>
>>
>> When I checked the
>> https://gwt.googlesource.com/gwt/+/master/samples/dynatablerf/pom.xml
>> sample it had also the  
>> https://oss.sonatype.org/content/repositories/google-snapshots/ as
>> a pluginRepository ?
>>
>> Where do you deploy the latest gwt-maven snapshot to sonatype or codehaus
>> ?
>>
>>
>>
>> On Thursday, October 16, 2014 11:38:27 AM UTC+2, Thomas Broyer wrote:
>>
>>>
>>>
>>> On Thu, Oct 16, 2014 at 11:10 AM, Drew Spencer 
>>> wrote:
>>>
 I think I'm getting two errors relating to the bugs in the POM that
 Thomas mentions above:

 [ERROR] Failed to execute goal 
 org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile
 (default-cli) on project UsavAppV7: Failed to resolve artifact: Some
 problems were encountered while processing the POMs:
 [ERROR] [ERROR] Non-resolvable import POM: Failure to find
 com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in
 https://oss.sonatype.org/content/repositories/snapshots was cached in
 the local repository, resolution will not be reattempted until the update
 interval of sonatype-nexus-snapshots has elapsed or updates are forced @
 com.google.gwt:gwt:2.7.0-SNAPSHOT, C:\Users\Drew\.m2\repository\
 com\google\gwt\gwt\2.7.0-SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom, line 50,
 column 25
 [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact
 org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT,
 C:\Users\Drew\.m2\repository\com\google\gwt\gwt\2.7.0-
 SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom, line 74, column 25

 I have tried adding gwt-dev, gwt-codeserver, and the asm dependency but
 still getting it. Also tried forcing an update of snapshots/releases but no
 change.

 I'm still a bit green when it comes to maven.

>>>
>>>
>>> Which version of Maven are you using? Also, have you configured the
>>> google-snapshots both as a repository *and* pluginRepository? (I think
>>> this is needed for the plugin to resolve its dependencies)
>>>
>

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Thomas Broyer
gwt-maven-plugin snapshots are deployed to codehaus, but the plugin depends
on GWT snapshots which are at sonatype, and Maven thus uses the
pluginRepositories to download them as dependencies of the gwt-maven-plugin
(it doesn't look like it uses the repositories listed in gwt-maven-plugin's
own POM).

Does it change anything if you declare google-snapshots as a
pluginRepository as well?

On Thu, Oct 16, 2014 at 1:42 PM, Ümit Seren  wrote:

> I have the same issue with maven 3.0.5
>
> [ERROR] Failed to execute goal
> org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (gwt-compile) on
> project genophenbrowser-client: Failed to resolve artifact: Some problems
> were encountered while processing the POMs:
> [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact
> com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in
> sonatype-nexus-snapshots (
> https://oss.sonatype.org/content/repositories/snapshots) @
> com.google.gwt:gwt:2.7.0-SNAPSHOT,
> /home/GMI/uemit.seren/.m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom,
> line 50, column 25
> [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact
> org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT,
> /home/GMI/uemit.seren/.m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom,
> line 74, column 25
> [ERROR] for project
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> uemit.seren@gmi-lws06:~/eclipse_workspaces/intellij/genophenbrowser/genophenbrowser-client$
> mvn --version
> Apache Maven 3.0.5
> Maven home: /usr/share/maven
> Java version: 1.7.0_72, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-7-oracle/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "3.13.0-37-generic", arch: "amd64", family:
> "unix"
>
>
> This is how the repositories look like
>
> 
> 
> codehaus-snapshots
> 
> https://nexus.codehaus.org/content/groups/snapshots-group/
> 
> false
> 
> 
> true
> 
> 
> 
>
>
> 
> 
> google-snapshots
> 
> https://oss.sonatype.org/content/repositories/google-snapshots/
> 
> true
> 
> 
> false
> 
> 
> 
>
>
> When I checked the
> https://gwt.googlesource.com/gwt/+/master/samples/dynatablerf/pom.xml
> sample it had also the  
> https://oss.sonatype.org/content/repositories/google-snapshots/ as
> a pluginRepository ?
>
> Where do you deploy the latest gwt-maven snapshot to sonatype or codehaus
> ?
>
>
>
> On Thursday, October 16, 2014 11:38:27 AM UTC+2, Thomas Broyer wrote:
>
>>
>>
>> On Thu, Oct 16, 2014 at 11:10 AM, Drew Spencer 
>> wrote:
>>
>>> I think I'm getting two errors relating to the bugs in the POM that
>>> Thomas mentions above:
>>>
>>> [ERROR] Failed to execute goal 
>>> org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile
>>> (default-cli) on project UsavAppV7: Failed to resolve artifact: Some
>>> problems were encountered while processing the POMs:
>>> [ERROR] [ERROR] Non-resolvable import POM: Failure to find
>>> com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in
>>> https://oss.sonatype.org/content/repositories/snapshots was cached in
>>> the local repository, resolution will not be reattempted until the update
>>> interval of sonatype-nexus-snapshots has elapsed or updates are forced @
>>> com.google.gwt:gwt:2.7.0-SNAPSHOT, C:\Users\Drew\.m2\repository\
>>> com\google\gwt\gwt\2.7.0-SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom, line 50,
>>> column 25
>>> [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact
>>> org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT,
>>> C:\Users\Drew\.m2\repository\com\google\gwt\gwt\2.7.0-
>>> SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom, line 74, column 25
>>>
>>> I have tried adding gwt-dev, gwt-codeserver, and the asm dependency but
>>> still getting it. Also tried forcing an update of snapshots/releases but no
>>> change.
>>>
>>> I'm still a bit green when it comes to maven.
>>>
>>
>>
>> Which version of Maven are you using? Also, have you configured the
>> google-snapshots both as a repository *and* pluginRepository? (I think
>> this is needed for the plugin to resolve its dependencies)
>>
>> I was fighting yesterday with a discrepancy between Maven 3.0.5 and 3.1 /
>> 3.2 with the maven-invoker-plugin (used to run tests of the
>> gwt-maven-plugin): things passed with 3.1 (on BuildHive) and 3.2 (on
>> Travis-CI) but failed on my machine (3.0.5). Trying with 3.2.3 on my
>> ma

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Ümit Seren
I have the same issue with maven 3.0.5

[ERROR] Failed to execute goal 
org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (gwt-compile) on 
project genophenbrowser-client: Failed to resolve artifact: Some problems 
were encountered while processing the POMs:
[ERROR] [ERROR] Non-resolvable import POM: Could not find artifact 
com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in 
sonatype-nexus-snapshots (
https://oss.sonatype.org/content/repositories/snapshots) @ 
com.google.gwt:gwt:2.7.0-SNAPSHOT, 
/home/GMI/uemit.seren/.m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom,
 
line 50, column 25
[ERROR] [ERROR] Non-resolvable import POM: Could not find artifact 
org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT, 
/home/GMI/uemit.seren/.m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom,
 
line 74, column 25
[ERROR] for project
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, 
please read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
uemit.seren@gmi-lws06:~/eclipse_workspaces/intellij/genophenbrowser/genophenbrowser-client$
 
mvn --version
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_72, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-37-generic", arch: "amd64", family: 
"unix"


This is how the repositories look like



codehaus-snapshots
https://nexus.codehaus.org/content/groups/snapshots-group/


false


true







google-snapshots

https://oss.sonatype.org/content/repositories/google-snapshots/

true


false





When I checked the 
https://gwt.googlesource.com/gwt/+/master/samples/dynatablerf/pom.xml 
sample it had also the  
https://oss.sonatype.org/content/repositories/google-snapshots/ as a 
pluginRepository ? 

Where do you deploy the latest gwt-maven snapshot to sonatype or codehaus ? 



On Thursday, October 16, 2014 11:38:27 AM UTC+2, Thomas Broyer wrote:
>
>
>
> On Thu, Oct 16, 2014 at 11:10 AM, Drew Spencer  > wrote:
>
>> I think I'm getting two errors relating to the bugs in the POM that 
>> Thomas mentions above:
>>
>> [ERROR] Failed to execute goal 
>> org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (default-cli) on 
>> project UsavAppV7: Failed to resolve artifact: Some problems were 
>> encountered while processing the POMs:
>> [ERROR] [ERROR] Non-resolvable import POM: Failure to find 
>> com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in 
>> https://oss.sonatype.org/content/repositories/snapshots was cached in 
>> the local repository, resolution will not be reattempted until the update 
>> interval of sonatype-nexus-snapshots has elapsed or updates are forced @ 
>> com.google.gwt:gwt:2.7.0-SNAPSHOT, 
>> C:\Users\Drew\.m2\repository\com\google\gwt\gwt\2.7.0-SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom,
>>  
>> line 50, column 25
>> [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact 
>> org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT, 
>> C:\Users\Drew\.m2\repository\com\google\gwt\gwt\2.7.0-SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom,
>>  
>> line 74, column 25
>>
>> I have tried adding gwt-dev, gwt-codeserver, and the asm dependency but 
>> still getting it. Also tried forcing an update of snapshots/releases but no 
>> change.
>>
>> I'm still a bit green when it comes to maven.
>>
>
>
> Which version of Maven are you using? Also, have you configured the 
> google-snapshots both as a repository *and* pluginRepository? (I think 
> this is needed for the plugin to resolve its dependencies)
>
> I was fighting yesterday with a discrepancy between Maven 3.0.5 and 3.1 / 
> 3.2 with the maven-invoker-plugin (used to run tests of the 
> gwt-maven-plugin): things passed with 3.1 (on BuildHive) and 3.2 (on 
> Travis-CI) but failed on my machine (3.0.5). Trying with 3.2.3 on my 
> machine, things worked. The error was exactly the same wrt 
> com.google.web.bindery:requestfactory.
>
> The error about ASM is strange though, it's in Central so it should Just 
> Work™, unless you have some repository/mirror configuration getting in the 
> way?
>
>
> -- 
> Thomas Broyer
> /tɔ.ma.bʁwa.je/  
>

-- 
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+unsubscr...@googlegroups.com.
T

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Drew Spencer
I'm using Eclipse Kepler with m2e 1.4.0.2xx. I think my maven version is 
3.0.4 - it's the one that came embedded with eclipse. I'll try the new 
eclipse and see what that says.



On Thursday, 16 October 2014 10:38:27 UTC+1, Thomas Broyer wrote:
>
>
>
> On Thu, Oct 16, 2014 at 11:10 AM, Drew Spencer  > wrote:
>
>> I think I'm getting two errors relating to the bugs in the POM that 
>> Thomas mentions above:
>>
>> [ERROR] Failed to execute goal 
>> org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (default-cli) on 
>> project UsavAppV7: Failed to resolve artifact: Some problems were 
>> encountered while processing the POMs:
>> [ERROR] [ERROR] Non-resolvable import POM: Failure to find 
>> com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in 
>> https://oss.sonatype.org/content/repositories/snapshots was cached in 
>> the local repository, resolution will not be reattempted until the update 
>> interval of sonatype-nexus-snapshots has elapsed or updates are forced @ 
>> com.google.gwt:gwt:2.7.0-SNAPSHOT, 
>> C:\Users\Drew\.m2\repository\com\google\gwt\gwt\2.7.0-SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom,
>>  
>> line 50, column 25
>> [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact 
>> org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT, 
>> C:\Users\Drew\.m2\repository\com\google\gwt\gwt\2.7.0-SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom,
>>  
>> line 74, column 25
>>
>> I have tried adding gwt-dev, gwt-codeserver, and the asm dependency but 
>> still getting it. Also tried forcing an update of snapshots/releases but no 
>> change.
>>
>> I'm still a bit green when it comes to maven.
>>
>
>
> Which version of Maven are you using? Also, have you configured the 
> google-snapshots both as a repository *and* pluginRepository? (I think 
> this is needed for the plugin to resolve its dependencies)
>
> I was fighting yesterday with a discrepancy between Maven 3.0.5 and 3.1 / 
> 3.2 with the maven-invoker-plugin (used to run tests of the 
> gwt-maven-plugin): things passed with 3.1 (on BuildHive) and 3.2 (on 
> Travis-CI) but failed on my machine (3.0.5). Trying with 3.2.3 on my 
> machine, things worked. The error was exactly the same wrt 
> com.google.web.bindery:requestfactory.
>
> The error about ASM is strange though, it's in Central so it should Just 
> Work™, unless you have some repository/mirror configuration getting in the 
> way?
>
>
> -- 
> Thomas Broyer
> /tɔ.ma.bʁwa.je/  
>

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


RPC vs. RequestFactory vs. RestyGWT

2014-10-16 Thread Ralf Klemmer
I've used RPC, RequestFactory and now RestyGWT in some GWT projects.
In my opinion RequestFactory development should be canceled and replaced by 
RestyGWT (or something like that).
My key arguments for that drastic opinion:

RPC
+ easy to learn
- proprietary
- problems when trying to send hierarchical entities over the wire
- mostly leads to DTOs, which leads to boilerplate code for mapping DTOs 
and entities, which leads to hardly maintainable code if you have to deal 
with hierarchical objects (e.g. entity A contains entity B which contains 
list of entity C)

RequestFactory
- proprietary
- high learning curve
- bad documentation (almost every is very old)
- development is slow (compared to other techniques)
-  boilerplate code
+ "standard" GWT communication
+ integration with Editor framework
+ transfer of data delta between client and server

RestyGWT
- no official part of the GWT framework and the potential risk of 
development cancelation
+ really, really easy
+ Java standard
+ great documentation (client side on RestyGWT site, server side on 
RestyGWT and every other REST documentation)
+ out-of-the-box accessible by any other device that can handle rest 
services
+ nearly no boilerplate code

What's your opinion about that? Is RequestFactory the "right" way or not? 
What are your experiences?

I'm looking forward to your answers,
Ralf

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Re: Devmode (the classic one) using trunk

2014-10-16 Thread Alberto Mancini
indeed "option 2" of the post solves the problem.

Thanks.
   Alberto.

On Thu, Oct 16, 2014 at 10:31 AM, Jens  wrote:
> Read: http://www.draconianoverlord.com/2014/04/01/jdk-compatibility.html
>
> -- J.
>
> --
> 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+unsubscr...@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.
> For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Thomas Broyer
On Thu, Oct 16, 2014 at 11:10 AM, Drew Spencer 
wrote:

> I think I'm getting two errors relating to the bugs in the POM that Thomas
> mentions above:
>
> [ERROR] Failed to execute goal
> org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (default-cli) on
> project UsavAppV7: Failed to resolve artifact: Some problems were
> encountered while processing the POMs:
> [ERROR] [ERROR] Non-resolvable import POM: Failure to find
> com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in
> https://oss.sonatype.org/content/repositories/snapshots was cached in the
> local repository, resolution will not be reattempted until the update
> interval of sonatype-nexus-snapshots has elapsed or updates are forced @
> com.google.gwt:gwt:2.7.0-SNAPSHOT,
> C:\Users\Drew\.m2\repository\com\google\gwt\gwt\2.7.0-SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom,
> line 50, column 25
> [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact
> org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT,
> C:\Users\Drew\.m2\repository\com\google\gwt\gwt\2.7.0-SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom,
> line 74, column 25
>
> I have tried adding gwt-dev, gwt-codeserver, and the asm dependency but
> still getting it. Also tried forcing an update of snapshots/releases but no
> change.
>
> I'm still a bit green when it comes to maven.
>


Which version of Maven are you using? Also, have you configured the
google-snapshots both as a repository *and* pluginRepository? (I think this
is needed for the plugin to resolve its dependencies)

I was fighting yesterday with a discrepancy between Maven 3.0.5 and 3.1 /
3.2 with the maven-invoker-plugin (used to run tests of the
gwt-maven-plugin): things passed with 3.1 (on BuildHive) and 3.2 (on
Travis-CI) but failed on my machine (3.0.5). Trying with 3.2.3 on my
machine, things worked. The error was exactly the same wrt
com.google.web.bindery:requestfactory.

The error about ASM is strange though, it's in Central so it should Just
Work™, unless you have some repository/mirror configuration getting in the
way?


-- 
Thomas Broyer
/tɔ.ma.bʁwa.je/ 

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Drew Spencer
I think I'm getting two errors relating to the bugs in the POM that Thomas 
mentions above:

[ERROR] Failed to execute goal 
org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (default-cli) on 
project UsavAppV7: Failed to resolve artifact: Some problems were 
encountered while processing the POMs:
[ERROR] [ERROR] Non-resolvable import POM: Failure to find 
com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in 
https://oss.sonatype.org/content/repositories/snapshots was cached in the 
local repository, resolution will not be reattempted until the update 
interval of sonatype-nexus-snapshots has elapsed or updates are forced @ 
com.google.gwt:gwt:2.7.0-SNAPSHOT, 
C:\Users\Drew\.m2\repository\com\google\gwt\gwt\2.7.0-SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom,
 
line 50, column 25
[ERROR] [ERROR] Non-resolvable import POM: Could not find artifact 
org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT, 
C:\Users\Drew\.m2\repository\com\google\gwt\gwt\2.7.0-SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom,
 
line 74, column 25

I have tried adding gwt-dev, gwt-codeserver, and the asm dependency but 
still getting it. Also tried forcing an update of snapshots/releases but no 
change.

I'm still a bit green when it comes to maven.

On Sunday, 12 October 2014 20:02:49 UTC+1, Thomas Broyer wrote:
>
> Yes, there's actually a bug in the parent POM: 
> https://gwt-review.googlesource.com/9642
>
> (note: you need more than asm –see POM–, but possibly only under some 
> conditions – classic DevMode?)
>
> On Sun, Oct 12, 2014 at 8:53 PM, Ramon Salla  > wrote:
>
>> Adding http://mvnrepository.com/artifact/org.ow2.asm/asm/5.0.3 it worked 
>> again.
>>
>>
>>
>> El diumenge 12 d’octubre de 2014 10:35:09 UTC+2, Thomas Broyer va 
>> escriure:
>>
>>> Hi all,
>>>
>>> If you're using 2.7.0-SNAPSHOT, your build might start failing as of 
>>> today as we started unbundling dependencies from gwt-dev as published to 
>>> the Central Repository.
>>>
>>> java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor
>>>
>>>
>>> If you get this error, be sure to also update your gwt-maven-plugin to 
>>> the latest 2.7.0-SNAPSHOT too.
>>>
>>> If that doesn't work, add gwt-dev or (better) gwt-codeserver as a 
>>> project dependency (and report the problem to https://groups.google.com/
>>> d/forum/codehaus-mojo-gwt-maven-plugin-users). This is likely to become 
>>> the preferred way to use GWT in the future, and the gwt-maven-plugin might 
>>> stop automatically adding GWT deps to the classpath in gwt:compile or 
>>> gwt:run in a future version (probably not 2.7 though): as we'll unbundle 
>>> more dependencies from gwt-dev (and gwt-user), you might want to gain 
>>> control over those dependencies (e.g. using a newer version of Guava, or 
>>> ASM, etc.) and this is not possible with plugin dependencies as it's done 
>>> today within the gwt-maven-plugin.
>>>
>>> Also noteworthy: that same change also turned com.google.gwt:gwt into a 
>>> BOM (bill of material); that means that instead of including the  
>>> in all your GWT dependencies you can now declare com.google.gwt:gwt into 
>>> your dependencyManagement section with import. As a bonus, 
>>> it should ensure transitive dependencies to GWT will all use the same 
>>> version, so you'll have fewer risks of conflicts.
>>>
>>> I'll soon update the GWT samples, WebAppCreator templates and various 
>>> archetypes to use those new "best practices".
>>>
>>  -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Google Web Toolkit" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-web-toolkit/LwXXQCG_I_k/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> google-web-toolkit+unsubscr...@googlegroups.com .
>> To post to this group, send email to google-we...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Thomas Broyer
> /tɔ.ma.bʁwa.je/  
>

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Re: Devmode (the classic one) using trunk

2014-10-16 Thread Jens
Read: http://www.draconianoverlord.com/2014/04/01/jdk-compatibility.html

-- J.

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Devmode (the classic one) using trunk

2014-10-16 Thread Alberto Mancini
Hi, 
doing some test using the last trunk I got this error trying to start 
devmode. 

I think it is not really something important cause we are 'leaving' devmode 
but 
at least something to notice.

Alberto. 


08:41:54.975 [ERROR] [sdm0] Unable to load module entry point class null 
(see associated exception for details)

java.lang.NoClassDefFoundError: java/lang/reflect/Executable
at 
com.google.gwt.dev.shell.JavaDispatchImpl.getMethod(JavaDispatchImpl.java:122)
at 
com.google.gwt.dev.shell.JsValueOOPHM$DispatchObjectOOPHM.getField(JsValueOOPHM.java:56)
at 
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:168)
at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:341)
at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:222)
at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:137)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:589)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:293)
at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:104)
at com.google.gwt.core.client.impl.Impl.registerEntry(Impl.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:374)
at 
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:530)
at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:368)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.ClassNotFoundException: java.lang.reflect.Executable
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at 
com.google.gwt.dev.shell.JavaDispatchImpl.getMethod(JavaDispatchImpl.java:122)
at 
com.google.gwt.dev.shell.JsValueOOPHM$DispatchObjectOOPHM.getField(JsValueOOPHM.java:56)
at 
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:168)
at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:341)
at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:222)
at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:137)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:589)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:293)
at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:104)
at com.google.gwt.core.client.impl.Impl.registerEntry(Impl.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:374)
at 
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:530)
at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:368)
at java.lang.Thread.run(Thread.java:744)


-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.