Re: Question about Copy task with empty PatternSet

2014-05-16 Thread Roger Whitcomb
Well, that basically worked. But I had to put the "exclude" not in the PatternSet itself, but in the FileSet that referenced the PatternSet, like this: Not totally ideal, maybe, but it does work. I think what you said would work with the incomplete example I gave, but I also was using

Re: Question about Copy task with empty PatternSet

2014-05-15 Thread Antoine Levy Lambert
Hi, you can try this (untested): > >

Re: Question about Copy task with empty PatternSet

2014-05-14 Thread KM
perty. KM From: Roger Whitcomb To: "user@ant.apache.org" Sent: Tuesday, May 13, 2014 8:49 PM Subject: Question about Copy task with empty PatternSet Hi all,   I was banging my head against the wall for several hours today on this problem and

Question about Copy task with empty PatternSet

2014-05-13 Thread Roger Whitcomb
feature sets. There are properties set (or not) depending on which features to support. Now a new feature requires some new .jar files which are not needed by any other feature. I have a PatternSet with these .jar files listed: Now there is a Copy task that is putting stuff in the installation

Ant Copy Task Overwrite ignore listener

2013-10-08 Thread Raja Nagendra Kumar
Hi, Is it possible of add log to console all the Overwritten files/Override ignored files during copy. If not though ant xml script, is it possible to do the same through API. Regards, Nagendra -- Raja Nagend

Re: Copy task not to overwrite but rename the file as _1 _2 etc..

2013-10-07 Thread Matt Benson
.. > > 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 classes.jar as is as there is existing classes.jar in xyz dir, > however for 2nd fil

Re: Copy task not to overwrite but rename the file as _1 _2 etc..

2013-10-07 Thread Raja Nagendra Kumar
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

Re: Copy task not to overwrite but rename the file as _1 _2 etc..

2013-10-07 Thread Matt Benson
ed by filename mappers. >> >> Matt >> On Oct 7, 2013 4:20 AM, "Raja Nagendra Kumar"> com > >> wrote: >> >> Hi >>> >>> Does copy task have any option to rename to be copie file as >>> existing_file_1.xx etc.. just like w

Re: Copy task not to overwrite but rename the file as _1 _2 etc..

2013-10-07 Thread Raja Nagendra Kumar
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, Nagendra -- View this

Re: Copy task not to overwrite but rename the file as _1 _2 etc..

2013-10-07 Thread Matt Benson
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 existi

Copy task not to overwrite but rename the file as _1 _2 etc..

2013-10-07 Thread Raja Nagendra Kumar
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, Nagendra -- View this message in context: http://ant.1045680.n5.nabble.com/Copy-task-not-to-overwrite-but-rename-the-file-as-1-2-etc-tp5714507

Re: RE: Copy task fails on AIX & Suse Linux 9

2011-03-31 Thread hezjing
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

Re: Access denied with ant copy task

2010-10-31 Thread efe4it
er under a specific account. Regards -- View this message in context: http://ant.1045680.n5.nabble.com/Access-denied-with-ant-copy-task-tp3242026p3243937.html Sent from the Ant - Users mailing list archive at Nabble.com. --

Re: Access denied with ant copy task

2010-10-29 Thread efe4it
: http://ant.1045680.n5.nabble.com/Access-denied-with-ant-copy-task-tp3242026p3242614.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: RE: Copy task fails on AIX & Suse Linux 9

2010-05-28 Thread Antoine Levy-Lambert
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 >

RE: Copy task fails on AIX & Suse Linux 9

2010-05-27 Thread St. Denis, David
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

Copy task fails on AIX

2010-05-26 Thread St. Denis, David
Ant copy task fails to copy file properly on AIX with Ant 1.8.0 and 1.8.1. The files appear to copy but end up empty. Switching between Java 1.5 and 1.6 had no effect when using Ant 1.8 or 1.8.1, but switching back to Ant 1.7 the copy task started working again. Apache Ant version 1.7.0

problems with empty directories and copy task

2010-03-01 Thread Sascha Ernst
Hello, I have a problem with a fileset/patternset and a copy task. In the structure I'd like to copy there are (besides "normal" folders and files) - Empty directories - OS-specific folders I'd like to copy everything (incl. the empty directories) but

