HI, > On 02 May 2015, at 02:52, Ângelo Andrade Cirino <aacir...@gmail.com> 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 <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: dennis.blieferni...@xyrality.com <mailto:dennis.blieferni...@xyrality.com> Tel: +49 (0) 40 35 73 001 - 62 Fax: +49 (0) 40 35 73 001 - 99 Web: http://www.xyrality.com/ <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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com