No, off the top of my head i can't think of a simple way to do this with a
basic Ant installation.
Matt
On Mon, Oct 7, 2013 at 9:57 AM, Raja Nagendra Kumar <
nagendra.r...@tejasoft.com> wrote:
> **
> Hi Matt,
>
> I meant rename as smart rename... nothing related to move..
>
> e.g I am copying 3
Hi Matt,
I meant rename as smart rename... nothing related to move..
e.g I am copying 3 files from different directories.. but all have
the same name as classes.jar
when all these are copied to a dir xyz, then copy task should let
xyz would copy classe
To rename files in the same directory you probably want to use the move
task with a glob mapper; just be careful what files you select to begin
with.
Matt
On Oct 7, 2013 9:14 AM, "Raja Nagendra Kumar"
wrote:
> Hi Matt,
>
> Are there any pre-packaged mappers in ant.. which does this mapping by
>
Hi Matt,
Are there any pre-packaged mappers in ant.. which does this mapping by
default.. For flattening there is one already.. but do not see any for
rename when file already exists.. requirement of mine..
Regards,
Nagendra
On 10/7/2013 7:25 PM, Matt Benson wrote:
It sounds like you want th
It sounds like you want the functionality provided by filename mappers.
Matt
On Oct 7, 2013 4:20 AM, "Raja Nagendra Kumar"
wrote:
> Hi
>
> Does copy task have any option to rename to be copie file as
> existing_file_1.xx etc.. just like windows does rename the existing files..
>
> Regards,
> Nag
l-Nachricht
> > Datum: Thu, 27 May 2010 23:34:34 -0400
> > Von: "St. Denis, David"
> > An: "user@ant.apache.org"
> > Betreff: RE: Copy task fails on AIX & Suse Linux 9
>
> > I found that the Ant 1.8 copy task has problems on SLES
Stefan did recently fixes
your issue also.
Regards,
Antoine
Original-Nachricht
> Datum: Thu, 27 May 2010 23:34:34 -0400
> Von: "St. Denis, David"
> An: "user@ant.apache.org"
> Betreff: RE: Copy task fails on AIX & Suse Linux 9
>
I found that the Ant 1.8 copy task has problems on SLES9 as well.
parsing buildfile
jar:file:/uhome/dsd/bin/neutral/ant-1.8.1/lib/ant.jar!/org/apache/tools/ant/antlib.xml
with URI =
jar:file:/uhome/dsd/bin/neutral/ant-1.8.1/lib/ant.jar!/org/apache/tools/ant/antlib.xml
from a zip file
[cop
@googlemail.com]
>Gesendet: Mittwoch, 18. November 2009 14:00
>An: Ant Users List
>Betreff: Re: Copy task failed to copy due to invalid argument
>
>2009/11/18 Sim Soon Huat :
>> Hi,
>>
>> I've a server which is mounting a nfs share. When I do a
>copy
2009/11/18 Sim Soon Huat :
> Hi,
>
> I've a server which is mounting a nfs share. When I do a copy on a file
> larger than 2GB, the following error comes up. It works perfectly for
> smaller files.
What file system is used on the partition containing the server's
exported directory? It may be the
On 2009-07-16, Scot P. Floess wrote:
> Wasn't this covered/solved yesterday on the mailing list?
> On Wed, 15 Jul 2009, manish.s...@wellsfargo.com wrote:
>> I am having this weird issue which has me stumped and don't know
>> where to look further.
I think Manish posted the question a second ti
Wasn't this covered/solved yesterday on the mailing list?
On Wed, 15 Jul 2009, manish.s...@wellsfargo.com wrote:
Hi,
I am having this weird issue which has me stumped and don't know where to look
further.
It's the standard task and I have a fileset.
t;Case preserving" is checked.
>
> IIRC that requires a reboot.
>
>
> SKent
> x8014
>
> -Original Message-
> From: mechlife [mailto:gaiam...@gmail.com]
> Sent: Wednesday, July 15, 2009 1:00 PM
> To: user@ant.apache.org
> Subject: Re: copy ta
Sounds really weird and cannot be justified in context of the copy task.
Try the copy with overwrite="true" parameter. My guess is that because of
some old exercise your files exist in the target directory with lowercase
names. The copy task, by default, does not copy a file to the target
directory
se -> and select the MVFS tab.
Make sure "Case preserving" is checked.
IIRC that requires a reboot.
SKent
x8014
-Original Message-
From: mechlife [mailto:gaiam...@gmail.com]
Sent: Wednesday, July 15, 2009 1:00 PM
To: user@ant.apache.org
Subject: Re: copy task and file name
What platform are you running this on?
On Wed, 15 Jul 2009, mechlife wrote:
to take an example what is happening is if the file name is MyJavaClass.java
when it gets copied it changes to myjavaclass.java.
ty
Avlesh Singh wrote:
What is happening is the java files when they get copied
to take an example what is happening is if the file name is MyJavaClass.java
when it gets copied it changes to myjavaclass.java.
ty
Avlesh Singh wrote:
>
>>
>> What is happening is the java files when they get copied to the target
>> directory lose the casesensitive filename ...
>
>
> I cou
>
> What is happening is the java files when they get copied to the target
> directory lose the casesensitive filename ...
I could not understand this. Do you mean to say that *.java files are
getting copied but not the *.JAVA files? If yes, then that might happen
depending on your underlying ope
Stephen McConnell wrote:
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Thursday, 2 February 2006 2:25 AM
To: Ant Users List
Subject: Re: Copy-Task
Stephen McConnell wrote:
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
-you
> -Original Message-
> From: Steve Loughran [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 2 February 2006 2:25 AM
> To: Ant Users List
> Subject: Re: Copy-Task
>
> Stephen McConnell wrote:
> >
> >
> >> -Original Message-
> >
Stephen McConnell wrote:
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
-you can use the selector to do byte for byte
comparisons of files. But that pulls all the remote data down
and can clog a network
Would an MD5 comparison be sufficient?
you probably do
You still need to pull down all of the bytes to compute the MD5 sum.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WAS Pyxis Lead Release Engineer
"Stephen McConnell" <[EMAIL PROTECTED]>
02/01/2006 10:36 AM
Please respond to
"Ant Users List"
To
"'Ant Use
I haven't followed the beginning of the discussion so I may be wrong
about what it is about ;)
(Sorry if I misunderstood the question)
If you need to copy only modified files from local host to a remote
host, you can use a mehod similar to what I have done for updating the
http://www.jmol.or
> -Original Message-
> From: Steve Loughran [mailto:[EMAIL PROTECTED]
> -you can use the selector to do byte for byte
> comparisons of files. But that pulls all the remote data down
> and can clog a network
Would an MD5 comparison be sufficient?
/Steve.
Stefan Bodewig wrote:
On Tue, 31 Jan 2006, Markus M. May <[EMAIL PROTECTED]> wrote:
Now I just would like to copy files which are not already on the
remote repository. This cannot be done using the standard ant-task
copy, since the jars on the local system do have a newer timestamp.
Apart fro
Hello,
well, we are generating the JARs on the local development machines each
time from totally new source-tree. We are doing this, because of a bug
in the VSS-System, we are using (there are some problems with
synchronizing the VSS repository with the local file systems).
Therefor the full_build
On Tue, 31 Jan 2006, Markus M. May <[EMAIL PROTECTED]> wrote:
> Now I just would like to copy files which are not already on the
> remote repository. This cannot be done using the standard ant-task
> copy, since the jars on the local system do have a newer timestamp.
Apart from using the present
Create, never used selectors, but this is the one to use
() :-)
On Di, 2006-01-31 at 15:29 -0500, Jeffrey E Care wrote:
> already does timestamp checks, and it already has @overwrite.
>
> I think you need to use a selector to accomplish what you're trying to do.
>
already does timestamp checks, and it already has @overwrite.
I think you need to use a selector to accomplish what you're trying to do.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WAS Pyxis Lead Release Engineer
"Markus M. May" <[EMAIL PROTECTED]> wrote on 01/31/2006 03:14:42 PM:
> We are runnin
Ugh. That did it.
I wish it was something more complex so I didn't have to feel so stupid
right now :(
Thank you Alexey!
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Thu, August 25, 2005 3:20 pm, Alexey N. Solofnenko said:
> You need
You need to put a slash at the end. For example: name="WEB-INF/src/"
- Alexey.
Frank W. Zammetti wrote:
Hi all,
I'm trying to set up a task that will copy an entire directory tree
starting at a given root directory, but which will EXCLUDE certain
directories in the tree.
I started with the en
This should solve your issue:
preservelastmodifiedGive the copied files the same last modified time as
the original source files. No; defaults to false.
http://ant.apache.org/manual/CoreTasks/copy.html
Its the second paramter.
ramnish.
-Original Message-
From: [EMAIL PROTECTED
[EMAIL PROTECTED] wrote:
Hi All,
While you use Copy task it will change the timestamp of that
file, i.e. if "old.txt" file was created on July 12, 2000 when you copy
this file on Aug 12, 2005 to certain location Copy task will change its
timestamp(or modified date) to Aug 12, 2005, ho
On 5/13/05, miten mehta <[EMAIL PROTECTED]> wrote:
>
>
>
the name attribute of accepts a single pattern, not a comma
separated list of patterns like the includes attribute of .
Please read the Manual for carefully. --DD
-
On Fri, 2005-05-13 at 21:35 -0700, miten mehta wrote:
> Hello,
>
> I am having problem getting ant task copy to work as
> expected. Refer dir structure and task snippets
> below.
>
> I would like to copy sys, scripts dir tree from
> /home/mit/common to /home/mit/install. so sys and
> script
Sure; use one copy task to copy the old version to an archive directory;
then use the second copy task to overlay the original of the old version
with the new version of the file.
Rhino
- Original Message -
From: "Hariharan, Vadivelu (IE10)" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, Marc
Bruce:
If all ** directories live under a single parent, you
can use that for 's toDir attribute, specify
enablemultiplemappings="true" and use a nested
(composite) . If, however, you do not know
all the possible values of ** things are a little more
difficult depending on how complicated you wish
37 matches
Mail list logo