Copy task bug?

2009-12-19 Thread Karsten Wutzke
Hello all, I have a simple copy task, that will copy ~4000 files in a directory tree to another dir *unchanged*: For some unknown reason, the Ant copy task overwrites image files even if overwrite="false". For all other file types preservation of existing fi

RE: Copy task failed to copy due to invalid argument

2009-11-18 Thread Sim Soon Huat
essage does not indicate so. -Original Message- From: jan.mate...@rzf.fin-nrw.de [mailto:jan.mate...@rzf.fin-nrw.de] Sent: 18 November 2009 21:46 To: user@ant.apache.org Subject: AW: Copy task failed to copy due to invalid argument The underlying exception is an IOException with that &

AW: Copy task failed to copy due to invalid argument

2009-11-18 Thread Jan.Materne
che Nachricht- >Von: Andy Stevens [mailto:insomniacpeng...@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 se

Re: Copy task failed to copy due to invalid argument

2009-11-18 Thread Andy Stevens
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

Copy task failed to copy due to invalid argument

2009-11-17 Thread 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. [copy] Failed to copy /opt/home/servera/abc.log to abc.log due to Invalid argument Does anyone know where the limitation is at? Tha

Re: Map file names in copy task

2009-08-19 Thread Leif Bladt
As I read my post again, I think I can clarify this a bit with more code: So, what I want is, that all the files get copied. If there is a mapping for the file name use the mapped file name, otherwise use the origin

Map file names in copy task

2009-08-19 Thread Leif Bladt
Hi list, I defined a bunch of files with a path (or a file set) to copy them in several tasks. Now I would like to map some of the filenames, where other should keep their original file name. With the mapping below, all not defined files won't get copied. Is there a possibility IU've over

Re: copy task and filename issue..

2009-07-16 Thread Stefan Bodewig
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

Re: copy task and filename issue..

2009-07-16 Thread Scot P. Floess
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.

copy task and filename issue..

2009-07-15 Thread Manish.Shah
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. What is happening is the java files when they get copied to the target directory lose the

RE: copy task and file name case problem

2009-07-15 Thread mechlife
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

Re: copy task and file name case problem

2009-07-15 Thread Avlesh Singh
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

RE: copy task and file name case problem

2009-07-15 Thread Moore, Kent
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

Re: copy task and file name case problem

2009-07-15 Thread Scot P. Floess
. What is happening is the java files when they get copied to the target directory lose the casesensitive filename and obviously the subsequent compile fails. Any suggestions will be greatly appreciated. -- View this message in context: http://www.nabble.com/copy-task-and-file-name-case-problem

Re: copy task and file name case problem

2009-07-15 Thread mechlife
leset. >> >> >> >> >> >> >> >> What is happening is the java files when they get copied to the target >> directory lose the casesensitive filename and obviously the subsequent >> c

Re: copy task and file name case problem

2009-07-15 Thread Avlesh Singh
ile fails. > > > Any suggestions will be greatly appreciated. > > > > -- > View this message in context: > http://www.nabble.com/copy-task-and-file-name-case-problem-tp24501269p24501269.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > -

copy task and file name case problem

2009-07-15 Thread mechlife
the casesensitive filename and obviously the subsequent compile fails. Any suggestions will be greatly appreciated. -- View this message in context: http://www.nabble.com/copy-task-and-file-name-case-problem-tp24501269p24501269.html Sent from the Ant - Users mailing list archive at Nabble.com

Re: Using regular expressions to select files when using ant copy task

2009-06-24 Thread David Weintraub
nd various combinations > of: >             >                 >             > > That didn't work either.  Can anybody please help? > > Thanks! > > -- > View this message in context: > http://www.nabble.com/Using-regular-expressions-to-select-files-when-us

Using regular expressions to select files when using ant copy task

2009-06-23 Thread Jack Blan
That didn't work either. Can anybody please help? Thanks! -- View this message in context: http://www.nabble.com/Using-regular-expressions-to-select-files-when-using-ant-copy-task-tp24174053p24174053.html Sent from the Ant - Users mailing list archive at Nabble.com. ---

Re: Make copy task fail if any destination file already exists?

2009-01-27 Thread David Weintraub
Sorry I didn't get back to you earlier... One of the parameters of the task is the "overwrite" parameter. This will prevent a file from being copied over even if the file you're copying is a newer version. That won't fail the copy task, but it will prevent you from overw

RE: Make copy task fail if any destination file already exists?

2009-01-27 Thread Chun Ji
ir to your targetDir. (I guess none of the existing files are read-only ? ) -Charlie. -Original Message- From: Yves Dessertine [mailto:yvesd.pub...@gmail.com] Sent: Tuesday, January 27, 2009 9:56 AM To: Ant Users List Subject: Re: Make copy task fail if any destination file already e

Re: Make copy task fail if any destination file already exists?

2009-01-27 Thread Yves Dessertine
en. > > -Charlie > > -Original Message- > From: Yves Dessertine [mailto:yvesd.pub...@gmail.com] > Sent: Tuesday, January 27, 2009 9:38 AM > To: Ant Users List > Subject: Re: Make copy task fail if any destination file already exists? > > I'll explain a bit mo

RE: Make copy task fail if any destination file already exists?

2009-01-27 Thread Chun Ji
It happens if these existing files can not be overwritten. -Charlie -Original Message- From: Yves Dessertine [mailto:yvesd.pub...@gmail.com] Sent: Tuesday, January 27, 2009 9:38 AM To: Ant Users List Subject: Re: Make copy task fail if any destination file already exists? I&#x

Re: Make copy task fail if any destination file already exists?

2009-01-27 Thread Yves Dessertine
les from sourceDir to targetDir, but throwing an error if any file to be copied already exists in targetDir Here, I need the copy task to fail because subdir/foo1.bmp already exists. It is possible to do such a thing w/ ant ? Regards, Yves Dessertine 2009/1/26 Yves Dessertine : > Thank you for

Re: Make copy task fail if any destination file already exists?

2009-01-26 Thread Yves Dessertine
n the target dir. This looks quite complicated to do with ant. 2009/1/26 : >>It is possible with Ant to make a copy task fail if any destination >>file already exists? >> >>I found no clue in the docs (noticed only the "failonerror" param in >>copy task (htt

AW: Make copy task fail if any destination file already exists?

2009-01-26 Thread Jan.Materne
>It is possible with Ant to make a copy task fail if any destination >file already exists? > >I found no clue in the docs (noticed only the "failonerror" param in >copy task (http://ant.apache.org/manual/CoreTasks/copy.html) and in >the condition for the "fail

Fwd: Make copy task fail if any destination file already exists?

2009-01-26 Thread Yves Dessertine
Hi there. It is possible with Ant to make a copy task fail if any destination file already exists? I found no clue in the docs (noticed only the "failonerror" param in copy task (http://ant.apache.org/manual/CoreTasks/copy.html) and in the condition for the "fail" task, but n

Re: Feature requests: include ant-contrib, unordered file sets, "cp"-like copy task

2008-12-03 Thread Stefan Bodewig
On 2008-12-03, Francis Galiegue <[EMAIL PROTECTED]> wrote: > Le mardi 02 décembre 2008, Francis Galiegue a écrit : > [...] >>> 3.I did not try this, but it seems not too difficult, perhaps I dont know >>> enough about cp. >>> What about >>> >>> >>> >>> >>> >>

Re: AW: Feature requests: include ant-contrib, unordered file sets, "cp"-like copy task

2008-12-03 Thread Francis Galiegue
Le mercredi 03 décembre 2008, Francis Galiegue a écrit : > Le mardi 02 décembre 2008, Francis Galiegue a écrit : > [...] > > > > > > > > 3.I did not try this, but it seems not too difficult, perhaps I dont know > > > enough about cp. > > > What about > > > > > > > > > > > >

Re: AW: Feature requests: include ant-contrib, unordered file sets, "cp"-like copy task

2008-12-03 Thread Francis Galiegue
Le mardi 02 décembre 2008, Francis Galiegue a écrit : [...] > > > > > 3.I did not try this, but it seems not too difficult, perhaps I dont know > > enough about cp. > > What about > > > > > > > > > > > > > > > > I'll try that and report. > Nope... It reco

Re: Feature requests: include ant-contrib, unordered file sets, "cp"-like copy task

2008-12-02 Thread Stefan Bodewig
On 2008-12-02, Francis Galiegue <[EMAIL PROTECTED]> wrote: > We use ant 1.6.5. > 1. ant-contrib > I find myself using ant-contrib extensively throughout the project for the > following tags: > Are there plans to include ant-contrib in ant itself? No. Please note that the ant-contrib project i

Re: AW: Feature requests: include ant-contrib, unordered file sets, "cp"-like copy task

2008-12-02 Thread Francis Galiegue
Le mardi 02 décembre 2008, Knuplesch, Juergen a écrit : > > Hello, > [...] > > 2.You want ordered filesets not unordered filsets, but it should be the user > who defines the order! I sometimes had the same problem. The problem is, > that filsets do not guarantee any order. Well, I figured ou

AW: Feature requests: include ant-contrib, unordered file sets, "cp"-like copy task

2008-12-02 Thread Knuplesch, Juergen
Seltmann HRB Stuttgart 17655 USt-IdNr.: DE 811944121 -Ursprüngliche Nachricht- Von: Francis Galiegue [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 2. Dezember 2008 15:53 An: user@ant.apache.org Betreff: Feature requests: include ant-contrib, unordered file sets, "cp"-like copy t

Feature requests: include ant-contrib, unordered file sets, "cp"-like copy task

2008-12-02 Thread Francis Galiegue
ave unordered file sets (which is a pleonasm anyway, since a set has no order by definition)? 3. "cp"-like copy task Here's a question: how do you do, with ant, the equivalent of this command: cp -r */src/java/* dstdir/ Well, I have struggled for more than one hour trying to do this,

AW: Conditionally execute copy task

2008-09-29 Thread Spilker, Jörg
Hello, thank you both for your answers. I was completely wrong because i was looking for as a special task. I didn´t recognize that´s an attribute of a target. Greeting, Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

AW: Conditionally execute copy task

2008-09-26 Thread Jan.Materne
Use conditional patterns. Jan >-Ursprüngliche Nachricht- >Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 26. September 2008 11:21 >An: 'Ant Users List' >Betreff: RE: Conditionally execute copy

RE: Conditionally execute copy task

2008-09-26 Thread Rebhan, Gilbert
-Original Message- From: "Spilker, Jörg" [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2008 11:03 AM To: 'user@ant.apache.org' Subject: Conditionally execute copy task /* Hello, i want to copy some files only if some property is set to true. Is this po

Conditionally execute copy task

2008-09-26 Thread Spilker, Jörg
Hello, i want to copy some files only if some property is set to true. Is this possible? There is the condition tasks, but it only sets a property based on prerequisites. I didn´t found anything like an tasks or similar. Greetings, Jörg

Re: problem with copy task

2008-03-27 Thread Luca Ferrari
On Thursday 27 March 2008 Luca Ferrari's cat, walking on the keyboard, wrote: > Hi all, > I've got the following task in my ant build file: > > description="Copies all the jars this project depdends on contained in > ${src.lib.dir}" if="${src.lib.dir}"> > > >

Re: problem with copy task

2008-03-27 Thread Peter Reilly
if="${src.lib.dir}"> should be if="src.lib.dir" as the if attribute uses the presence or absence of the property and not on the value of the property. also, you may need to do **/*.jar instead of "*.jar" to get jars in sub-directories. Peer On Thu, Mar 27, 2008 at 12:48 PM, Luca Ferrari <[EMAIL

problem with copy task

2008-03-27 Thread Luca Ferrari
Hi all, I've got the following task in my ant build file: the idea is to copy all the jars in the src-lib file directory to the destination directory. ${src.lib.dir} poi

AW: problem with copy task

2008-03-11 Thread Jan.Materne
Hasan [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 12. März 2008 04:51 > An: user@ant.apache.org > Betreff: problem with copy task > > Hi > I am trying to copy some files and if the file exists with different > content(in the destination area) then copy task doesn't &g

problem with copy task

2008-03-11 Thread Md. Jahidul Hasan
Hi I am trying to copy some files and if the file exists with different content(in the destination area) then copy task doesn't upload the file again. I don't want to use the overwrite parameter because there are lots of files and I don't want to overwrite all the files again. Ju

Re: Issue with fileset of copy task

2008-02-14 Thread Peter Reilly
? this has already been answered ? On Thu, Feb 14, 2008 at 8:15 AM, dheeraj tandon <[EMAIL PROTECTED]> wrote: > Hi, > > I have 2 machines and both has same ant(1.6.5) and java(1.5) versions. > > When i compile a code in both the machine, > > Machine 1 acts correctly. But in Machine2 the fileset

Issue with fileset of copy task

2008-02-14 Thread dheeraj tandon
Hi, I have 2 machines and both has same ant(1.6.5) and java(1.5) versions. When i compile a code in both the machine, Machine 1 acts correctly. But in Machine2 the filesets are copied in the reverse order. i.e., Example: (trimmed) In Machine1 fileset 1,2,3 copied in order, But In machine2

RE: capturing or echoing the output of the copy task

2007-04-03 Thread Res Pons
cancel that please. I overlookd the -verbose attribute. Original Message Follows From: "Res Pons" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: user@ant.apache.org Subject: capturing or echoing the output of the copy task Date: Tue, 03 Apr 2007 10:22:07

capturing or echoing the output of the copy task

2007-04-03 Thread Res Pons
The copy task only echoes the number of files copied but it does not show the actual file names being copied. I don't see an attribute for this task. How can I force the copy task to show the list of files being copied w/o writing tons of code or echo statments? e.g. Target:

RE: fileset and filename under copy task

2007-02-22 Thread Jackson, Paul R
- From: Mathieu Champlon [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 1:25 AM To: Ant Users List Subject: Re: fileset and filename under copy task bill/wilandra a écrit : > >From the examples in the 1.6.5 manual I would assume that the > >following > should work. I

fileset and filename under copy task

2007-02-21 Thread KDuffy
does not work. Hope somebody can shed some light on what is going on here. Thanks KBD "bill/wilandra" <[EMAIL PROTECTED]> 02/20/2007 06:04 PM Please respond to "Ant Users List" To "'Ant Users List'" cc Subjec

Re: fileset and filename under copy task

2007-02-20 Thread Mathieu Champlon
bill/wilandra a écrit : >From the examples in the 1.6.5 manual I would assume that the following should work. I did not try it. HTH Bill Hello, Unfortunatly this won't work as a fileset behaves like an 'and' selector container. Ther

Re: fileset and filename under copy task

2007-02-20 Thread Mathieu Champlon
[EMAIL PROTECTED] a écrit : This does NOT work: Copy Other Files ${bin} ${src} Hello, You can do something much

Re: fileset and filename under copy task

2007-02-20 Thread Ninju Bohra
bruary 20, 2007 1:54:44 PM Subject: fileset and filename under copy task Hello: I am tring to do something simple. I want to copy files from from one directory to another by listing specific groups of file ie *.XML or *.html The follwing works: Copy Other Files B

RE: fileset and filename under copy task

2007-02-20 Thread bill/wilandra
To: user@ant.apache.org Subject: fileset and filename under copy task Hello: I am tring to do something simple. I want to copy files from from one directory to another by listing specific groups of file ie *.XML or *.html The follwing works: Copy Other Fi

fileset and filename under copy task

2007-02-20 Thread KDuffy
Hello: I am tring to do something simple. I want to copy files from from one directory to another by listing specific groups of file ie *.XML or *.html The follwing works: Copy Other Files But

RE: Problem in copy task with filtering

2007-02-06 Thread Narayanan, Latchoumi
Thanks Steve, I am just using a blank space for begintoken/endtoken. It works fine. Latchoumi -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 06, 2007 6:29 AM To: Ant Users List Subject: Re: Problem in copy task with filtering Narayanan

Re: Problem in copy task with filtering

2007-02-06 Thread Steve Loughran
Narayanan, Latchoumi wrote: Hi all, In my build script I am using, This code is copying the web.xml file, but not replacing the word "spoofFilter" with "permissionFilter" as I am trying to do, Can someone tell me what I am doing wrong here. tokens have a prefix around them

Problem in copy task with filtering

2007-02-05 Thread Narayanan, Latchoumi
> Hi all, > > In my build script I am using, > > toFile="${build.root}/WEB-INF/web.xml" > filtering="on" overwrite="true"> > > > > > > This code is copying the web.xml file, but not replacing the word > "spoofFilter" with "permissionFilter" as

AW: How to let the copy-task fail if a fileset is not completely available

2007-02-01 Thread Thomas.Poersch
Hi! I figured out the following construction. It

How to let the copy-task fail if a fileset is not completely available

2007-01-31 Thread Thomas.Poersch
Hi! I am creating install packages with ANT's copy-task. It works fine and fails if one file is missing. Now I want to define the target directory only once with the following constru

Re: Copy-Task

2006-02-02 Thread Steve Loughran
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

RE: Copy-Task

2006-02-01 Thread Stephen McConnell
> -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- > >

Re: Copy-Task

2006-02-01 Thread Steve Loughran
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

RE: Copy-Task

2006-02-01 Thread Jeffrey E Care
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

Re: Copy-Task

2006-02-01 Thread Nicolas Vervelle
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

RE: Copy-Task

2006-02-01 Thread Stephen McConnell
> -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.

Re: Copy-Task

2006-02-01 Thread Steve Loughran
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

Re: Copy-Task

2006-01-31 Thread Markus M. May
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

Re: Copy-Task

2006-01-31 Thread Stefan Bodewig
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

Copy-Task

2006-01-31 Thread Markus M. May
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. I already implemented something like this via some custom ant-tasks (foreach ist just one of them). But I thought that the copy-task should define

Re: Copy-Task

2006-01-31 Thread Markus M. May
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. >

Re: Copy-Task

2006-01-31 Thread Jeffrey E Care
e 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. > I already implemented something like this via some custom ant-tasks > (foreach ist just one

Copy-Task

2006-01-31 Thread Markus M. May
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. I already implemented something like this via some custom ant-tasks (foreach ist just one of them). But I thought that the copy-task should define

Re: Need Help Extending Copy Task

2005-10-19 Thread Stephen Nesbitt
On Wednesday 19 October 2005 01:01, Steve Loughran wrote: > question: where does this newCopy get its project to log to? > > Because I dont see you passing it down, and I would centainly expect > project.log() to NPE when it is null -which is exactly what appears to > be happening. > > newCopy.setP

Re: Need Help Extending Copy Task

2005-10-19 Thread Steve Loughran
Stephen Nesbitt wrote: All: I'm trying to extend the the copy task and am running into a brick wall. What I am trying to do is to extend the task so that it can accept a property which contains a comma separated list of FileSet references. For example: . my:copy would do nothing more

Need Help Extending Copy Task

2005-10-18 Thread Stephen Nesbitt
All: I'm trying to extend the the copy task and am running into a brick wall. What I am trying to do is to extend the task so that it can accept a property which contains a comma separated list of FileSet references. For example: . my:copy would do nothing more than parse filesetlist and

Re: Copy task that excludes directories

2005-08-25 Thread Frank W. Zammetti
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

Re: Copy task that excludes directories

2005-08-25 Thread Alexey N. Solofnenko
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

Copy task that excludes directories

2005-08-25 Thread Frank W. Zammetti
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 entire copy: Basically, I'm trying to exclude a single directory: src in WEB-

RE: Copy task and timestamp

2005-08-02 Thread Ramnish Kalsi
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 August 2005 14:23 To: user@ant.apache.org Subject: Copy task and timestamp 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 1

Re: Copy task and timestamp

2005-08-02 Thread Nicolas Vervelle
[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 Au

Copy task and timestamp

2005-08-02 Thread pritesh.saharey
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, hope people are

Re: Fileset in Copy Task

2005-07-11 Thread KrustyDerClown
Hello, i am sorry. I am stupid. :) I have another include: I see it when i start with -debug. Thanks for the help. - Original Message - From: "Conor MacNeill" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Monday, July 11, 2005 2:37 PM Subject

  1   2   >