This is why Gradle rules. With Maven you depend on plenty of buggy, outdated and undocumented plugins. If no plugin fits your need, you come up with your own plugin. And it is a pain in the ass. With Gradle it's a matter of writing a couple of lines of Groovy code.
On Thu, Jun 2, 2011 at 12:34 AM, <[email protected]> wrote: > > + > +/** Returns the tools.jar/classes.jar of the Java runtime. */ > +File getTools() { > + def relpath = isMacOSX() ? "../classes/classes.jar" : "../lib/tools.jar" > + > + return new File(System.properties['java.home'], relpath) > +} > + > +boolean isMacOSX() { > + System.properties['os.name'].toLowerCase().contains('mac os') > +} > + > > > -- Best regards, Igor Drobiazko http://tapestry5.de
