It sucks that you were (nearly) bitten by this, and Ant's developers are
happy to consider any notions you might have for addressing the issue, but
litigation against a product that expressly comes with "NO WARRANTY" is not
really much of a concern, so talk of lawsuits just doesn't add anything to
dependencies itself to prevent them from being locked. This is weird. I would
guess it is NOT an ant bug?
---
Shawn Castrianni
-Original Message-
From: Shawn Castrianni [mailto:shawn.castria...@halliburton.com]
Sent: Friday, March 26, 2010 10:48 AM
To: 'Ant Users List'
Subject:
My code is:
In this example, I do NOT have a "src" subdirectory so the exclude should do
nothing. The first time I run it, everything is deleted UNDER dependencies
except for a few empty directories. If I run a second time, then some more of
tho
jan.mate...@rzf.fin-nrw.de schrieb am 20.04.2009 um 06:49:04 (+0200):
> > Ant (version 1.7.1), or more precisely: Ant's Delete task merrily
> > deletes write-protected files and directories on Windows XP that
> > cannot be deleted using the DEL (without /f) and RD commands from
> > the cmd.exe cons
--- On Thu, 2/26/09, David Weintraub wrote:
> From: David Weintraub
> Subject: Re: Delete task should be failing for UNC path that does not exist
> To: "Ant Users List"
> Date: Thursday, February 26, 2009, 2:20 PM
> You need to set failonerror="true"
You need to set failonerror="true" to kill the build when the delete
fails. Of course, Ant is depending upon the OS to give it a "proper"
exit value from the delete command. I can't say for certain whether
UNC paths might be cause problems in this respect.
BTW, why are you using UNC anyway. Normal
On Thu, Feb 26, 2009 at 12:57 PM, Dave wrote:
> Going by the first line of this, Ant should fail if the specified file or
> directory does not exist, no?
The manual is right, and my memory is faulty, that's all ;-) I think I
always use quiet="true"... --DD
---
According to the Ant Manual,
In relation to the quiet attribute of the delete task..
"If the specified file or directory does not exist, do not display a
diagnostic message (unless Ant has been invoked with the -verbose or
-debugswitches) or modify the exit status to reflect an error. When
set to
On Thu, Feb 26, 2009 at 12:09 PM, Dave wrote:
> However, I'm still curious as to why delete is silent when the UNC path
> passed to it does not exist?
I think that's true of any dir, not just UNC ones. --DD
-
To unsubscribe, e-m
Hey guys,
I had made a mistake in my test script to see if it failed when trying to
deleted a directory that does exist.
It does indeed fail, likely due to access permissions, as I cannot delete
the file through explorer either.
However, I'm still curious as to why delete is silent when the UNC pat
On Thu, Feb 26, 2009 at 11:28 AM, Dave wrote:
> The following reduced test case shows the problem. I've tested this with Ant
> 1.7.1 and JDK 1.4.2_19
> ===
>
> value="\\my-unc-path-that-does-not-exist\tmp"/>
>
>
> ===
>
> Can anyone help me with th
It doesn't fail when the directory exists or does not exist.
However, when the directory does exist, it is not deleted.
It should either succeed and deleted the directory, or fail if it can't
delete the directory or the directory does not exist.
However, it's succeeding for all cases.
On Thu, Feb
Does it fail when the directory does exist?
Try printing out "out.parent.dir" and see what it is equal to:
Maybe the backslashes are being misinterpreted somehow.
Another possibility has to do with the way UNC paths work. Ant may not
be playing so friendly with them. It could be that Ant is re
It's all in the manual.
http://ant.apache.org/manual/index.html
http://ant.apache.org/manual/CoreTasks/delete.html
http://ant.apache.org/manual/CoreTasks/mkdir.html
-Rob Anderson
> -Original Message-
> From: Erica A Ramsey [mailto:[EMAIL PROTECTED]
> Sent: Saturday, January 27, 2007
D]
Sent: jeudi 9 février 2006 17:33
To: Ant Users List
Subject: Re: Antwort: RE: Delete task failed to remove French file name
sorry i can't reproduce
You probably checked it before, but did you verify that you have the
authorisation to delete it?
did you try to delete it with success with
On Thu, 9 Feb 2006, Noel Sebastien <[EMAIL PROTECTED]>
wrote:
> I use Ant 1.6.5 on Unix and the task fails
> saying : Unable to delete file
> /export/home/wasapps/src/BD_Mod?le.sql at
> org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:594) at
> org.apache.tools.ant.taskdefs.Delete.remov
icitly the filename.
Thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: jeudi 9 février 2006 16:34
To: Ant Users List
Subject: Antwort: RE: Delete task failed to remove French file name
do you try to delete the file with the name explicitly given in the
buil
ilename.
Thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: jeudi 9 février 2006 16:34
To: Ant Users List
Subject: Antwort: RE: Delete task failed to remove French file name
do you try to delete the file with the name explicitly given in the
build.xml?
or is i
e filename.
Thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: jeudi 9 février 2006 16:34
To: Ant Users List
Subject: Antwort: RE: Delete task failed to remove French file name
do you try to delete the file with the name explicitly given in the build.xml
do you try to delete the file with the name explicitly given in the
build.xml?
or is it somewhere in a filetree and some pattern find's it and fails to
delete?
what's your JRE-version ? ant-version ?
dvholten
I think you should change the filename itself coz on many systems these
characters cause problems.
-Message d'origine-
De : Noel Sebastien (BIL) [mailto:[EMAIL PROTECTED]
Envoyé : jeudi, 9. février 2006 16:18
À : Ant Users List
Objet : RE: Delete task failed to remove French file
Thank you, I tried but it failed.
The right answer is probably something relating to the charset (or encoding),
you are right.
But the mailto:[EMAIL PROTECTED]
Sent: jeudi 9 février 2006 16:02
To: Ant Users List
Subject: Re: Delete task failed to remove French file name
Hi
What's the enc
Hi
What's the encoding specified in your build.xml file ?
If it's UTF-8, you should try with ISO-8859-1
AR
Le Thu, 09 Feb 2006 15:27:52 +0100, Noel Sebastien (BIL)
<[EMAIL PROTECTED]> a écrit:
Hi all,
As you know, french language includes some stressed characters like é,
à, etc
That is what I get for making a snap answer... ;^)
Alexey is absolutely correct.
The multiple patterns will work, just for the record. Just not the
better solution.
Ken
At 14:59 2006-01-06, you wrote:
By default ANT ignores some files (CVS, backups,...). To make ANT
see such files
By default ANT ignores some files (CVS, backups,...). To make ANT see
such files add defaultexcludes="false" into element (see
http://ant.apache.org/manual/CoreTypes/fileset.html ). Default excludes
list: http://ant.apache.org/manual/dirtasks.html#defaultexcludes .
- Alexey.
Ken Gentle wrote
The leading "." in the filenames (".#Test.log.1.23") is what is
preventing this pattern from matching. That looks vaguely like an
editor backup file or diff/merge tool backup file pattern.
If you're trying to delete files that are named more conventionally
(Test.log.1.23), you'll probably nee
On Tue, 14 Oct 2003, Thomas Lionel SMETS <[EMAIL PROTECTED]> wrote:
> Attribute : includes Description
I'd like to underline *Attribute* here.
> But in the example they give :
>
>
>
>
>
> Is there a typo & includes beca
27 matches
Mail list logo