Re: AW: Using anteater in ant

2010-04-13 Thread Pooja Ganapathi
hi, here is the URL --> http://aft.sourceforge.net/manual/Test%20tasks.html#elem:responseCode If you just scroll down, you might see the code like this : ** This is useful in conjunction with a property setter:

AW: Looping number of times

2010-04-13 Thread Jan.Materne
Here is the my working example : ${ant.version} i is @{i} Buildfile: build.xml [echo] Apache Ant version 1.7.0 compiled on December 13 2006 [echo] i is 0 [echo] i is 1 [echo] i is 2 [echo] i is 3 [echo] i is 4 [echo] i is 5 [echo]

Re: filelist to support selections as per the fileset

2010-04-13 Thread Stefan Bodewig
On 2010-04-13, Raja Nagendra Kumar wrote: > B.T.W are u aware of any implementation of .. Sorting is implemented as a decorator so we don't need to add it to each and every resource collection: Stefan - To unsubscribe, e

Identifying os x .app bundles using resource selectors

2010-04-13 Thread Fragorl McFragorl
Hi all, Neither the resource collection types fileset nor dirset seem to pick up a mac os x app bundle. For example, the following will work: Yet the following will not work: nor will that work with a Fileset. Wondering if this is a bug, or if there is a different resource c

Re: Ant 1.8.0rc1 + Eclipse

2010-04-13 Thread garyh6
I ran into a similar problem and just posted a workaround. See thread entitled "Ant 1.8 problems with Eclipse" started on April 12, 2010. -- View this message in context: http://old.nabble.com/Ant-1.8.0rc1-%2B-Eclipse-tp27444917p28235569.html Sent from the Ant - Users mailing list archive at

Re: Ant 1.8 problems with Eclipse

2010-04-13 Thread garyh6
I found a workaround. The specific problem we had seemed to be because we were importing common build.xml files into our project-specific build files, but the import was having problems when it is the first line in our project-specific build file. However, if I put a property task before the i

RE: Looping number of times

2010-04-13 Thread Shawn Castrianni
That is why I said in my response: "I either could not get the ones I found working, or they were just too complicated" If you take the while task I sent source code for, and then combine that with antelope tasks to do math operations, you can write a for loop on an index with:

Re: Looping number of times

2010-04-13 Thread Jan
Hi Jan is this ant- conrib stuff really works? coz i'm getting the error ---> The type doesn't support the "end" attribute. On Tue, Apr 13, 2010 at 2:05 AM, wrote: > or directly from the ac-manual > > The following example loops from one to ten. > > > >i is @{i} >

Re: Two pass compile for instrumented code

2010-04-13 Thread Antoine Levy-Lambert
Original-Nachricht > Datum: Tue, 13 Apr 2010 17:37:37 +0100 > Von: Greg Roodt > An: Ant Users List > Betreff: Two pass compile for instrumented code > Hi > > I have an Ant build that consists of the basic compile, test, package, > report phases. > The report phase is a bit sl

Two pass compile for instrumented code

2010-04-13 Thread Greg Roodt
Hi I have an Ant build that consists of the basic compile, test, package, report phases. The report phase is a bit slow (Clover particularly) for developers looking for quick feedback on tests. Developers dont need Clover reports, Checkstyle etc etc every time and we mainly prefer these to be gene

Re: default directory for directory attribute tasks

2010-04-13 Thread Raja Nagendra Kumar
>There already is: ant.file.PROJECTNAME - is there any reason why you wouldn't want to add a name attribute to your project element? In our project we have close to 100 ant files.. We are currently enforcing to keep the project name same as file name so that we don't have to bother about having 1

Re: default directory for directory attribute tasks

