• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Ant, Ivy, Maven, Gradle and also Gant

 
Ranch Hand
Posts: 258
2
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems not much people talk about Gant.
Some people compared Maven and Gradle, and if Maven already fulfill the requirement, it may not worth to switch to Gradle.
Does the statement also applies to Gant?
A project I am doing is using Gant, how hard to migrate it to Gradle?
How strong of Groovy skill needed to use Gradle?
 
author
Posts: 13
IntelliJ IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Raymond,

The following quote is from the Gant website:

Gant is just a lightweight facade on Groovy's AntBuilder. It just a way of scripting Ant tasks using Groovy. Gant can be used to do build tasks, but it doesn't have the integrated artefact dependency management, project lifecycle management, and multi-module/sub-project support that a fully fledged build framework should provide. Gradle on the other hand is a complete build framework based on Groovy and Ivy. If you just want to do some Ant task scripting then Gant is probably the tool you need, but for replacing Ant and Maven as build frameworks (so as to get rid of all the XML and use Groovy), then you probably need to consider Gradle.

And yes, Gant is managed by a Gradle build.

It is probably worth noting that Gradle grew out of work done on Gant.



I think migrating is not that hard. Gant uses AntBuilder and so can Gradle.

Gradle has a build DSL, which you need to know to write the build scripts, but you don't need real Groovy skills for that. Of course it can help if you know Groovy, but you can also get a long way by writing Java code in Gradle build scripts.
 
Raymond Tong
Ranch Hand
Posts: 258
2
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.
I think I would give it a try.
 
What are you doing in my house? Get 'em tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic