Griffon Launcher

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

License

License

Categories

Categories

Ant Build Tools
GroupId

GroupId

org.codehaus.griffon
ArtifactId

ArtifactId

griffon-launcher-ant
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 (for Apache Ant)
Source Code Management

Source Code Management

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

Download griffon-launcher-ant

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.codehaus.griffon : griffon-launcher jar 1.1.0
org.apache.ant : ant jar 1.8.2

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