SlideShare une entreprise Scribd logo
1  sur  8
Which build tool for
                       Grails applications?

    Presented by Rimero Solutions Inc
          –   Java Development Consulting
          –   WWW: http://rimerosolutions.com

Note: Feel free to use or distribute this presentation as you please.



     How will you build your next great
          Grails application??
Summary
When “foreign” technologies are
introduced to a company, build
processes can generate lots of
discussions.
    –   Can we build the same way?
    –   If not, what is our best option? What are
           the best practices?
This presentation gives a very high level
overview of available options : Maven
3.x, Grails 2.x, Gradle 1.4+, Ant 1.6+.
Links
●   Grails: http://grails.org
●   Gant: http://gant.codehaus.org/
●   Maven: http://maven.apache.org
●   Ant: http://ant.apache.org
●   Gradle: http://gradle.org
Default Grails tooling
●   Gant(http://gant.codehaus.org/) is the build tool
    used behind the scenes.
●   Cannot chain commands unless you
    either modify the Grails launcher or write
    custom global scripts.
●   There are not that many 'build' related'
    Grails plugins compared to let's say
    Maven.
●   The process is simple until you try to get
    fancy (deployment automation, etc.).
●   Many easy tutorials on the Internet.
Building with Maven
●   Interesting mainly for Maven users
    http://grails.org/doc/latest/guide/commandLine.html#antAndMaven

●   Maven is powerful with tons of plugins.
    By default, you can easily have
    encrypted credentials for repositories
    that require authentication.
●   Not all the build options can be moved
    to the Maven POM, especially true for
    plugins (generation of the plugin XML
    descriptor file → non Maven users).
●   Not many Web resources, can be tough
    to get help for advanced questions.
Building with Ant
●   Integration instructions:
    http://grails.org/doc/latest/guide/commandLine.html#antAndMaven

●   Ant integration doesn't seem
    reliable/stable.
●   Depending on your Grails version you
    may run into class not found issues, etc.
●   If you must use Ant, wrap shell
    commands to the Grails command line
    (Local Grails installation required).
Building with Gradle
●   The Gradle plugin can be found on
    Github. https://github.com/grails/grails-gradle-plugin
●   Somehow, the plugin doesn't look right
    in its current state. The plugin looks like
    a rough hook to bootstrap commands.
●   It would be nice to forget about grails-
    app/conf/BuildConfig.groovy and only deal with
    Gradle build files.
●   Gradle itself is kind of the best of Maven
    with an ease of use and scripting power.
●   Gradle IDE support is not that mature.
Which build tool will
                          you use?
●   At this time, the simplest build solution is
    to rely on the default built-in tooling.
●   Maven is more powerful, but verbose,
    and it may introduce challenges for
    newcomers (new to Grails and Maven).
●   Ant is difficult to recommend unless
    you've got an Ant centric toolchain.
●   The Gradle integration is not tight
    enough, but there's hope. Grails 3.0 is
    supposed to switch to Gradle.

Contenu connexe

En vedette

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 

En vedette (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

Build tools for Grails applications

  • 1. Which build tool for Grails applications? Presented by Rimero Solutions Inc – Java Development Consulting – WWW: http://rimerosolutions.com Note: Feel free to use or distribute this presentation as you please. How will you build your next great Grails application??
  • 2. Summary When “foreign” technologies are introduced to a company, build processes can generate lots of discussions. – Can we build the same way? – If not, what is our best option? What are the best practices? This presentation gives a very high level overview of available options : Maven 3.x, Grails 2.x, Gradle 1.4+, Ant 1.6+.
  • 3. Links ● Grails: http://grails.org ● Gant: http://gant.codehaus.org/ ● Maven: http://maven.apache.org ● Ant: http://ant.apache.org ● Gradle: http://gradle.org
  • 4. Default Grails tooling ● Gant(http://gant.codehaus.org/) is the build tool used behind the scenes. ● Cannot chain commands unless you either modify the Grails launcher or write custom global scripts. ● There are not that many 'build' related' Grails plugins compared to let's say Maven. ● The process is simple until you try to get fancy (deployment automation, etc.). ● Many easy tutorials on the Internet.
  • 5. Building with Maven ● Interesting mainly for Maven users http://grails.org/doc/latest/guide/commandLine.html#antAndMaven ● Maven is powerful with tons of plugins. By default, you can easily have encrypted credentials for repositories that require authentication. ● Not all the build options can be moved to the Maven POM, especially true for plugins (generation of the plugin XML descriptor file → non Maven users). ● Not many Web resources, can be tough to get help for advanced questions.
  • 6. Building with Ant ● Integration instructions: http://grails.org/doc/latest/guide/commandLine.html#antAndMaven ● Ant integration doesn't seem reliable/stable. ● Depending on your Grails version you may run into class not found issues, etc. ● If you must use Ant, wrap shell commands to the Grails command line (Local Grails installation required).
  • 7. Building with Gradle ● The Gradle plugin can be found on Github. https://github.com/grails/grails-gradle-plugin ● Somehow, the plugin doesn't look right in its current state. The plugin looks like a rough hook to bootstrap commands. ● It would be nice to forget about grails- app/conf/BuildConfig.groovy and only deal with Gradle build files. ● Gradle itself is kind of the best of Maven with an ease of use and scripting power. ● Gradle IDE support is not that mature.
  • 8. Which build tool will you use? ● At this time, the simplest build solution is to rely on the default built-in tooling. ● Maven is more powerful, but verbose, and it may introduce challenges for newcomers (new to Grails and Maven). ● Ant is difficult to recommend unless you've got an Ant centric toolchain. ● The Gradle integration is not tight enough, but there's hope. Grails 3.0 is supposed to switch to Gradle.