GrapeでGparsを使おうとすると依存性が解決しきれなくて困った件
Congrats!! RT @glaforge: Looks like #gpars 0.9-beta-1 is out! http://bit.ly/8zoLVx Concurrency, parallelism, distribution fun with #groovy!
2009-12-04 20:12:22Are those dependencies correct? Grab("org.codehaus.gpars:gpars:0.9-beta-1") is failed. http://bit.ly/7pIMi1 #groovy
2009-12-04 20:17:01@nobeans Until codehaus propagates the change into maven central (http://tinyurl.com/ydkelq3) you need to configure codehaus repo for grape
2009-12-04 21:10:18@vaclav_pech With codehaus repo, unresolved dependencies occurs:[org.grails#grails-docs;1.2.0.BUILD-SNAPSHOT,org.jboss.netty#netty;3.1.5.GA]
2009-12-04 21:37:51@vaclav_pech Maybe the two products are not released version.
2009-12-04 21:40:32org.grails#grails-docs; and org.jboss.netty are compile-time only GPars dependencies, you shouldn't need them in your dependency list
2009-12-04 23:01:28@vaclav_pech Thanks! I found org.jboss.netty in jboss repository. When I added jboss repo to grapeConfig.xml, it had resolved successfully.
2009-12-04 23:16:34@vaclav_pech But I can't find grails-doc#1.2.0.BUILD-SNAPSHOT, yet. Isn't it in codehaus repo? Other versions is there. http://bit.ly/7rMhWd
2009-12-04 23:19:45@nobeans Then it must be http://snapshots.repository.codehaus.org
2009-12-05 00:49:24@nobeans But I still wonder why you need to include those to use GPars. They are only needed to compile GPars. I'll have to have a look
2009-12-05 00:51:10@nobeans BTW, GPars has already been propagated into maven central
2009-12-05 00:51:58@vaclav_pech Great! When I added the snapshots codehaus repo, I succeeded in running my script.
2009-12-05 00:59:40@vaclav_pech Because I want to prepare execution environments for my scripts including GPars library by using Grape .
2009-12-05 01:02:28@nobeans Would you mind sending me the GPars-related part of the Grape config? I'd like to share it with other GPars users.
2009-12-05 01:12:19@vaclav_pech Scopes of dependencies are rightly "compile" in pom.xml. But Grape make resolving the dependencies at runtime of my scirpts...
2009-12-05 01:12:48@vaclav_pech I try to run this sample code: http://bit.ly/8fXI7K
2009-12-05 01:19:41@vaclav_pech I seem grails-doc should be "provided" scope. grails-doc and org.netty is necessary at runtime?
2009-12-05 01:30:12@vaclav_pech Can you see following gists? sample code: http://bit.ly/8fXI7K , grapeConfig.xml: http://bit.ly/7qbX1I
2009-12-05 01:38:02@vaclav_pech Now it's too late at night in Japan. So I go to sleep. Thank you for your help. nite! zzz...
2009-12-05 01:47:02@nobeans Awesome! Many thanks, I've updated the GPars integration page accordingly. I need to figure out how to specify "provided" in gradle
2009-12-05 03:00:08@nobeans We will definitely need to get rid of the grails-doc dependency in 0.9 final
2009-12-05 03:00:43