gradle-wonder-plugin is a Gradle helper plugin to build WebObjects / Project Wonder based applications. It provides basic facilities to accomodate the specific project structure and requirements of WO applications and helps deploying them in a test environment.
Check out the plugin and run gradle build publishToMavenLocal
to publish into your local maven repository. Then add a buildscript dependency on the plugin, use either the woapplication
or woframework
plugin and further configure the plugin in the wonder
block.
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath 'com.xyrality.gradle:gradle-wonder-plugin:1.0.0'
}
}
version = '1.2.3'
apply plugin: 'woapplication'
wonder {
wonderVersion = '6.1.2'
webobjectsVersion = '5.4.3'
applicationClass = 'er.movies.Application'
deploymentServers = ['localhost']
deploymentSSHUser = 'wouser'
deploymentPath = '/home/wouser/apps'
deploymentSSHPort = 2222
deploymentMonitorBounceTasks = ['localhost':'Movies']
deploymentSSHIgnoreHostKey = true
}
woframework - build a WO framework in build/project.framework
woapplication - build a WO application in build/project.woa
copyDependencies - copy all dependent JARs and frameworks into the build folder
copyToServers - copy the resulting .woa to configured deployment servers
copyToServer- - copy the resulting .woa to one configured deployment server
deployToServers - set the application binary path and bounce the application on the configured JavaMonitors
deployToServer-/ - set the application binary path on one JavaMonitor/application and bounce
See LICENSE, forks and pull requests are welcome.