Re: refid still not behaving as expected in 1.7.0

2007-08-29 Thread Kevin Jackson
Hi > One of the significant changes in 1.7.0 was, apparently: > > " * Defer reference process. Bugzilla 36955, 34458, 37688. > However, my version of ANT 1.7.0 (binary download) seems to behave in the > 'old' way. I have looked in WHATSNEW under SVN, and can see no suggestion > that there was a

Need Help with Ant Pass fail notification!

2007-08-29 Thread Rajesh Kumar \(IN4774\)
Hi, I am beginner in ant. I am trying to write one program in ant- which will save Pass/fail Notification in one text file. Could you help me please? Thanks in advance! Regards, Rajesh *Thanks & Regards, Rajesh Kumar R & D Services I MindTree Consulti

Question about war file and excluding folder

2007-08-29 Thread Ashish Kulkarni
Hi I have a file strutcure as below WEB-INF- | ---classes | ---lib | ---configfiles-- | ---system--

Re: R: copyng and renaming files

2007-08-29 Thread Gilbert Rebhan
Hi, Peter Peter Reilly wrote: btw, i had several problems with antcontrib 1.0b3, i recommend using version 1.0b2 instead. What are the issues with 1.0b3? I use it in production here without problems. Peter see = http://marc.info/?l=ant-user&m=118061703508041&w=2 Maybe that has been fixed in

Re: ant junit task...

2007-08-29 Thread Bruce Atherton
It may be including it, but it isn't because of the includes attribute. All excludes happen AFTER the includes when dealing with PatternSets, which the FileSet is creating for you with its includes and excludes parameters. You can test this with a simple build script:

refid still not behaving as expected in 1.7.0

2007-08-29 Thread George Czernuszka
One of the significant changes in 1.7.0 was, apparently: " * Defer reference process. Bugzilla 36955, 34458, 37688. This may break build files in which a reference was set in a target which was never executed. Historically, Ant would set the reference early on, during parse time, so the datat

Re: AW: ant junit task...

2007-08-29 Thread mayurs
I also tried excludes="**/*$*.class, same result, it includes the inner classes as well , due to the includes attribute Jan.Materne wrote: > > first thought: the missing * before the $ in your exclude clause. > > excludes="**/*$*.class"/> > > > > Jan > >>-Ursprüngliche Nachricht-

Re: R: copyng and renaming files

2007-08-29 Thread Peter Reilly
On 8/29/07, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: > > Hi, > > -Original Message- > From: Pomè Elisabetta [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 29, 2007 3:33 PM > To: 'Ant Users List' > Subject: R: R: copyng and renaming files > > /* > Problem: failed to create task or > t

RE: R: copyng and renaming files

2007-08-29 Thread Rebhan, Gilbert
Hi, -Original Message- From: Pomè Elisabetta [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 29, 2007 3:33 PM To: 'Ant Users List' Subject: R: R: copyng and renaming files /* Problem: failed to create task or type for Cause: The name is undefined. Action: Check the spelling. Action:

R: R: copyng and renaming files

2007-08-29 Thread Pomè Elisabetta
Ok, sorry, I din't realize that my JAVA_HOME was bad setted. Now I have a new problem. When I try to run my project I got the following error: BUILD FAILED C:\Moda\script\prova_copia_rep.xml:18: Problem: failed to create task or type for Cause: The name is undefined. Action: Check the spelling. Ac

Re: R: copyng and renaming files

2007-08-29 Thread Peter Reilly
On 8/29/07, Pomè Elisabetta <[EMAIL PROTECTED]> wrote: > Thank you all, > I got some problem with your suggets > > 1) I tried to use ant-contrib with ant 1.7 but I got the error: >java.lang.UnsupportedClassVersionError: > net/sf/antcontrib/property/PropertyCopy (Unsupported major.minor version

R: copyng and renaming files

2007-08-29 Thread Pomè Elisabetta
Thank you all, I got some problem with your suggets 1) I tried to use ant-contrib with ant 1.7 but I got the error: java.lang.UnsupportedClassVersionError: net/sf/antcontrib/property/PropertyCopy (Unsupported major.minor version 48.0) 2) I tried to use flattenmapper in different ways, but I co

Re: copyng and renaming files

2007-08-29 Thread Vijay Aravamudhan
you can achieve the same without using ant-contrib: by using a flattenmapper to get the list of files (without directory names), and then using that in an include to move from 'destination' to 'destination/old' and then copying from 'origin' to 'destination'. hth, Vijay Kriss wrote: Hi, You

Re: copyng and renaming files

2007-08-29 Thread Kriss
Hi, You can use antcrontib task 'for' and the task basename, as following : tofile="${dest.backup.dir}/${file2copy.filename}"/> tofile="${dest.dir}/${file2copy.filename}"/> Have a nice day, kriss

copyng and renaming files

2007-08-29 Thread Pomè Elisabetta
Hi everybody, I apologize if this issue have been posted previously, but I search the mailing list and I couldn't find nothing similar. I need to copy files (says A.java e B.java) from a directoy Origin to a directory Destination. The directory Destination already contains an older version of A.jav