tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Drobiazko <igor.drobia...@gmail.com>
Subject Re: svn commit: r1130328 - in /tapestry/tapestry5/trunk: build.gradle settings.gradle tapestry-javadoc/build.gradle
Date Thu, 02 Jun 2011 11:35:33 GMT
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, <hlship@apache.org> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message