Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 45 Current »

Check out how to integrate GPars into your projects.

Grape

Integration using Grape is very straightforward:

Snapshots

Grape config (optional)

GPars optionally relies on a couple of third-party libraries. Most of them reside in the central maven repository, however, since since the Netty lib resides in the jboss repository only, to leverage the (prototype) remoting capabilities, you either need to use the GrabResolver annotation (in Groovy 1.7):

or make sure your grapeConfig.xml file contains all the necessary maven repositories:

Gradle

GPars is stored in the central maven repository at http://repo1.maven.org/maven2/org/codehaus/gpars/ and also in the Codehaus maven repository at http://repository.codehaus.org/org/codehaus/gpars/gpars/ . To include GPars in your project add either of the following repositories and also the dependency into your project:

Snapshots

Maven

To include GPars in your project add the following (optional) repositories and dependencies into your project:

Sample maven-based Java API demo project

You may also like a stand-alone maven-based Java API sample project showing how to use GPars from Java and how to integrate GPars with Maven.

And the same sample project is available for the SNAPSHOT release.

Snapshots

Grails

GPars Grails plugin- grails install-plugin gpars

Grails since 1.2

Leveraging the build in dependency management you can instad installing the plugins update the BuildConfig.groovy file accordingly:

Griffon

Using the Griffon built-in dependency management:

You may also consider using the plugins to enable GPars for older Griffon versions

GPars Griffon plugin - griffon install-plugin gpars

Dependencies

GPars itself depends on a couple of libraries from the maven central repository. Check out the GPars public pom:

License

Licensed under APL 2.0 - License

  • No labels