667514 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

News News News Messages: 21 Messages: 21 Messages: 21 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Article: Introducing the Savant Build System

Posted by: Nitin Bharti on July 20, 2004 DIGG
Savant, an extension to the Ant build system, is a collection of tasks and types that allow projects to declare their dependencies, perform common tasks on these dependencies (such as copy) and publish items that the project produces. In this article, Brian Pontarelli introduces Savant and demonstrates how Savant helped alleviate the build pains of the Inversoft Verge projects.

Read Ant + Dependencies = Savant

Threaded replies

·  Article: Introducing the Savant Build System by Nitin Bharti on Tue Jul 20 17:11:00 EDT 2004
  ·  JAM + MAVEN for dependencies by Javed Mandary on Wed Jul 21 03:53:14 EDT 2004
    ·  Great Article, LINE FEEDS ARE IN ERROR by Christopher Rodier on Wed Jul 21 09:25:59 EDT 2004
      ·  Great Article, LINE FEEDS ARE IN ERROR by oleg shteynbuk on Wed Jul 21 11:53:39 EDT 2004
      ·  Great Article, LINE FEEDS ARE IN ERROR by Brian Pontarelli on Thu Jul 22 11:54:33 EDT 2004
    ·  JAM + MAVEN for dependencies by Brian Pontarelli on Thu Jul 22 11:51:35 EDT 2004
  ·  why? by graham o'regan on Wed Jul 21 05:01:31 EDT 2004
    ·  why? by Alan Borsato on Wed Jul 21 07:19:53 EDT 2004
      ·  Re: why? by Daniel Serodio on Thu Oct 21 17:55:29 EDT 2004
    ·  why? by Danny Grasse on Wed Jul 21 08:28:28 EDT 2004
      ·  why? by graham o'regan on Wed Jul 21 08:58:12 EDT 2004
        ·  why? by Martin Devlin on Wed Jul 21 11:46:04 EDT 2004
  ·  Savant or Maven? by Neill Robbins on Wed Jul 21 07:40:24 EDT 2004
    ·  Savant or Maven? by Michael Mattox on Wed Jul 21 09:09:27 EDT 2004
    ·  Savant or Maven? by Nat Pryce on Wed Jul 21 09:54:35 EDT 2004
      ·  Make and other build tools by Archimedes Trajano on Wed Jul 21 18:49:08 EDT 2004
      ·  Savant or Maven? by Brian Pontarelli on Thu Jul 22 11:57:09 EDT 2004
    ·  Savant or Maven? by Brian Pontarelli on Thu Jul 22 11:53:05 EDT 2004
  ·  Article: Introducing the Savant Build System by Holger Engels on Wed Jul 21 11:21:48 EDT 2004
  ·  Depot project in the apache incubator by Francois Beauregard on Wed Jul 21 11:23:48 EDT 2004
  ·  Modularizing builds by Francois Beauregard on Wed Jul 21 13:28:17 EDT 2004
  ·  Article link is broken by James Norton on Thu Dec 16 11:20:01 EST 2004
  Message #130939 Post reply Post reply Post reply Go to top Go to top Go to top

JAM + MAVEN for dependencies

Posted by: Javed Mandary on July 21, 2004 in response to Message #130888
I have been working with JAM for a while now and I believe that it has a great way of managing artifacts because:

1. It makes use of MAVEN which uses one repository where all the artifacts ,libraries are stored. This means that all the projects have their artifacts stored in the same place.

2. The JAM-ANT build.xml script imports a classpath.xml file (which holds all the library information) which is itself generated from a MAVEN POM file . The POM file holds all the dependency information about the artifacts stored in the MAVEN repository.

This way you use teh good points of both ANT and MAVEN to manage your builds and artifacts.This is really great for cross-project integration.

resource: http://www.javagen.com

  Message #130945 Post reply Post reply Post reply Go to top Go to top Go to top

why?

