The Artima Developer Community
Sponsored Link

Java Buzz Forum
Building a Build System with Groovy and ANT

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Fred Grott

Posts: 4361
Nickname: shareme
Registered: Jan, 2003

Fred Grott is Lead Developer-CEO of ShareMe Technologies LLC -The Mobile Future
Building a Build System with Groovy and ANT Posted: Nov 17, 2006 2:02 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Fred Grott.
Original Post: Building a Build System with Groovy and ANT
Feed Title: ShareMe Technologies LLC-The Mobile Future
Feed URL: http://www.jroller.com/shareme/feed/entries/rss
Feed Description: A Weblog about Java programming and digital convergence on mobile devices in such areas as P2P and collaborative technology.
Latest Java Buzz Posts
Latest Java Buzz Posts by Fred Grott
Latest Posts From ShareMe Technologies LLC-The Mobile Future

Advertisement
To understand some of the basis of concepts of why I am embarking on using Groovy integrate with ANT to build a build system for JavaME you have to go to the beginning of this debate. In this case, namely Bruce Eckel's 1-1-04 blog article on this subject.

Unfortunately, James Duncan Davidson's ANT and XML article is not up anymore explaining why his choice on limiting language constructs in ANT was not a good idea. But if you start viewing build scripts from Ruby on Rails whereas the build tool does have a full range of language constructs you start noticing that the build files are somewhat smaller and other benefits.

But getting back to what Bruce Eckel was speaking about..the idea of getting away from manually writing the XML build file. But at the same time XML is good at describing hierarchical data.

Thus, if I integrate Groovy with ANT the ANT way I would have to come up with some way to repeat and re-use ANT XML fragments. In other words something object based. Or if the hierarchical data benefits of XML are not important I could build the ANT build file integrating with Groovy the Groovy way.

An interesting set of choices. I think the main choice or point is not have the control logic as ANT XML but as Groovy constructs.

Read: Building a Build System with Groovy and ANT

Topic: C# pulling ahead of Java - Lead architect paints rosy C# picture Previous Topic   Next Topic Topic: Total Eclipse In Java Development

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use