AW: ant logger

2010-07-29 Thread Jan.Materne
Nice. I added it to the external page http://code.google.com/p/antstatistics/";>AntStatistics logs execution times for all build targets and displays them at the end of the build. Furthermore execution times of past builds are collected and graphed in a chart.

AW: want to copy a file if it exists

2010-07-29 Thread Jan.Materne
Just use . will fail if the requested file does not exist. mailto:eric.w...@thomsonreuters.com] >Gesendet: Donnerstag, 29. Juli 2010 23:09 >An: user@ant.apache.org >Betreff: Ant: want to copy a file if it exists > >I want to check to see if a file exist and if so then copy it. What is >the best

Re: Ant: want to copy a file if it exists

2010-07-29 Thread Vimil Saju
Use the 'available' task to check if a file exists. There is also an 'if' task which is part of antcontrib that you can use to execute tasks conditionally --- On Thu, 7/29/10, eric.w...@thomsonreuters.com wrote: From: eric.w...@thomsonreuters.com Subject: Ant: want to copy a file if it exists

Re: Bootstrap script, fetch prerequisites

2010-07-29 Thread Dominique Devienne
On Thu, Jul 29, 2010 at 4:03 PM, Michael Ludwig wrote: > Dominique Devienne schrieb am 29.07.2010 um 08:42 (-0500): >> I believe that bootstrapping is possible, but I think it would require >> changes in Ant to possibly restart a new VM using new JARs for >> example, or at least rerun itself into

RE: Bootstrap script, fetch prerequisites

2010-07-29 Thread Shawn Castrianni
Yes, from svnkit, is a jar that you can run with "java -jar" that is equivalent to an svn command line client. IVY, yes I would highly recommend it! I have it supporting 5 different platforms with both java and native code, 400 developers, 120 modules, 20 releases, etc. I worked with the aut

Re: Bootstrap script, fetch prerequisites

2010-07-29 Thread Michael Ludwig
Shawn Castrianni schrieb am 29.07.2010 um 09:37 (-0500): > I use ant, svn, and ivy to handle this issue as well as for a > generalized dependency mechanism. Originally, my ant launcher script > didn't do much more than configure a few env variables and launch ant. > But just like you, I needed a w

Ant: want to copy a file if it exists

2010-07-29 Thread eric.wood
I want to check to see if a file exist and if so then copy it. What is the best way for performing this conditional task? Thanks, eric

Re: Bootstrap script, fetch prerequisites

2010-07-29 Thread Michael Ludwig
Dominique Devienne schrieb am 29.07.2010 um 08:42 (-0500): > On Thu, Jul 29, 2010 at 3:18 AM, Ludwig, Michael > wrote: > > What's the best way to bootstrap an Ant script installation? [...] > > (One thing I personally dislike is checking JARs into your version > > control system, [...] > > Well,

ant logger

2010-07-29 Thread Christian Pelster
Hi all, I hope this is the right place, I wrote a simple logger, that logs execution times for targets during a build an graphs them over the time so you can track the evolution of your build-times. maybe someone can make a use of this ( http://code.google.com/p/antstatistics/). regards, pelle

RE: Bootstrap script, fetch prerequisites

2010-07-29 Thread Shawn Castrianni
I use ant, svn, and ivy to handle this issue as well as for a generalized dependency mechanism. Originally, my ant launcher script didn't do much more than configure a few env variables and launch ant. But just like you, I needed a way to provide my users with updates. I chose to use svn. My

Re: Bootstrap script, fetch prerequisites

2010-07-29 Thread Dominique Devienne
On Thu, Jul 29, 2010 at 3:18 AM, Ludwig, Michael wrote: > What's the best way to bootstrap an Ant script installation? [...] > (One thing I personally dislike is checking JARs into your version control > system, [...] Well, Ant has no built-in bootstrap mechanism. Build scripts are typically un

Re: Unable to build on Ubuntu after ant upgrade from 1.7.0 to 1.8.0(latest)

2010-07-29 Thread Stefan Bodewig
On 2010-07-29, Philip Tham wrote: > I am currently blocked with not being able to build after upgrading ant > to the latest version. The errors I am getting are below. How did you "upgrade"? Please note that the only distributions supported by the Ant team are those you can download from ant.ap

Bootstrap script, fetch prerequisites

2010-07-29 Thread Ludwig, Michael
What's the best way to bootstrap an Ant script installation? Say you're going to introduce an Ant script to automate tasks in dev environment, and you're going to add new functionality as you go, possibly modifying the script a lot, and introducing various dependencies along the road, like JARs, n