Posted by: graham o'regan on July 21, 2004 in response to Message #130888
Why do TSS articles open in new windows when they are on the same site? One of the many annoying features of the site along with the dreadful forum software...

  Message #130956 Post reply Post reply Post reply Go to top Go to top Go to top

why?

Posted by: Alan Borsato on July 21, 2004 in response to Message #130945
Use a tabbled browser :)

  Message #130959 Post reply Post reply Post reply Go to top Go to top Go to top

Savant or Maven?

Posted by: Neill Robbins on July 21, 2004 in response to Message #130888
I have been using Maven for a while now, and think its pretty good for managing projects. The thing that shines for me is the dependancy checking. Although it would be LOADS better if it did recursive checking for dependancies of dependancies.

Does anybody have any experience of other build tools that improves on maven in this respect?

Have to say , IMO jelly is a complete nightmare.
:-)

N

  Message #130968 Post reply Post reply Post reply Go to top Go to top Go to top

why?

Posted by: Danny Grasse on July 21, 2004 in response to Message #130945
Why do TSS articles open in new windows when they are on the same site? One of the many annoying features of the site along with the dreadful forum software...


not to mention having the article too wide for laptops (or any monitor running at 1024 x 768).

  Message #130970 Post reply Post reply Post reply Go to top Go to top Go to top

why?

Posted by: graham o'regan on July 21, 2004 in response to Message #130968
lol, i didn't even get to read the article, had to read the printable version on my laptop too :(. In relation to tabbed browsers, I use firefox, still opens a new window (don't tell me about click to open in new tab, the article is on the same site and should open in the same tab/window).

  Message #130972 Post reply Post reply Post reply Go to top Go to top Go to top

Savant or Maven?

Posted by: Michael Mattox on July 21, 2004 in response to Message #130959
I have been using Maven for a while now, and think its pretty good for managing projects. The thing that shines for me is the dependancy checking. Although it would be LOADS better if it did recursive checking for dependancies of dependancies. Does anybody have any experience of other build tools that improves on maven in this respect?Have to say , IMO jelly is a complete nightmare.:-)N
This is a planned feature for a future Maven release, I'm not sure if it will be Maven 1.1 or 2.0. I agree, it's badly needed.

I have been using Maven on my project for 6 months now. I've went through a lot of the growing pains but it's stabilized and is working great for us. I also think it's good to have other competitive tools. Maven has great ideas but it's not perfect. If other tools build on the Maven concepts and expand them, these new concepts will find their way back to Maven. And developers using any of the tools will benefit.

-Michael Mattox

  Message #130979 Post reply Post reply Post reply Go to top Go to top Go to top

Great Article, LINE FEEDS ARE IN ERROR

Posted by: Christopher Rodier on July 21, 2004 in response to Message #130939
Brian,

I started to read your excellent article, and am excited about this new tool.

However, one has to scroll ones screen over far to the right in IE or in Mozilla.

Is there any way the server side can correct the formatting of this article so that it can be enjoyed more easily by the community?

Thanks,

Chris

  Message #130987 Post reply Post reply Post reply Go to top Go to top Go to top

Savant or Maven?

Posted by: Nat Pryce on July 21, 2004 in response to Message #130959
I have been using Maven for a while now, and think its pretty good for managing projects. The thing that shines for me is the dependancy checking. Although it would be LOADS better if it did recursive checking for dependancies of dependancies. Does anybody have any experience of other build tools that improves on maven in this respect?
Hasn't Make done this for the last 25 years or so? And all other decent build tools?

  Message #130998 Post reply Post reply Post reply Go to top Go to top Go to top

Article: Introducing the Savant Build System

Posted by: Holger Engels on July 21, 2004 in response to Message #130888
I like the overall concept .. modules are importing and exporting artifacts.

What I don't understand is what you call "workflow". Isn't that a duplication of the functionality of an ant script? Couldn't I call just another ant script instead?

Holger

  Message #130999 Post reply Post reply Post reply Go to top Go to top Go to top

Depot project in the apache incubator

