Re: Question about Copy task with empty PatternSet

2014-05-16 Thread Roger Whitcomb
e is enabled or not, which avoids the problem of an empty list implying "copy everything". So, thank you very much! ~Roger Whitcomb > On May 14, 2014, at 9:04 PM, Antoine Levy Lambert wrote: > > Hi, > > you can try this (untested): > >> >>

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
Not really giving any specifics - but use the support.abc property when checking the copy as well, e.g. make a target/task or if the copy would support the check use it there.  I'd have to look up the syntax etc. Or make the whole pattern set and copy a target/task and check for the pro

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

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

Copy issue ant 1.8.2 windows (Failed copy deletes targeted file even when copy is not attempted)

2012-04-11 Thread Jason Weinstein
NOTE: I attempted subscription to ant user mailing list but have not yet received a subscribe email ack, so PLEASE include jason.weinst...@oracle.com in responses. Thanks Copy issue ant 1.8.2 windows (Failed copy deletes targeted file even when copy is not attempted) copy uses overwrite

Re: Copy a file from an smb network location to a local one

2011-07-07 Thread Scot P. Floess
Sorry, the samba-client packages :) On Thu, 7 Jul 2011, Josh Williams wrote: I know I can use get if i want to copy the file from a specific location but the location i want to use at the moment is smb://excel/... For example if I go on to Ubuntu's window's explorer and choose to

Re: Copy a file from an smb network location to a local one

2011-07-07 Thread Scot P. Floess
guessing you are on *nix? If you are on a Linux box, try installing smb-client packages. There is an app called smbget, you can probably just that... Personally, if you go that route, I'd wrap the call in a macrodef for reuse ;) On Thu, 7 Jul 2011, Josh Williams wrote: I know I can use

Copy a file from an smb network location to a local one

2011-07-07 Thread Josh Williams
I know I can use get if i want to copy the file from a specific location but the location i want to use at the moment is smb://excel/... For example if I go on to Ubuntu's window's explorer and choose to go to smb://excel the folder opens just fine! Whenever I try to run the script

RE: Need to copy a set of files from a directory tree dynamically

2011-04-27 Thread Bailey, Darragh
> -Original Message- > From: Ramarao_4s [mailto:phanisekhar.p...@gmail.com] > Sent: 26 April 2011 14:08 > To: user@ant.apache.org > Subject: Need to copy a set of files from a directory tree dynamically > > Hi All, > > I have a requirement where I need to co

Need to copy a set of files from a directory tree dynamically

2011-04-26 Thread Ramarao_4s
Hi All, I have a requirement where I need to copy a set of files from a directory tree, can any one help me in resolving this. My directory structure is Ant Tesing + build(Folder) + Main(Folder) + Result(Folder) Under my Main Folder I have different sub Folders with different names which in

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: Copy from A -> B based on file structure of C?

2010-11-02 Thread Dominique Devienne
On Mon, Nov 1, 2010 at 7:03 PM, kerryland wrote: > I'd like to copy files from one directory to another, but only those files > that exist in a given directory. Look at the file mapper, as David suggested. --DD -

Re: Copy from A -> B based on file structure of C?

2010-11-01 Thread David Weintraub
ing to each one of them. You might be able to specify each one you want to copy this way. On Mon, Nov 1, 2010 at 8:03 PM, kerryland wrote: > > > I'd like to copy files from one directory to another, but only those files > that exist in > a given directory. > > eg, given 3

Copy from A -> B based on file structure of C?

2010-11-01 Thread kerryland
I'd like to copy files from one directory to another, but only those files that exist in a given directory. eg, given 3 directories: /everything/a.txt /b.txt /c.txt /not-much/b.txt /destination ... I'd like to copy files from "

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
than ant concern. Actually you'd better keep the build tool unaware of this access rights issues Note: If target host is Linux, better use SSH copy ( & ) The following is for connecting to a Windows share, experimented with Tomcat6 on Win2008 I had problems using UNC paths so I dec

Re: simplify copy with regexpmapper (mapper/regexp)

2010-09-22 Thread Michael Ludwig
Stefan Bodewig schrieb am 20.09.2010 um 17:55 (+0200): > On 2010-09-17, Niklas Matthies wrote: > > Anyway, I'd be interested in a solution that really only removes a > > prefix of the path. > >

Re: simplify copy with regexpmapper (mapper/regexp)

2010-09-20 Thread Stefan Bodewig
dirs". >>> If for example the files to copy are Java source files under multiple >>> source roots, "flatten" would also remove the Java package directories >>> from the file paths, instead of just the part above the source roots. >> This is correct,

