AW: NullPointerException

2008-03-06 Thread Jan.Materne
Can you post the snippet around the ? Jan > -Ursprüngliche Nachricht- > Von: Alexander Pavlenko [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 7. März 2008 08:25 > An: Ant Users List > Betreff: NullPointerException > > Please advise, why can this happen? > > java.lang.NullPointerExcep

NullPointerException

2008-03-06 Thread Alexander Pavlenko
Please advise, why can this happen? java.lang.NullPointerException at org.apache.tools.ant.types.resources.Sort$SortedBag$MutableInt.access$100(Sort.java:44) at org.apache.tools.ant.types.resources.Sort$SortedBag$MyIterator.next(Sort.java:60) at org.apache.tools.ant.type

AW: Gradle : Using ivy as a library (Was : Re: New errors messages in log since update to Ivy-beta2)

2008-03-06 Thread Jan.Materne
A quick googling ... : Buildtool for Groovy http://www.gradle.org/ Homepage http://docs.codehaus.org/display/GRADLE/Gradle+Build+Scripts Short introduction http://docs.codehaus.org/display/GRADLE/How+the+Build+Script+interacts+with+Gradle Properties in Gradle http://www.nabble.com/gradle-dev-f3

AW: csv to html via xslt or xslt2 task ?

2008-03-06 Thread Jan.Materne
XSLT needs XML as input - so CSV wouldnt work. If you want to use XSLT you need the step of converting csv to xml before. Smallest way would use

RE: Leap Year Bug in Ant 1.7.0 FTP task?

2008-03-06 Thread Francis Brennan
You're correct, here is a bug filed against commons-net library that described the exact behaviour I observed: http://issues.apache.org/jira/browse/NET-193 Francis -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 8:08 AM To: Ant Users List;

RE: How to email only the error part

2008-03-06 Thread Francis Brennan
You could use the LoadFile task with a regex filter to read parts of the log into a property. Then use that property as the message body for the mail task. Francis -Original Message- From: Len

RE: How to email only the error part

2008-03-06 Thread Lenhof,Danny
How about perl? Perl is very handy for extracting text from\to with a set of pre-defined parameters. -Danny -Original Message- From: I am Who i am [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 11:45 AM To: user@ant.apache.org Subject: How to email only the error part Hi All

csv to html via xslt or xslt2 task ?

2008-03-06 Thread Z W
Hi ppl, I have a few rows of comma delimited csv file. 1204823515990,2091,Cl,200,OK,M,text,true 1204823518623,828,Su,200,OK,M,text,true 1204823519500,66,Se,200,OK,M,text,true 1204823519604,42,Se,OK,M,text,true and I like to transform it into html with xslt or xslt2. Is that possible ? Coul

symlinks and uptodate

2008-03-06 Thread Neil Lott
Is there a way for the up to date task to follow symlinks? Neil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to email only the error part

2008-03-06 Thread I am Who i am
Hi All Is there a way to email only, the error part from ant for eg. lets say i'm compiling with ant, and its being written to a log file, when error happend, instead of attaching full log file i just want to send the portion where its failing with "Compliation Error' part Please help

Re: Gradle : Using ivy as a library (Was : Re: New errors messages in log since update to Ivy-beta2)

2008-03-06 Thread Hans Dockter
Hi Gilles, we are just about to release. I will post more about Gradle soon. In particular some feedback regarding the Ivy API and some general ideas about dependency management. For now just a general remark: I'm VERY impressed about Ivy. Thanks for your interest - Hans On Mar 6, 2008,

RE: Leap Year Bug in Ant 1.7.0 FTP task?

2008-03-06 Thread Matt Benson
ALL: Note that Ant's FTP task uses commons-net, which received a flurry of bug reports relating to the leap day issue on Feb 29. This says to me that there is around a 99% chance that the bug lies in commons-net, and that Ant is for the most part powerless. -Matt --- Jukka Uusisalo <[EMAIL PROT

RE: Error message when using different settings

2008-03-06 Thread Jim Adams
Didn't we already get a jira issue from the original poster of the problem? > -Original Message- > From: Gilles Scokart [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 06, 2008 3:32 AM > To: [EMAIL PROTECTED] > Subject: Re: Error message when using different settings > > On 05/03/2008, X

RE: Leap Year Bug in Ant 1.7.0 FTP task?

2008-03-06 Thread Gilles Scokart
We came at work with a 29 February bug also. The bug was actually that we were parsing a date without specifying the year : "02/29". At some step of the parsing the jdk consider the date is be in the year 1970 (which is not a leap year), which crashed our application. Regards, Gilles > ---

RE: Leap Year Bug in Ant 1.7.0 FTP task?

2008-03-06 Thread Jukka Uusisalo
> -Original Message- > From: Francis Brennan [mailto:[EMAIL PROTECTED] > Sent: 5. maaliskuuta 2008 23:48 > To: user@ant.apache.org > Subject: Leap Year Bug in Ant 1.7.0 FTP task? > > > Has anyone else run across a bug in the FTP task in Ant 1.7.0 > related to > Feb 29th timestamps?. >

Is "rev" argument must in dependency tag of ivy.xml ?

2008-03-06 Thread praveen babu
Hi, I was trying to load a jar file which name is not telling about the version. (i.e, axis.jar). When I try to use it in one dependency in my project, ivy was throwing an error. 1. I put an empty string in . It downloaded properly, but downloaded file name has a "-" (hypen) suffixed. 2. Is th

Re: Repeating a task for a list of directories

2008-03-06 Thread Peter Reilly
Yes, normally I keep a lib/ant/-plugin-name-/(jars needed for the plugin) directory structure and have a ant-contrib.xml importable file to configure the plugin: (note that for ant 1.7.0 you do not need to specify resource when the uri is an antlib:) Peter

AW: Repeating a task for a list of directories

2008-03-06 Thread Jan.Materne
You should put ant-contrib.jar into your project svn and let the buildfile refer to that (local) location. PROJECT | build.xml +-- lib/ant +-- ant-contrib.jar build.xml - i: ${i} Jan > -Ursprüngliche Nachricht- > Von

Re: Repeating a task for a list of directories

2008-03-06 Thread Rob Wilson
Thanks for the information, I believe I need ant-contribs foreach such that I can do some processing for each subdirectory. I've downloaded the jar file and would prefer not to copy it directly into Ant libs folder, such that the next person to do a svn update can run with it without having to thi

Re: Leap Year Bug in Ant 1.7.0 FTP task?

2008-03-06 Thread Steve Loughran
Francis Brennan wrote: Has anyone else run across a bug in the FTP task in Ant 1.7.0 related to Feb 29th timestamps?. I've used the FTP task as part of an automated system to retrieve builds from a server and has been functioning reliably for many months without change. Beginning on Feb 29th

Re: Incremental Build Impementation...

2008-03-06 Thread Peter Reilly
The normal way to deal with this is to accept that the dependency checks in ant are not complete (in fact they are completely brain-dead) and do ant clean very often. For example, using Continuous integration, always do a clean target (which removes *ALL* build generated artifacts) before the main