Posted by: Francois Beauregard on July 21, 2004 in response to Message #130888
It would be interesting to hear comments from the guys running the depot project (http://incubator.apache.org/depot/index.html).

Looks like the depot project was created by the same people who created centipede from which the import task (now in ant 1.6) was originally created.

It would be nice to know if depot is ready from prime time or not.

  Message #131007 Post reply Post reply Post reply Go to top Go to top Go to top

why?

Posted by: Martin Devlin on July 21, 2004 in response to Message #130970
Use this "Single Window 1.0" plugin with Mozilla / Firefox to force links which normally load in a new window to load in a new tab. There are other great plugings at this page for other annoying little things like this.

http://update.mozilla.org/extensions/showlist.php?type=E&application=firefox&category=Tabbed%20Browsing&numpg=

  Message #131009 Post reply Post reply Post reply Go to top Go to top Go to top

Great Article, LINE FEEDS ARE IN ERROR

Posted by: oleg shteynbuk on July 21, 2004 in response to Message #130979
have you tried "PRINTER FRIENDLY VERSION" at the end of the article, it worked for me
However, one has to scroll ones screen over far to the right in IE or in Mozilla.Is there any way the server side can correct the formatting of this article so that it can be enjoyed more easily by the community?Thanks,Chris


  Message #131025 Post reply Post reply Post reply Go to top Go to top Go to top

Modularizing builds

Posted by: Francois Beauregard on July 21, 2004 in response to Message #130888
Just finished reading the article. We will definitely do a spike in one of our projects to try savant.

One thing that is not covered in the article and I would like to know if savant handles the following.

With ant 1.6, we can start modularizing the build (macros, import task, etc) and reuse pieces of builds accross projects. It would be nice to be able to version these pieces and define them as dependencies that would be automatically resolved.

Cheers,
François

  Message #131061 Post reply Post reply Post reply Go to top Go to top Go to top

Make and other build tools

Posted by: Archimedes Trajano on July 21, 2004 in response to Message #130987
Hasn't Make done this for the last 25 years or so? And all other decent build tools?
The advantage of Maven and I guess Savant is it reduces the amount of things you have to write. The less you have to write the less you (or your replacement would have to maintain).

The advantage of using relatively standardized tools (esp open source ones) is it makes it easier to find people off the streets who would know how to use the tools rather than having your own training staff to teach your own custom build system.

[sarcasm]Of course you can make things fully customized and specific to your application, it would guarantee you have a job until the system gets replaced by something else which tends to be a long time so maybe we could ask why bother making things simple for other people? :D[/sarcasm]

  Message #131176 Post reply Post reply Post reply Go to top Go to top Go to top

JAM + MAVEN for dependencies

Posted by: Brian Pontarelli on July 22, 2004 in response to Message #130939
I have been working with JAM for a while now and I believe that it has a great way of managing artifacts because:1. It makes use of MAVEN which uses one repository where all the artifacts ,libraries are stored. This means that all the projects have their artifacts stored in the same place.2. The JAM-ANT build.xml script imports a classpath.xml file (which holds all the library information) which is itself generated from a MAVEN POM file . The POM file holds all the dependency information about the artifacts stored in the MAVEN repository.This way you use teh good points of both ANT and MAVEN to manage your builds and artifacts.This is really great for cross-project integration.resource: http://www.javagen.com
I haven't looked into JAM or the Maven/Ant configuration that you are talking about. I'll have to check that out. I think the major problem I have with Maven is the single artifact per project problem. Once they fix that and ditch jelly, Maven might be back on my list.

  Message #131178 Post reply Post reply Post reply Go to top Go to top Go to top

Savant or Maven?

Posted by: Brian Pontarelli on July 22, 2004 in response to Message #130959
I have been using Maven for a while now, and think its pretty good for managing projects. The thing that shines for me is the dependancy checking. Although it would be LOADS better if it did recursive checking for dependancies of dependancies. Does anybody have any experience of other build tools that improves on maven in this respect?Have to say , IMO jelly is a complete nightmare.:-)N
Savant does recursive dependencies like this. You can specify the dependencies of an artifact when you are publishing that artifact. Then, when another project uses that artifact, it automatically uses all of that artifacts dependencies as well. If you need this functionality, I suggest using Savant.

  Message #131179 Post reply Post reply Post reply Go to top Go to top Go to top