RE: simplify copy with regexpmapper (mapper/regexp)

2010-09-18 Thread Ludwig, Michael
> Here's working code: > > > > > > > > > > >from="^[-_a-zA-Z0-9]+/lib/(.*)" > to="\1" /> > > > One more observation is that the is also a "grepper" (as in "map" and "grep" in Perl), i.e. a filter defining a match c

RE: simplify copy with regexpmapper (mapper/regexp)

2010-09-18 Thread Ludwig, Michael
of course, just for the fun of it, I had introduced some other issues as well. First, in a regression from what I had already learnt, I resupplied the ${source.dir} to the mapper. However, ${source.dir} appears to be the context directory for the copy task, so the character string representing that

RE: simplify copy with regexpmapper (mapper/regexp)

2010-09-18 Thread Ludwig, Michael
> The following does not work for me, though: > > > > > > > > > > >handledirsep="1"/> And this is hardly surprising as I was confounding shell patterns and regular expressions. The following, while not working, is at least a suitable regular

RE: simplify copy with regexpmapper (mapper/regexp)

2010-09-18 Thread Ludwig, Michael
> From: Ludwig, Michael > Unfortunately, however, the task in Ant 1.8.1 does not support > a nested . > > copy doesn't support the nested "regexmapper" element. Fortunately, however, it starts supporting it once you spell it correctly: The followin

RE: simplify copy with regexpmapper (mapper/regexp)

2010-09-18 Thread Ludwig, Michael
> Now I want to copy the files below src/*/lib, or most of them. > And I want to strip the leading two directories. I came up with > the following solution, but it is clumsy and I think there is > a better way that I'm missing. It appears to me from the documentation of the Map

RE: simplify copy with regexpmapper (mapper/regexp)

2010-09-18 Thread Ludwig, Michael
> What about something like this: > > > > > > > > > > > > > I stole this from the ANTLR build script for actionscript target. It > does have a couple other replacestring elements, but this is the one > you would be interes

Re: simplify copy with regexpmapper (mapper/regexp)

2010-09-17 Thread Wayne Hassman
What about something like this: I stole this from the ANTLR build script for actionscript target. It does have a couple other replacestring elements, but this is the one you would be interested in "removing" high level

Re: simplify copy with regexpmapper (mapper/regexp)

2010-09-17 Thread Michael Ludwig
Niklas Matthies schrieb am 17.09.2010 um 15:08 (+0200): > Well, Michael wrote "I want to strip the leading two directories", and > also "/lib/**/*.*", which suggests that there can be directories below > "lib", and his regex just strips the directories up to "lib". Right. > Anyway, I'd be intere

Re: simplify copy with regexpmapper (mapper/regexp)

2010-09-17 Thread Michael Ludwig
e all dirs, flatten="true" or the > >> flattenmapper should do what you want. > > > But "flatten" also cuts away all sub-directories. Exactly. I want to preserve those. > Absolutely, hence "since you really want to remove all dirs". > > >

Re: simplify copy with regexpmapper (mapper/regexp)

2010-09-17 Thread Niklas Matthies
On Fri 2010-09-17 at 14:54h, Stefan Bodewig wrote on user: > On 2010-09-17, Niklas Matthies wrote: : > > But "flatten" also cuts away all sub-directories. > > Absolutely, hence "since you really want to remove all dirs". > > > If for example the files

Re: simplify copy with regexpmapper (mapper/regexp)

2010-09-17 Thread Stefan Bodewig
cuts away all sub-directories. Absolutely, hence "since you really want to remove all dirs". > If for example the files to copy are Java source files under multiple > source roots, "flatten" would also remove the Java package directories > from the file paths, instea

Re: simplify copy with regexpmapper (mapper/regexp)

2010-09-17 Thread Niklas Matthies
se would probably translate to a mapper, like cut-dirs-mapper. > > flatten > > Since you really want to remove all dirs, flatten="true" or the > flattenmapper should do what you want. But "flatten" also cuts away all sub-directories. If for example the files to co

Re: simplify copy with regexpmapper (mapper/regexp)

2010-09-17 Thread Stefan Bodewig
On 2010-09-16, Ludwig, Michael wrote: > What I'm wondering is if there isn't some option like in tools such > as wget (--cut-dirs to shorten the path) or cpio or tar, which in > Ant's case would probably translate to a mapper, like cut-dirs-mapper. flatten Since you really want to remove all dir

simplify copy with regexpmapper (mapper/regexp)

