Hi,
there are any tasks for check chmod of files on servers?
It's not so good to do it like this..
I'm interested in writing a script that repeats some task a user-
specified number of times. This is useful where the behavior of
JUnit tests is randomized (explicitly or, in this case, due to
concurrency irregularities), and a test sample of size larger than 1
is needed.
The best solutio
Hello,
I have a stylistic question to the copy task and the mappers.
I have the following situation: I have four directories, one
reference/source directory, one reference/compiled directory, one
current/source directory and a current/compiled directory:
+- reference
| +- source
| +- compiled
Either way, if you find a way to distill this down to
the smallest example that will still trigger the bug,
you will be more likely to get useful feedback.
Running Ant in verbose or debug mode might be
instructive, as might posting the actual error message
received (especially with the stacktrace
Should I open a defect for this? Would that get someone's attention?
Thanks,
Ben
Ben Pracht wrote:
I'm receiving a "Failed to copy " "due to null" message. I'm
using ant 1.6.2, and the task is:
Hi Peter,
thanks for another bunch of helpful snippets !! :-)
> I have found out how to use File in jruby, so
> your example looks something like this:
How did you get that, are you already experienced
with (j)ruby ?
>
>
>
Put filter tokens where you want the values to be placed...like this
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
Then you can run a task to replace the @token@ with a value of
your choice, before packaging.
-Original Message-
From: Bala Paranj [mailto:[EMAIL PROTECTED]
S
Fair enough.
I have found out how to use File in jruby, so
your example looks something like this:
I have a properties file under config directory at the same level as the
packages containing
source. The Ant script currently packages everything including the properties
file used by the
application.
I want the user of this script to be able to provide the values of the
properties when the sc
How do you believe policy files could be applied to resolve this
problem?
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Monday, August 14, 2006 6:28 PM
To: Ant Users List
Subject: Re: Unwanted behavior - fixcrlf changes files to un-executable
You can govern who
[exec] rsync: Failed to exec ssh: No such file or directory (2)
Probably a Path issue. You use an absolute path for the rsync
executable, but this one simply exec's ssh with no path, and can't
find it. Adjust your Path (or PATH) to find all cygwin's executable,
From outside the build, or inside
Hi,
just a second question. I've searched before over about a hour with
Google, but without success. I call the following script from within
Eclipse (Windows XP):
All what I get is the following error :(
[exec] rsync: Failed to exec ssh: No such file or director
Strange ... works now !!! :)
Don't know what it was. Thanx all of you.
Regards
Michael
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it copies the direct subfolders of src, but the content of the
subsubfolders will be flattened.
I doubt it. preserves the file hierarchy, unless an explicit
is used. --DD
PS: Your ** pattern is fine, although I prefer to use **/* myself.
**/*.* will only copy files with an extension, an
Hi,
just use
instead.
**/*.* means all files in root and all subdirectories
*.* mean all files in root only.
See also Ant manual
=
Concepts and Types / Directory-based Tasks
Regards, Gilbert
-Original Message-
From: Michael Bauroth [mailto:[EMAIL PROTECTED]
Sent: Tuesday
You should probably use "**/*.*" as the pattern.
-Original Message-
From: Michael Bauroth [mailto:[EMAIL PROTECTED]
Sent: 15 August 2006 14:27
To: user@ant.apache.org
Subject: Question regarding recursive copy
Hi,
I'm having the following problem:
I want to make a recursive copy from
Hi,
I'm having the following problem:
I want to make a recursive copy from a src to a dst folder within
Eclipse. The old command copydir is deprecated and don't support the tag
'preservelastmodified' like the copy command. But with the copy command
I have the problem, that e.g. for
it
You're welcome :-)
bye4now, Gilbert
-Original Message-
From: timujain [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 15, 2006 3:17 AM
To: user@ant.apache.org
Subject: RE: Detecting failure!
Hi Gilbert,
Many many thanks for your clear and easy to follow help! Very much
appreciated.
I run 1.6.5 and haven't looked in SVN to see if it's on the roadmap, but
would enhancing to support I/O redirectors [1] be of any use here?
Cheers,
James
[1] http://ant.apache.org/manual/CoreTypes/redirector.html
Dominique Devienne wrote:
So 2. and 3. are _always_ logged irrespective of use
19 matches
Mail list logo