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

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

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 classe

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

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

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

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

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 existing files.. > > Regards, > Nag

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 go to smb://e

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

2011-07-07 Thread Scot P. Floess
I've done a bit of googling - I'm not finding anything useful for you... The get task looks to support things like ftp, http - definitely from the description of the task "Any URL schema supported by the runtime is valid here, including http:, ftp: and jar:" I'm guessing you are on *nix? If

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 - To unsubscribe

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

2010-11-01 Thread David Weintraub
I haven't had a chance to play around with this, but you might want to look at the file mappers: to get what you want done. Another possibility is the antcontrib task of . This can take a list of files from a fileset, and apply something to each one

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 [cop

RE: Copy task failed to copy due to invalid argument

2009-11-18 Thread Sim Soon Huat
@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

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

Re: Copy arbitrary files into jar (generation)

2009-08-15 Thread lobesquare
Hi Mike, Mike Baranczak-3 wrote: > > >> >> >> > > 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.

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
Supareno, supareno wrote: > > lobesquare, > > why the sources files in the jar > why don't you try to do a zip ou tar.gz file with the sources files and > the jar ? > it could be easier... > > Hm, I'd like to have a single file (to distribute). Is this not directly possible? Greetings,

Re: Copy arbitrary files into jar (generation)

2009-08-14 Thread supareno
lobesquare, why the sources files in the jar why don't you try to do a zip ou tar.gz file with the sources files and the jar ? it could be easier... Hello, i am quite new to ant and would like to modify a generated ant file from eclipse in that way that certain files are copied into the crea

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.

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 the target directory

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 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

Re: copy task and file name case problem

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

Re: copy task and file name case problem

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

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 compiled on January 8 20

RE: Copy files in a directory not directory itself where source directory name is not known

2009-01-21 Thread Rebhan, Gilbert
-Original Message- From: yousufhaider [mailto:yousuf.r...@gmail.com] Sent: Tuesday, January 20, 2009 11:11 PM To: user@ant.apache.org Subject: Copy files in a directory not directory itself where source directory name is not known /* [...] Basically what I want to is to copy everythin

Re: copy directory

2008-10-16 Thread Mohit Anchlia
Thanks. So if I say my/dir/** then "dir" is recursively copied to the destination and when I say my/dir/* then only files under dir are copied to the destination but not the "dir" itself. I'll try it out. On Wed, Oct 15, 2008 at 10:39 PM, <[EMAIL PROTECTED]> wrote: > ** is a deep copy. All nest

Re: copy multiple directories into one

2008-03-10 Thread Lars Ohlén
Hi again, This approach works if the name of the projects are known in advance, but this is not the case. Sorry if I was a bit unclear about this. So I need a way to do this more generic! BR L - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Monday, March 10, 2008 6:58 A

Re: copy multiple directories into one

2008-03-09 Thread Ramu Sethu
You could also try this Not 100% sure about this one ...:-) On Mon, Mar 10, 2008 at 11:28 AM, <[EMAIL PROTECTED]> wrote: > > > > > > > Jan > > > > -Ursprüngliche Nachricht- > > Von: Lars Ohlén [mailto:[EMAIL PROTECTED] > > Gesendet: Sonntag, 9. März 2008 13:14 > > An: us

Re: Copy content of file only?

2008-02-13 Thread David Weintraub
Take a look at the task. Never used it, but it sounds like exactly what you want: On Feb 13, 2008 10:43 AM, jonese <[EMAIL PROTECTED]> wrote: > Hey all i need to take the content of file A and place it into File B. > anyone know the best way to accomplish this? > > jonese > > --

Re: Copy content of file only?

2008-02-13 Thread jonese
Got it. i was on the right track with concat. just needed to add the loadfile to get my data, put that into a propery and then use the value of that property to build my new file! whew talk about going around your arse to get to your elbow! Thanks all! jonese On Feb 13, 2008 11:36 AM, jonese

Re: Copy content of file only?

2008-02-13 Thread jonese
Here's what i have now inside a target: The problem is that the concat not only concat's the data but also the "headers" of the file thereby corrupting my new file as well. So essentially what i need is some way to read the contents of a file and then take those contents and input

Re: Copy content of file only?

2008-02-13 Thread Robin Chaddock
- Original Message - From: jonese To: Ant Users List Sent: Wednesday, February 13, 2008 3:43 PM Subject: Copy content of file only? Hey all i need to take the content of file A and place it into File B. anyone know the best way to accomplish this? jonese --

Re: Copy content of file only?

2008-02-13 Thread Scot P. Floess
Are you simply trying to copy file A to file B? Or take the contents of A and append to B? jonese wrote: Hey all i need to take the content of file A and place it into File B. anyone know the best way to accomplish this? jonese

Re: copy contents of a directory based on a dirset

2007-11-12 Thread Rob Wilson
I have used the ant 'war' element and believe there is an equivallent 'ear' element too - it might help you? I then use the fileset with an include (see below)...

Re: Copy property from a property-file into an Ant-property

2007-06-14 Thread David Weintraub
You only want a single property from the file? Why not simply: If you are concerned that you might overwrite properties you don't want to overwrite and you only want a select property, use a prefix to prepend to all of the properties in the property file first: On 6/14/07, [EMAIL

RE: copy files

2007-03-22 Thread Gilles Scokart
Look at the example there : http://ant.apache.org/manual/CoreTasks/copy.html and there : http://ant.apache.org/manual/CoreTypes/fileset.html You should find something similar to what you try to do. Gilles > -Original Message- > From: Denis Bessmertnyj [mailto:[EMAIL PROTECTED] > Sent: je

Re: "copy" Being Ignored

2007-01-28 Thread Mathieu Champlon
Hello, Does the following do what you expect ? Why are you using patternset ? You probably dont need this in your build file... Take a look at the fileset documentation : http://ant.apache.org/manual/CoreTypes/fileset.html MAT. Jason Ferguson a écrit : I need help. My build.xml

Re: Copy / Move Files

2006-10-24 Thread work
Thanks, running down the regexpmapper does exactly what I want. Dominique Devienne writes: directory. In other words, the distribution structure will not contain the oracle or postgres directories, but the sql files in those directories will be in the appropriate tables/indices directorie

Re: Copy / Move Files

2006-10-24 Thread Dominique Devienne
directory. In other words, the distribution structure will not contain the oracle or postgres directories, but the sql files in those directories will be in the appropriate tables/indices directories. Given that I don't really want to change the build.xml file if I add a new directory, is there

Re: Copy Linked files with scp

2006-09-27 Thread Atsuhiko Yamanaka
Hi, 2006/9/21, Benjamin H. <[EMAIL PROTECTED]>: In the directory are some linked-files. Following error resulted: BUILD FAILED C:\workspace\Synchro - Tool\Monitoringtool\monitor.xml:109: java.io.IOException: scp: /***/***/***/***//def_raumvars.sh: No such file or directory def_raumvars.sh l

Re: copy files using mapper

2006-08-05 Thread Patrick Martin
Hello, From what I understand you want to remove DirB\DirC from the target files path. Would something like the following match your need (not tested) ? Patrick On 8/5/06, satheesh <[EMAIL PROTECTED]> wrote: I Need to copy files from D:\dirA\dirB\dirC\dirD\*.jsp To D:\dirA\dirD\*.jsp,

Re: Copy paradox - permissions and filters

2006-04-07 Thread Jeffrey E Care
The core problem is that there is no 100% pure Java way to get or set file permissions. See JSR 203 (http://www.jcp.org/en/jsr/detail?id=203) Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere

RE: Copy paradox - permissions and filters

2006-04-07 Thread Stephen McConnell
> -Original Message- > From: Brown, Carlton [mailto:[EMAIL PROTECTED] > That's cheesy and I don't want to do it. Write your own task. public class KludgeTask() { public void execute() { // grap the files // record permissions // execu

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

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
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

Re: Copy a directory list

2006-01-23 Thread Clifton Craig
Matt, You bastard! Why won't you shut up??!!! ;) Thanx all the same for the boiled down example. --- Clifton C. Craig, Software Engineer Intelligent Computer Systems - A Division of GBG [EMAIL PROTECTED] [EMAIL PROTECTED] On Monday 23 January 200

Re: Copy a directory list

2006-01-23 Thread Clifton Craig
Sorry Matt, I don't believe I read your reply correctly. I'll go back and re-read then post again. Thanx! On Monday 23 January 2006 3:29 pm, Matt Benson wrote: > --- Clifton Craig <[EMAIL PROTECTED]> wrote: > > [SNIP] > > > ;) I must clarify that > > my tone was not intended as a heated tone. It

Re: Copy a directory list

2006-01-23 Thread Clifton Craig
Matt, That's not bad! Thanx for the tip. I haven't tried it yet but I'm sure it will most likely work. I'll work that into my build once I fix an unrelated bug that was dropped into my lap a moment ago. Thanx again. --- Clifton C. Craig, Software E

Re: Copy a directory list

2006-01-23 Thread Matt Benson
Just because I'm a bastard who can't shut up, I'll even boil my example (which may have been obscured by setup and testing) down to a macro: best I can do for now, until we have local properties for

Re: Copy a directory list

2006-01-23 Thread Matt Benson
--- Clifton Craig <[EMAIL PROTECTED]> wrote: [SNIP] > ;) I must clarify that > my tone was not intended as a heated tone. It is > hard to express or > interperet tone in text so let me assure you all > that I'm not angry at > anybody. Okay, sorry for the misinterpretation... :) [SNIP] > I d

Re: Copy a directory list

2006-01-23 Thread Clifton Craig
Embarassing! Ok, some I misspelt purest. (Or is that misspelled purist.) Admitting that I'm not the purest I sought out to be ;) I must clarify that my tone was not intended as a heated tone. It is hard to express or interperet tone in text so let me assure you all that I'm not angry at anybody

Re: Copy a directory list

2006-01-23 Thread Matt Benson
--- Ken Gentle <[EMAIL PROTECTED]> wrote: > Just for the record, the word is "purist" - Mary, > Mother of Jesus, is > reported to have be "the purest". :) Hmm. Purism regarding use of the word "purist". We may end up with another "misspelt is misspelled" argument on our hands. I do agree y

Re: Copy a directory list

2006-01-23 Thread Ken Gentle
Just for the record, the word is "purist" - Mary, Mother of Jesus, is reported to have be "the purest". :) Um, Clifton, the first solution I showed you is 100%, pure, core ANT. It does involve a file read. I have a similar issue in my current project that necessitates writing properties to

Re: Copy a directory list

2006-01-23 Thread Clifton Craig
See, herein lies the problem. I'm not open to Ant-contrib. I'm what you might call a purest. I believe that this should be possible using vanilla Ant declarative syntax. I refuse to muddy up my build with forced procedural logic when it doesn't need to be included. I don't have the list in a fil

Re: Copy a directory list

2006-01-23 Thread Frank Harnack
Another ant-contrib solution may be using the for task: Regards Frank Quoting Ken Gentle <[EMAIL PROTECTED]>: > At 15:57 2006-01-21, you wrote: > > > Here is the error: the includes attribute sho

Re: Copy a directory list

2006-01-21 Thread Ken Gentle
At 15:57 2006-01-21, you wrote: > Here is the error: the includes attribute should contain patterns > matching the file names you want copied. > The patterns only match the directories. > Try: includes="**/*.jar"" Tommy, I know where the error is my real problem is the property friv

Re: Copy a directory list

2006-01-21 Thread Tommy Nordgren
On Jan 21, 2006, at 9:57 PM, Clifton Craig wrote: Here is the error: the includes attribute should contain patterns matching the file names you want copied. The patterns only match the directories. Try: includes="**/*.jar"" You might be able to use patterns of the for

Re: Copy a directory list

2006-01-21 Thread Clifton Craig
> Here is the error: the includes attribute should contain patterns > matching the file names you want copied. > The patterns only match the directories. > Try: includes="**/*.jar"" Tommy, I know where the error is my real problem is the property friving the selector needs to be a co

Re: Copy a directory list

2006-01-21 Thread Tommy Nordgren
On Jan 21, 2006, at 8:21 PM, Clifton Craig wrote: I'm having trouble doing something that I think should be really simple. I have a comma separated list of directories that I want to copy to a destination. I want those directories and everything in them to copy. When I use the copy task I

Re: Copy empty directory

2005-10-24 Thread Nicolas Vervelle
Have you tried without the "." in your fileset pattern : something like "**/*" ? wolverine my wrote: Hi! I'm using Ant 1.6.5 and I have the following directories and files test + war | | | + WEB-INF | + index.jsp | + build.xml note that the WEB-INF directory is empty and when execu

Re: Copy files according ant property

2005-09-29 Thread Tomáš Procházka
Hi. I not found in documenation for version 1.6.5 :-( -- Original message -- From: Steve Loughran <[EMAIL PROTECTED]> Subject: Copy files according ant property Date: Tuesday, September 27, 2005, 6:57:56 PM Attachments:

Re: Copy files according ant property

2005-09-27 Thread Steve Loughran
Tomáš Procházka wrote: Hi. S> There is some stuff in ant 1.7 to do it, specifically the S> task copies all files in a path and no directories, and the task S> itself is soon to be enhanced. Thanks you. And when will be ANT 1.7 release? there is no particular timetable, but I suspect

Re: Copy files according ant property

2005-09-27 Thread Tomáš Procházka
Hi. S> There is some stuff in ant 1.7 to do it, specifically the S> task copies all files in a path and no directories, and the task S> itself is soon to be enhanced. Thanks you. And when will be ANT 1.7 release? S> What may be better is for you to set up your classpath in your build S

Re: Copy files according ant property

2005-09-27 Thread Steve Loughran
Tomáš Procházka wrote: Hi. Netbeans set in project.properties classpath for project: javac.classpath=\ ${file.reference.hsqldb.jar}:\ ${file.reference.dom4j-1.6.1.jar}:\ ${libs.layoutext.classpath}:\ ... Exist any way to copy all this jar files to dist/lib folder? Netbea

Re: copy files problem

2005-09-08 Thread Matt Benson
I cannot reproduce this behavior on Linux or Solaris. What we need is an example file structure that will reproduce this, and since I don't think we are looking at a bug, probably the easiest thing for you to do is write an Ant buildfile that will CREATE the entire directory structure for this sce

Re: copy files problem

2005-09-08 Thread Glen Mitchell
Bhadra, I'm sorry I meant to say in my initial post that I had tried this also but it didn't solve my problem. This work on Windows but not on Unix both. I've tried a number of includes such as etc Bhadra, Jatin wrote: Glen Try this format as per ANT manual. If you want to include all the

RE: copy files problem

2005-09-08 Thread Bhadra, Jatin
Glen Try this format as per ANT manual. If you want to include all the file in the source dir then no need to have include tag. Jatin Bhadra -Original Message- From: Glen Mitchell [mailto:[EMAIL PROTECTED] Sent: 08 September 2005 13:19 To: user@ant.apache.org Subject: copy files p

RE: copy: "fileset dir" copies only file

2005-09-05 Thread Stephen McConnell
> -Original Message- > From: Mark Wiehland [mailto:[EMAIL PROTECTED] > Sent: Saturday, 3 September 2005 9:31 PM > To: user@ant.apache.org > Subject: copy: "fileset dir" copies only file > > Hello all, > > I don't get what I do wrong. The manual says: > > Copy a directory to another d

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

RE: Copy Question - Between UNIX and Mapped windows drive.

2005-08-09 Thread Anderson, Rob (Global Trade)
There are many options to accomplish this. Check out the manual pages for the , , and tasks. -Rob Anderson > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 09, 2005 8:11 AM > To: user@ant.apache.org > Subject: Copy Question - Between UN

RE: Copy task and timestamp

2005-08-02 Thread Ramnish Kalsi
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

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 Aug 12, 2005, ho

Re: Copy task not working as expected

2005-05-14 Thread Dominique Devienne
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 -

Re: Copy task not working as expected

2005-05-13 Thread Dave Bartmess
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

Re: Copy files to another unit

2005-04-06 Thread Robert r. Sanders
You can use full or relative paths: d:/directory/copy/to/target ../../some/where/else Rodolfo García Esteban/CYII wrote: Hi, I'm a newbie using ant. I´m using ant 1.6.2 in windows 2000. I need to copy files to other unit disk, but with Thanks in advance Rodolfo -- Robert r. Sanders Chie

Re: Copy Task

2005-03-23 Thread Rhino
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

Re: copy all but exclude one directory

2005-02-08 Thread Douglas Kramer
Thanks, that works. I'll submit a request to document that works to exclude only the specified files or directories -- that is, it must name all the files to exclude, not just a top-level directory. BTW, what's the reason that these are not equivalent: -Doug (It looks like includin

RE: copy all but exclude one directory

2005-02-08 Thread Dominique Devienne
> From: Douglas Kramer [mailto:[EMAIL PROTECTED] > Use --DD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Copy taks, include files exclude subfolders

2005-02-04 Thread Gerard Janssen
ouriers Division > > "The universal aptitude for ineptitude > makes any human accomplishment an incredible miracle." > - Col. John P. Stapp > www.smallfrymobile.com <http://www.smallfrymobile.com> > > > -Original Message- > From: James Abley [mailto:[EMA

RE: Copy taks, include files exclude subfolders

2005-02-01 Thread Matt Benic
obile.com <http://www.smallfrymobile.com> -Original Message- From: Lieve Van den Heuvel [mailto:[EMAIL PROTECTED] Sent: 01 February 2005 01:04 PM To: user@ant.apache.org Subject: RE: Copy taks, include files exclude subfolders Hi Have you tried to make a double fileset?

RE: Copy taks, include files exclude subfolders

2005-02-01 Thread Lieve Van den Heuvel
TEXT.htm Description: Binary data Privileged Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you shoul

RE: Copy taks, include files exclude subfolders

2005-02-01 Thread Matt Benic
ttp://www.smallfrymobile.com> -Original Message- From: James Abley [mailto:[EMAIL PROTECTED] Sent: 01 February 2005 12:21 PM To: Ant Users List Subject: Re: Copy taks, include files exclude subfolders On Tue, 2005-02-01 at 10:16, James Abley wrote: > On Tue, 2005-02-01 at 10:10, Matt Benic wr

Re: Copy taks, include files exclude subfolders

2005-02-01 Thread James Abley
On Tue, 2005-02-01 at 10:16, James Abley wrote: > On Tue, 2005-02-01 at 10:10, Matt Benic wrote: > > Hi there, > > I am having trouble implementing a copy task. Given the following folder > > layout: > > /sourcefolder > > file1 > > file2.dat > > /subfolder1 > > file3 > > /su

Re: Copy taks, include files exclude subfolders

2005-02-01 Thread Lieve Van den Heuvel
Hi Can you send the target that you're executing? In the fileset element did you specify **/*.*? Otherwise you might try to change it to *.*, normally that means that no subdirectories are taken in.. Hope this helps.. Greetz >>> [EMAIL PROTECTED] 1/02/2005 11:10:29 >>> Hi

Re: Copy taks, include files exclude subfolders

2005-02-01 Thread James Abley
On Tue, 2005-02-01 at 10:10, Matt Benic wrote: > Hi there, > I am having trouble implementing a copy task. Given the following folder > layout: > /sourcefolder > file1 > file2.dat > /subfolder1 > file3 > /subfolder2 > file4 > > I want to be able to copy all files in

Re: copy failonerror

2005-01-12 Thread Stefan Bodewig
On Wed, 12 Jan 2005, Doug Moore <[EMAIL PROTECTED]> wrote: > Is this broke or am I misunderstanding this. One feature of a fileset is, that the patterns may match nothing. There is no notion of "missing files" in a fileset, so copy doesn't know that something isn't there. Stefan ---

  1   2   >