2010-09-16 Thread Ludwig, Michael
Consider this filtered view of my directory tree: src/HTML-XForm/lib src/ResPath/lib src/XML-MSXML6/lib You get the idea, it is: src/*/lib Now I want to copy the files below src/*/lib, or most of them. And I want to strip the leading two directories. I came up with the following solution, but

AW: help in copy files from list

2010-08-30 Thread Jan.Materne
Depending on the syntax of your listing could work. Jan >-Ursprüngliche Nachricht- >Von: Ludwig, Michael [mailto:michael.lud...@delphi-mb.de] >Gesendet: Donnerstag, 26. August 2010 10:13 >An: Ant Users List >Betreff: RE: help in copy files from list > >&g

RE: help in copy files from list

2010-08-26 Thread Ludwig, Michael
> -Original Message- > From: Rajesh Kumar [mailto:rajeshkumarmaht...@gmail.com] > I have one file called list.txt where i have mentioned all > the files which need to be copied from specific directry. > > can you please help me with the right copy task syntax which

help in copy files from list

2010-08-25 Thread Rajesh Kumar
Hi, I have one file called list.txt where i have mentioned all the files which need to be copied from specific directry. can you please help me with the right copy task syntax which read the files name from list.txt and copy to destination directory??? -- === Rajesh

Re: Ant: want to copy a file if it exists

2010-07-30 Thread Matt Benson
resources to ; the catch is that , by virtue of the fact that it discovers files by scanning the filesystem and thus _only_ contains files that exist, more or less does this for you. Finally, in the case of the copy task, ask yourself: How would you copy a resource that doesn't exist

RE: Ant: want to copy a file if it exists

2010-07-30 Thread Martin Gainty
message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Subject: RE: Ant: want to cop

RE: Ant: want to copy a file if it exists

2010-07-30 Thread eric.wood
List Subject: Re: Ant: want to copy a file if it exists Use the 'available' task to check if a file exists. There is also an 'if' task which is part of antcontrib that you can use to execute tasks conditionally --- On Thu, 7/29/10, eric.w...@thomsonreuters.com

AW: want to copy a file if it exists

2010-07-29 Thread Jan.Materne
Just use . will fail if the requested file does not exist. mailto:eric.w...@thomsonreuters.com] >Gesendet: Donnerstag, 29. Juli 2010 23:09 >An: user@ant.apache.org >Betreff: Ant: want to copy a file if it exists > >I want to check to see if a file exist and if so then copy it

Re: Ant: want to copy a file if it exists

2010-07-29 Thread Vimil Saju
Use the 'available' task to check if a file exists. There is also an 'if' task which is part of antcontrib that you can use to execute tasks conditionally --- On Thu, 7/29/10, eric.w...@thomsonreuters.com wrote: From: eric.w...@thomsonreuters.com Subject: Ant: want

Ant: want to copy a file if it exists

2010-07-29 Thread eric.wood
I want to check to see if a file exist and if so then copy it. What is the best way for performing this conditional task? Thanks, eric

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

Re: multiple mappings and copy

2010-05-02 Thread Stefan Bodewig
On 2010-05-02, Patrick Martin wrote: > when using , are the source files > read only once or as many times as there are mappings? As many times as there are target files. Stefan - To unsubscribe, e-mail: user-unsubscr...@ant.a

multiple mappings and copy

2010-05-02 Thread Patrick Martin
Hello, when using , are the source files read only once or as many times as there are mappings? for example How many times should the file be read? Thanks, Patrick ---

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

Re: Find src dir and copy files ( including path below src )

2010-01-29 Thread Stefan Bodewig
any.xvf.prod.MyFile.java > se.company.xvf.prod.AnotherFile.java are these actual file names? > and copy to a new directory structure so that my directory structure > would be: > src/se/company/xvf/prod/MyFile.java > src/se/company/xvf/prod/AnotherFile.java Sounds like

Find src dir and copy files ( including path below src )

2010-01-28 Thread Mikael Petterson
Hi, I have a directory structure according ( it is not a very java like one) in my src.dir ab_mod/bc/src ac_mod/dc/src ad_mod/fg/src ad_mod/ff/src below I got the structure that I want to catch se.company.xvf.prod.MyFile.java se.company.xvf.prod.AnotherFile.java ... and copy to a

Copy some renamed files via ftp protocoll

2010-01-11 Thread Gerhard.Krill
hey guys, I need some help with ANT. This should be the right place to find some qualified people :) ok, here is my task: I want to copy some files, within an for-loop. Except a special sort of files where I have to add a timestamp. like this

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: How to copy jars of path variable to dir, excluding some jars?

