Griffon Launcher

A standalone library for launching any version of Griffon in the same JVM with an isolated classpath

License

License

GroupId

GroupId

org.codehaus.griffon
ArtifactId

ArtifactId

griffon-launcher
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Griffon Launcher
A standalone library for launching any version of Griffon in the same JVM with an isolated classpath
Source Code Management

Source Code Management

https://github.com/griffon/griffon-launcher/

Download griffon-launcher

How to add to project

<!-- https://jarcasting.com/artifacts/org.codehaus.griffon/griffon-launcher/ -->
<dependency>
    <groupId>org.codehaus.griffon</groupId>
    <artifactId>griffon-launcher</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.codehaus.griffon/griffon-launcher/
implementation 'org.codehaus.griffon:griffon-launcher:1.1.0'
// https://jarcasting.com/artifacts/org.codehaus.griffon/griffon-launcher/
implementation ("org.codehaus.griffon:griffon-launcher:1.1.0")
'org.codehaus.griffon:griffon-launcher:jar:1.1.0'
<dependency org="org.codehaus.griffon" name="griffon-launcher" rev="1.1.0">
  <artifact name="griffon-launcher" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.codehaus.griffon', module='griffon-launcher', version='1.1.0')
)
libraryDependencies += "org.codehaus.griffon" % "griffon-launcher" % "1.1.0"
[org.codehaus.griffon/griffon-launcher "1.1.0"]

Dependencies

test (1)

Group / Artifact Type Version
org.spockframework : spock-core jar 0.7-groovy-2.0

Project Modules

There are no modules declared in this project.

griffon-launcher

A thin jar with no dependencies for launching Griffon (with an isolated classpath) programatically (e.g from Maven or Gradle) in the same JVM.

import org.codehaus.griffon.launcher.GriffonLauncher
import org.codehaus.griffon.launcher.RootLoader

// Setup the classpath for Griffon
def classpath = []

griffonJars.each { path ->
    classpath << new URL(path)
}

// Create a root class loader
def classloader = new RootLoader(classpath)

def launcher = new GriffonLauncher(classloader, null, "/a/griffon/project")
launcher.launch("test-app", "integration some.package.*")

This is a port of grails-launcher original from Peter Ledbrook and Luke Daley.

org.codehaus.griffon

Versions

Version
1.1.0
1.0.0