Great Article, LINE FEEDS ARE IN ERROR

Posted by: Brian Pontarelli on July 22, 2004 in response to Message #130979
Brian,I started to read your excellent article, and am excited about this new tool.However, one has to scroll ones screen over far to the right in IE or in Mozilla.Is there any way the server side can correct the formatting of this article so that it can be enjoyed more easily by the community?Thanks,Chris
Just to respond to everyone about the formatting, I wrote to my friend at TSS about the scrolling and the layout and I'm hoping that they can fix that problem today.

  Message #131182 Post reply Post reply Post reply Go to top Go to top Go to top

Savant or Maven?

Posted by: Brian Pontarelli on July 22, 2004 in response to Message #130987
I have been using Maven for a while now, and think its pretty good for managing projects. The thing that shines for me is the dependancy checking. Although it would be LOADS better if it did recursive checking for dependancies of dependancies. Does anybody have any experience of other build tools that improves on maven in this respect?
Hasn't Make done this for the last 25 years or so? And all other decent build tools?
Make doesn't support any dependency checking of artifacts and versions unless you build it yourself. Most of the other build tools don't support this either. That is why Maven and a few others, like Savant, are gaining momentum, because they attack a problem that historically hasn't been solved and has plagued every large project for a long time.

  Message #143406 Post reply Post reply Post reply Go to top Go to top Go to top

Re: why?

Posted by: Daniel Serodio on October 21, 2004 in response to Message #130956
Even thou I use Firefox, I agree 100%.
YOU should choose where to open the links you click, not the site's webmaster.

[]'s
Daniel Serodio

  Message #149680 Post reply Post reply Post reply Go to top Go to top Go to top

Article link is broken

Posted by: James Norton on December 16, 2004 in response to Message #130888
There seems to be some problem retrieving the article:

Error reading content of '/articles/content/Savant/article.html': sun.io.MalformedInputException

New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com

Dependency Injection in Java EE 6 - Part 1

Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (November 2, Article)

SAML: It's Not just for Web services

SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options. (September 28, Article)

Programming is Also Teaching Your Team

Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team. (September 22, Article)

Can Java EE Deliver The Asynchronous Web?

Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies. (July 14, Article)

JSF Flex

JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags. (June 29, Article)

The Rules of SOA - A Road to a Successful SOA Implementation

In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project. (June 23, Tech Talk)

Ari Zilka Talks About Terracotta 3.1

Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now. (June 15, Tech Talk)

Enterprise Application Integration, and Spring

In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements. (June 15, Tech Talk)

Google Web Toolkit: An Introduction

In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls. (June 4, Tech Talk)

Just Enough Early Architecture to Guide Development

Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable. (May 28, Tech Talk)

Productive Programmer: On the Lam from the Furniture Police

This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work. (May 26, Tech Talk)

Auto-Scaling Your Existing Web Application

Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers. (May 21, Tech Talk)

Automating Hibernate Mapping and Queries For Java Web Development

Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application. (May 19, Article)

Auto-Scaling Your Existing Web Application

In this session Nati Shalom demonstrates how to take a standard Java EE web application and scale it out or down dynamically without changes to the application code. Seeing as most web applications are over-provisioned to meet infrequent peak loads, this is a dramatic change because it enables growing your application as needed, when needed, without paying for unutilized resources. (May 19, Tech Talk)

Free Book PDF Download: Mastering EJB Third Edition

Mastering EJB was one of the original and most influential EJB books in the industry. Mastering EJB III now returns with two new expert co-authors, updated for EJB 2.1 and 30% new chapters including security, integration, best practices, open source, and more.
(Book PDF Download)

Application Server Matrix

The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map