2009-12-15 Thread KARR, DAVID (ATTCINW)
> -Original Message- > From: Matt Benson [mailto:gudnabr...@gmail.com] > Sent: Tuesday, December 15, 2009 12:58 PM > To: Ant Users List > Subject: Re: How to copy jars of path variable to dir, excluding some > jars? > > That should work. Have you verified tha

Re: How to copy jars of path variable to dir, excluding some jars?

2009-12-15 Thread Matt Benson
ble a deployment unit where I have to copy all the jars specified in that path variable into a directory, but excluding certain jars. I'm still trying to figure out how I copy the jars of a path var, I'm not even getting to the question of excluding some. I thought it

RE: How to copy jars of path variable to dir, excluding some jars?

2009-12-15 Thread Scot P. Floess
:15 PM To: Ant Users List Subject: Re: How to copy jars of path variable to dir, excluding some jars? On Tue, 15 Dec 2009, KARR, DAVID (ATTCINW) wrote: I have a path variable that I set in my build script. I'm trying to assemble a deployment unit where I have to copy all the jars specifie

RE: How to copy jars of path variable to dir, excluding some jars?

2009-12-15 Thread KARR, DAVID (ATTCINW)
> -Original Message- > From: Scot P. Floess [mailto:sflo...@nc.rr.com] > Sent: Tuesday, December 15, 2009 1:15 PM > To: Ant Users List > Subject: Re: How to copy jars of path variable to dir, excluding some > jars? > > > On Tue, 15 Dec 2009, KARR, DAVID (ATTC

Re: How to copy jars of path variable to dir, excluding some jars?

2009-12-15 Thread Scot P. Floess
On Tue, 15 Dec 2009, KARR, DAVID (ATTCINW) wrote: I have a path variable that I set in my build script. I'm trying to assemble a deployment unit where I have to copy all the jars specified in that path variable into a directory, but excluding certain jars. I'm still trying to

How to copy jars of path variable to dir, excluding some jars?

2009-12-15 Thread KARR, DAVID (ATTCINW)
I have a path variable that I set in my build script. I'm trying to assemble a deployment unit where I have to copy all the jars specified in that path variable into a directory, but excluding certain jars. I'm still trying to figure out how I copy the jars of a path var, I'm not

RE: Copy task failed to copy due to invalid argument

2009-11-18 Thread Sim Soon Huat
I've done a manual copy of the large file from the shell, and it works perfectly fine. This rules out a filesystem or NFS limitation. i.e cp /opt/home/servera/abc.log abc.log I'm suspecting it's due to a time out because of the duration taken to do the copy, but the error m

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 expor

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

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

Re: Copy arbitrary files into jar (generation)

2009-08-15 Thread lobesquare
bly want something like this: > > > > > > -MB > > 1. was/is correct but 2. did the trick ... thanks! :) Greetings, lobesquare -- View this message in context: http://www.nabble.com/Copy-arb

Re: Copy arbitrary files into jar (generation)

2009-08-14 Thread Andy Stevens
2009/8/14 Mike Baranczak : >2009/8/14 supareno : >> >> >> > > 2. What this fileset specifies is "all Java files in directory > /dv/ws/javasources/". It doesn't say anything about creating a "javasources" > directory in the jar. > > You probably want something like thi

Re: Copy arbitrary files into jar (generation)

2009-08-14 Thread Mike Baranczak
I see two problems here. 1. A path that begins with a "/" is an absolute path. I can't tell if this is what you want, but I suspect you actually want a path relative to the project directory. 2. What this fileset specifies is "all Java files in director

Re: Copy arbitrary files into jar (generation)

2009-08-14 Thread lobesquare
his not directly possible? Greetings, lobesquare -- View this message in context: http://www.nabble.com/Copy-arbitrary-files-into-jar-%28generation%29-tp24976733p24978058.html Sent from the Ant - Users mailing list archive at Nabble.com. ---

Re: Copy arbitrary files into jar (generation)

2009-08-14 Thread supareno
o the created jar. Here is what I tried The previous part is generated ... now I try to copy a source folder into the jar ... Unfortunately this fails (no folder "javas

Copy arbitrary files into jar (generation)

2009-08-14 Thread lobesquare
I try to copy a source folder into the jar ... Unfortunately this fails (no folder "javasources" is created in the resulting jar). Any hints would be great! :) Greetings, lobequadrat -- View this message in context: http://www.nabbl

problem in ant svn copy

2009-07-27 Thread Raagu
Hello I have used svn copy in ant script.. My ant script is when executing this script I am getting Null pointer exception.. org.tigris.subversion.svnclientAdapter.javahl.AbstractjhlClientAdapter.copy(AbstractJhlClientAdapter.java:638) Please help me out solve this problem -- View

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
d/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-