2010-04-13 Thread Stefan Bodewig
On 2010-04-13, Raja Nagendra Kumar wrote: >> only possible if we have something meaningful (ant.file.SOME_GUID >> wouldn't help anybody) and thus need the build file writer's help via >> 's name attribute. > This is very informative Stefan. Based on the read only nature, if the > project name do

Re: default directory for directory attribute tasks

2010-04-13 Thread Raja Nagendra Kumar
>only possible if we have something meaningful (ant.file.SOME_GUID >wouldn't help anybody) and thus need the build file writer's help via >'s name attribute. This is very informative Stefan. Based on the read only nature, if the project name does not exist, can the file name be considered as proj

RE: filelist to support selections as per the fileset

2010-04-13 Thread Raja Nagendra Kumar
>I understand perfectly well the difference between a list and a set. You don't seem to understand that is used to specify files that don't exist. Rick, could you pl. let me know where could of best use, specially when the file does not exist. I am not saying there are no use.. but this way it

Re: default directory for directory attribute tasks

2010-04-13 Thread Stefan Bodewig
On 2010-04-13, Raja Nagendra Kumar wrote: > Stefan, >> If you really want the directory that contains the build file > Yes, I am looking for a way to reference dir that contains the build > file. this location is different than basedir. Take the approach described in the manual page for . >

Re: filelist to support selections as per the fileset

2010-04-13 Thread Stefan Bodewig
On 2010-04-13, Raja Nagendra Kumar wrote: > Stefan Bodewig wrote: >> means: here is a list of files that may or may not be there, >> return all of them don't check whether they are there at all. No >> wildcards supported. > adding wildcards support can enhance refactorings of location of the

RE: filelist to support selections as per the fileset

2010-04-13 Thread Rick Genter
> From: Raja Nagendra Kumar [mailto:nagendra.r...@tejasoft.com] > Sent: Tuesday, April 13, 2010 7:05 AM > To: user@ant.apache.org > Subject: RE: filelist to support selections as per the fileset > > > Hi Rick, > > May be the name could be > > but in the java world the one with order is called

RE: filelist to support selections as per the fileset

2010-04-13 Thread Raja Nagendra Kumar
Hi Rick, May be the name could be but in the java world the one with order is called list and without order is called set. filelist is a list of files which maintains the order. However how this list is filled could be either explicit way as it happens now or by way scanning though provided pa

Re: default directory for directory attribute tasks

2010-04-13 Thread Raja Nagendra Kumar
Stefan, > If you really want the directory that contains the build file Yes, I am looking for a way to reference dir that contains the build file. this location is different than basedir. In my case, the project does not have any name, hence as generic approach of referring to this file would he

RE: filelist to support selections as per the fileset

2010-04-13 Thread Rick Genter
> From: Raja Nagendra Kumar [mailto:nagendra.r...@tejasoft.com] > Sent: Tuesday, April 13, 2010 6:50 AM > To: user@ant.apache.org > Subject: Re: filelist to support selections as per the fileset > > adding wildcards support can enhance refactorings of location of > these > > files. I use the wildc

Re: filelist to support selections as per the fileset

2010-04-13 Thread Raja Nagendra Kumar
Stefan Bodewig wrote: > > On 2010-04-13, Raja Nagendra Kumar wrote: > >> Any reason, why does not support include and excludes as in >> fileset. > >>The short version: Because they wouldn't make sense (well exclude >>wouldn't and the nested include element just has a different name: >>>). >

Re: filelist to support selections as per the fileset

2010-04-13 Thread Stefan Bodewig
On 2010-04-13, Raja Nagendra Kumar wrote: > Any reason, why does not support include and excludes as in > fileset. The short version: Because they wouldn't make sense (well exclude wouldn't and the nested include element just has a different name: ). means: scan the file system for files matc

Re: default directory for directory attribute tasks

2010-04-13 Thread Stefan Bodewig
On 2010-04-13, Raja Nagendra Kumar wrote: > if I use > > > > > > instead I want to say > >files="tasks/TaskDefs.xml, > PreDefs.xm, > CompDefs.xml" > /> > If your build files's location is the same as

Re: default directory for directory attribute tasks

2010-04-13 Thread Raja Nagendra Kumar
or there seem to be need for generic referring to the directory location of the ant script file.. some thing like ant.dir.this or ant.dir. XYZ (if the project is named as XYZ) etc.. I would prefer this syntax. in similar lines to ant.file.XYZ name as in Are there similar thing exists pl. --

filelist to support selections as per the fileset

2010-04-13 Thread Raja Nagendra Kumar
Hi, Any reason, why does not support include and excludes as in fileset. It would be very nice to have such support. Regards, Nagendra C.T.O www.tejasoft.com -- View this message in context: http://old.nabble.com/filelist-to-support-selections-as-per-the-fileset-tp28228769p28228769.html Sent

default directory for directory attribute tasks

2010-04-13 Thread Raja Nagendra Kumar
Hi, I am looking to see if all the tasks like filelist, fileset take the default directory as the directory of the ant file in which they are being refereed... e.g if I use instead I want to say Regards, Nagendra -- View this message in context: http:

Security Incident involving ASF's Jira, Bugzilla and Confluence Services

2010-04-13 Thread Stefan Bodewig
Hi all, if you own an account at one of ASF's Bugzilla (issue tracker used by Ant and the Antlibs), JIRA (issue tracker used by Ivy and IvyDE) or Confluence (wiki used by Ivy and IvyDE) services you should read If your service password

AW: Using anteater in ant

2010-04-13 Thread Jan.Materne
> in match,which i could use later with condition. The > anteater manual page (test tasks) decribes the same, I havent found that on http://aft.sourceforge.net/ could you post the url? > > > ${var1} > > > > > > > > > > The same code example as been given in the manuals too. > h

AW: Looping number of times

2010-04-13 Thread Jan.Materne
or directly from the ac-manual The following example loops from one to ten. i is @{i} Jan > -Ursprüngliche Nachricht- > Von: Jan [mailto:raghure...@gmail.com] > Gesendet: Montag, 12. April 2010 21:08 > An: Ant Users List > Betreff: Looping number

AW: Looping number of times

2010-04-13 Thread Jan.Materne
Jan > -Ursprüngliche Nachricht- > Von: Scot P. Floess [mailto:sflo...@nc.rr.com] > Gesendet: Montag, 12. April 2010 21:47 > An: Ant Users List > Betreff: Re: Looping number of times > > > This exact question was posted sometime back... I wrote a > macrodef that > does it... I bel