• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using WO with modern dependency management
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using WO with modern dependency management


  • Subject: Re: Using WO with modern dependency management
  • From: Dennis Bliefernicht <email@hidden>
  • Date: Mon, 04 May 2015 10:36:54 +0200

HI,

On 02 May 2015, at 02:52, Ângelo Andrade Cirino <email@hidden> wrote:

Gradle has been mentioned a couple of times in the list. Would Gradle be a definitive approach to modernize the whole build process?

It's definitely a possibility and exactly what we did at Xyrality (after going through a lot of pain trying to migrate to maven). We did a talk about that at WOWODC 2015, if you have access to that; otherwise check out https://github.com/Xyrality/gradle-wonder-plugin which is a basic plugin implementation for WOnder development. You need to clone that repo and run "gradle build publishToMavenLocal" in there to install it to your local installation for now. After that you should be able to use it for your projects. A basic example, we did, was to convert the Moves project from the wonder/Examples/misc repository. Basically you just need to add the build.gradle with these contents and run "gradle woapplication":

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
}

dependencies {
compile group: 'wonder.core', name: 'WOOgnl', version: wonder.wonderVersion
compile group: 'com.webobjects', name: 'JavaXML', version: wonder.webobjectsVersion
compile group: 'wonder.misc', name: 'ERChronic', version: wonder.wonderVersion
compile group: 'wonder.ajax', name: 'Ajax', version: wonder.wonderVersion
compile group: 'wonder.businesslogic', name: 'ERTaggable', version: wonder.wonderVersion
compile group: 'wonder.businesslogic', name: 'ERAttachment', version: wonder.wonderVersion
compile group: 'wonder.businesslogic', name: 'ERMoviesLogic', version: wonder.wonderVersion
compile group: 'wonder.eof', name: 'ERRest', version: wonder.wonderVersion
compile group: 'wonder.plugins', name: 'H2PlugIn', version: wonder.wonderVersion
}

Feel free to have a look at the plugin and file issues and pull requests, if something doesn't work out :-) It also features test support and some basic deployment via SSH and JavaMonitor.

We have been using this for about a year now successfully in building and continuous integration. The Gradle STS plugin for eclipse plays nice with WOLips as far as we can tell; you can import the converted project directly as a Gradle project. Multi-build should work as well (currently working on a 15-subproject build).

If something breaks, go ahead and ask some more :-)
Greetings
Dennis

--
XYRALITY GmbH • Friedensallee 290 • 22763 Hamburg
Dennis Bliefernicht • Backend Development
Mail: email@hidden
Tel: +49 (0) 40 35 73 001 - 62
Fax: +49 (0) 40 35 73 001 - 99
Web: http://www.xyrality.com/
Registergericht: Hamburg HRB 115332
Geschäftsführer: Sven Ossenbrüggen


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Using WO with modern dependency management
      • From: Ângelo Andrade Cirino <email@hidden>
References: 
 >Using WO with modern dependency management (From: Hugi Thordarson <email@hidden>)
 >Re: Using WO with modern dependency management (From: Ângelo Andrade Cirino <email@hidden>)

  • Prev by Date: Re: WOLips update site for Eclipse 4.4 (Luna)
  • Next by Date: Re: Wonder 7 and 8
  • Previous by thread: Re: Using WO with modern dependency management
  • Next by thread: Re: Using WO with modern dependency management
  • Index(es):
    • Date
    • Thread