copy task and filename issue..

2009-07-15 Thread Manish.Shah
ctory lose the casesensitive filename and obviously the subsequent compile fails. Any suggestions will be greatly appreciated. This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not

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
x27; folder.  The 'src' folder has the following > files: > 1) ans_key.tif > 2) arrow.tif > 3) eqn_y=x+1.tif > 4) re teach.tif > 5) ab+cd.tif > > I want to copy all files that conform to a naming convention to 'dest' > folder.  The rules are simpl

Using regular expressions to select files when using ant copy task

2009-06-23 Thread Jack Blan
Hi, I have 'src' folder and a 'dest' folder. The 'src' folder has the following files: 1) ans_key.tif 2) arrow.tif 3) eqn_y=x+1.tif 4) re teach.tif 5) ab+cd.tif I want to copy all files that conform to a naming convention to 'dest' folder. The rules are

AW: Ant copy file error: Only one of tofile and todir may be set

2009-05-07 Thread Jan.Materne
27;. Jan >-Ursprüngliche Nachricht- >Von: Nafter [mailto:hdo...@allshare.nl] >Gesendet: Donnerstag, 7. Mai 2009 11:52 >An: user@ant.apache.org >Betreff: Ant copy file error: Only one of tofile and todir may be set > > >I'm using maven with included ANT task

Ant copy file error: Only one of tofile and todir may be set

2009-05-07 Thread Nafter
I'm using maven with included ANT tasks to copy files. However I receive the following error. In an other step during the maven build process I use ant copy as well in which I have to set the toDir. But this step is not using the todir at all. But it seems it complains about the fact tha

Re: Copy and Include Issues in Apache Ant.

2009-04-24 Thread Peter Reilly
Because does not split up the name using ',' You need to have : etc.. Peter On Fri, Apr 24, 2009 at 11:22 AM, Rajesh Kumar (IN4774) wrote: > Question: Why Copy in ant is not working if I am putting includes separately? > Ant version: Apache Ant version 1.5.4 compi

Copy and Include Issues in Apache Ant.

2009-04-24 Thread Rajesh Kumar (IN4774)
Question: Why Copy in ant is not working if I am putting includes separately? Ant version: Apache Ant version 1.5.4 compiled on January 8 2005. Program 1 is not working and Program 2 is working. I guess both programs are correct.. Program1

Re: How to Add a Text Comment to the Beginning of a File (copy, concat)?

2009-03-18 Thread Peter Reilly
This is probably the first time that was mentioned on the mailing list since it was added to ! Peter On Wed, Mar 18, 2009 at 5:58 AM, wrote: >>I am using to create a destfile. I would like to provide a >>comment at the top of the destfile that contains a list of the files >>specified in the

AW: How to Add a Text Comment to the Beginning of a File (copy, concat)?

2009-03-17 Thread Jan.Materne
>I am using to create a destfile. I would like to provide a >comment at the top of the destfile that contains a list of the files >specified in the filelist's |files| attribute. > >I saw replaceregexp, but I don't want to replace a token, unless there >is a token for "beginning of file." > >How ca

Re: How to Add a Text Comment to the Beginning of a File (copy, concat)?

2009-03-17 Thread David Weintraub
Do you mind adding the comment first before doing the ? Will this work for you? On Tue, Mar 17, 2009 at 3:47 PM, Garrett Smith wrote: > I am using to create a destfile. I would like to provide a > comment at the top of the destfile that contains a list of the files > specified in the fileli

How to Add a Text Comment to the Beginning of a File (copy, concat)?

2009-03-17 Thread Garrett Smith
I am using to create a destfile. I would like to provide a comment at the top of the destfile that contains a list of the files specified in the filelist's |files| attribute. I saw replaceregexp, but I don't want to replace a token, unless there is a token for "beginning of file." How can I add

Re: Ant recursive copy + fileset filter

2009-02-16 Thread supareno
Costin, Hello, I'm trying to copy some files from a directory structure, like this: The problem is that it isn't what I need - I need to copy all non-.java files to the equivalent folder structure in the new location. Something like: folder1/folder2/file.java folder1/fold

Ant recursive copy + fileset filter

2009-02-16 Thread Costin Caraivan
Hello, I'm trying to copy some files from a directory structure, like this: The problem is that it isn't what I need - I need to copy all non-.java files to the equivalent folder structure in the new location. Something like: folder1/folder2/file.java folder1/folder2/file

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

  1   2   3   4   5   6   >