Re: UNS: RE: Ant javac task - error doesn't fail the build

2014-05-02 Thread Andreas Krey
On Fri, 02 May 2014 11:05:51 +, WebServices Development wrote: > But with this one, I don't get the build failure, Possiby because this is not really an error. If a zip file you specified is empty, then it is empty. If that does not cause any required classes to be missed, that is not a compil

Re: Ant javac task - error doesn't fail the build

2014-05-02 Thread Andreas Krey
On Fri, 02 May 2014 09:16:11 +, WebServices Development wrote: > We have an ANT javac task which generates an error like below, but the build > doesn't return build failure. It shows successful completion. What change > do I have to make so that it will return failure? There is a property

Re: executable="/usr/bin/cp" cannot access PATH/*

2014-04-25 Thread Andreas Krey
On Fri, 25 Apr 2014 10:26:08 +, GARCIA PEREZ, Alberto (Alberto)** CTR ** wrote: ... > I want to copy several file from one directory to another one. Just the files > inside, not the parent directory. > I'm using the next code: > > > > > > > The output is:

Re: Case insensitive attributes?

2012-09-12 Thread Andreas Krey
On Wed, 12 Sep 2012 16:21:55 +, Peter Reilly wrote: > Because it is not case sensitive. > > The code does this by hand. What is the exact semantics in cases like: ...? No, it does not complain in any way (1.7.0). The behaviour seems to depend on the order of the 'same' attributes. Andrea

Re: UNS: Re: umask from ant

2012-08-02 Thread Andreas Krey
On Thu, 02 Aug 2012 16:00:11 +, Bruce Atherton wrote: ... > If you still can't find it, change the executable to start your shell > and tell it to execute the umask command. Something like this: > > > > > > Problem is: This will work, but won't work as expected. The umask it

A tale of stupid defaults

2012-06-01 Thread Andreas Krey
** "That version of whatever doesn't have the feature needed." "Then just change the requirement in ivy.xml and rebuild" "The copy fails." "Oh yeah. Ivy doesn't remove stuff that it would fetch anymore. It just leaves it there. You need to remove 'lib' beforehand." "Ouch. Why not.

Re: Command-Line execution of a third-party task

2012-03-24 Thread Andreas Krey
On Fri, 23 Mar 2012 19:06:38 +, Mike Van wrote: ... > So, I wrote a tool called the Sonar Code Quality Manager (SonarCQM), which > will probably be donated to sonarsource later on this year. That tool scans > a "conf" directory. In that directory, for each build Sonar is doing, there > is one

Re: Wisdom of using ":" in property name

2011-02-01 Thread Andreas Krey
On Tue, 01 Feb 2011 13:48:52 +, Steele, Richard wrote: ... > I think I really have no choice but to use "." as it's the only character > guaranteed to work in Ant, various extensions and tools, property files, and > command lines--unless someone has a better choice? You may turn the colon onto

Re: UNS: Re: Getting task class *only* from specified path

2010-11-01 Thread Andreas Krey
On Mon, 01 Nov 2010 12:23:48 +, David Weintraub wrote: > When you use a , you can specify the classpath to use to > point to the jarfile. ut the jarfile used by inside your > project, and then set classpath to load that jarfile. This is what I do (and what I said to do). Unfortunately, ant se

Getting task class *only* from specified path

2010-10-31 Thread Andreas Krey
Question: I need a user task; I do load it via explicit class path in the taskdef. Unfortunately I need to use that version, but users may have older ones in their .ant/lib. How can I keep ant (1.7) from loading that version? Andreas ---