Write you own iterator for the loop
produces:
1
2
...
13
14
15
And here a simple implementation (of course you must add an antlib.xml to
your jar)
public class NumberGenerator implements Iterator {
long start = 0;
long incr = 1;
lo
Hello,
I have a stylistic question to the copy task and the mappers.
I have the following situation: I have four directories, one
reference/source directory, one reference/compiled directory, one
current/source directory and a current/compiled directory:
+- reference
| +- source
| +- compiled
ct: Re: Ordered fileset
>
> Klaus:
>
> So did that work or do you need another solution?
>
> Scot
>
> Allwicher, Klaus wrote:
> > Hi Scot,
> >
> > thanks, I had read over the additional 'count' attribute, sorry :-(
> > With this everything wo
From the documentation, it has a count attribute "the number
> of files to find. If more than 1, than the files in the
> output appear in the order indicated by the |age| attribute"
> and age "the age of the files to retrieve, either |eldest| or
> |youngest|. Defaults t
Hi,
I have to process different files ordered by their creation date. (In more
detail, I have to import them and have to assure the the contents of newer
archives are not overwritten by the contents of older files).
If there a possiblity to define an order for filesets or are there any other
ways
Your solution with regex is nearly correct, but you have to escape < and >
;-)
The below snippet was successful tested :-)
test:
[echo] Input: 'foobar
Why not use 'PropertyRegex' from ant-contrib ?!?
> -Original Message-
> From: Frank Henry [mailto:[EMAIL PROTECTED]
> Sent: 27 January, 2006 11:06
> To: user@ant.apache.org
> Subject: Regexp to property
>
> For a little tool I am working on I need to get information
> from a file, via
As the documentation says, the command parameter is deprecated, the
executable parameter should be used and in NO case both of them.
I usually start batch jobs like below, I'm not sure if this is the best way,
but it works ;-)
In your case, you want to execute
Use task from ANT contrib:
SHOULD work (not tested, maybe you have to change the delimiter to a comma
for the construction of the ports-property)
Klaus
> -Original Message-
> From: Ding Shukai [mailto:[EMAIL PROTECTED]
> Sent: 12 December, 2005 10:14
> To: Ant Users List
Maybe, I don't understand the problem right, but why don't you assign the
return code to another property ??
E.g.
> -Original Message-
> From: Bhatia Saurabh (CHA) [
Formatpattern without spaces ?!?
> -Original Message-
> From: Mikael Petterson (KI/EAB)
> [mailto:[EMAIL PROTECTED]
> Sent: 26 October, 2005 14:38
> To: Ant Users List
> Subject: Remove spaces in time string
>
> Hi,
>
> Is is possible to remove the spaces in the string ( see
> gen
Hi,
I have some questions regarding the Log4J logging configuration of ANT,
which I didn't get answered by any other resources:
1. I had a problem with the Log4J configuration. I got the error message:
"Listener attempted to access System.out - infinite loop terminated"
After some investigation
Hi,
I have problems configuring ANT to use the log4j listener.
Everything works fine until, I invoke a self written java class with the
task. This java class also uses log4j for logging purposes.
After the successful execution of the java class, the next task fails
with the message:
xxx:
13 matches
Mail list logo