>Actually, if you wanted to do it programatically in code and you could
>guarantee that each line had no more than one token, you could probably
>make it work by creating regular expressions. Here is some pseudocode:
>
>for each line in the template file
Problem with special values:
value
May be you could remove the fork in JUNIT and add forking in parallel task
But as you said repeating JUNIT task inside the parallel task doesn't look good
If we have a look at the JUNIT task attributes, i don't think there is
a option to do this.
Even I had this problem sometime back, then i left
--- Eric Dalquist <[EMAIL PROTECTED]> wrote:
> I have some macrodefs that make use of other
> macrodefs in a build. It
> works in 1.6.5 but I get a StackOverflowError in
> 1.7. I found a similar
> issue in Bugzilla
>
http://issues.apache.org/bugzilla/show_bug.cgi?id=42640
> although I'm not
>
I have some macrodefs that make use of other macrodefs in a build. It
works in 1.6.5 but I get a StackOverflowError in 1.7. I found a similar
issue in Bugzilla
http://issues.apache.org/bugzilla/show_bug.cgi?id=42640 although I'm not
sure it is exactly the same. I did attach a build.xml that dem
Even a recently changed host key should be accepted when trust="true",
since it is not compared to a local knownhosts file. The command line
client complains because it will allways compare the host key to the
local knownhosts file. I have tried to reproduce the error with
trust="true", but am unab
Since the task is actually forking the JVMs, I don't think that
putting the task in will work. I'd have to put
multiple 's inside the . Is there a more elegant way to
do this?
I suppose I could extend the task's forkMode to add a parallel.
-Original Message-
From: Ramu Sethu [mailto:
I have not tried but u can make use of container task
for more info
Check this link
http://ant.apache.org/manual/CoreTasks/parallel.html
On 9/6/07, Dees, Ian (GE Healthcare) <[EMAIL PROTECTED]> wrote:
> Hi list,
>
> We run our junit task with fork=perTest so that each test performs its
> work in
Actually, if you wanted to do it programatically in code and you could
guarantee that each line had no more than one token, you could probably
make it work by creating regular expressions. Here is some pseudocode:
for each line in the template file
pull out the token name from the lin
Hi list,
We run our junit task with fork=perTest so that each test performs its
work in a separate JVM. Is there a way I can have Ant launch each of
those JVMs in a parallel fashion so that we can take advantage of the
several cores on our build server?
Thanks!
Can anybody provide some help on this?
On 9/5/07, Ramu Sethu <[EMAIL PROTECTED]> wrote:
> Hi prashant
> I did run in debug mode, verbose mode, checked the class in the jar. I
> do see the jar in class path when the build in debug mode.
>
> Actually junit task runs without any problem. Only the cus
Anderson, Rob (Global Trade) wrote:
Usually this error is caused when you have not specified either
trust="true" or knownhosts="something". You have set trust="true"
though...I'm not sure what is causing the problem.
Has the host changed its key recently? That may trigger something; it
certa
Hello,
I see what you mean and agree.
The worse case would be when we have something like
@prop1@@prop2@
in the template files
For the start of the property, I guess we can find it out in the
template (looking for the index of @). The end is much trickier.
Thank you anyway.
Patrick
On 9/6/07,
Hi,
-Original Message-
From: Patrick Martin [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 06, 2007 10:18 AM
To: Ant User
Subject: extract properties from file and corresponding template
/*
Hello,
I have a file that was generated from a template and a set of
properties using ant
No there isnt.
And I think this cant be done:
If you combine the template with the property values you doesnt have any
markers where a property value starts and where it ends (if your template
doesnt provide these). Therefore you cant parse the resulting file.
Example:
template
this @value@
Hello,
I have a file that was generated from a template and a set of
properties using ant filters.
Basically, the template contained tokens like @my.property@ which
where replaced by the corresponding value of ${my.property}.
template + properties >>> file
Now, I'd like to be able to get the set
15 matches
Mail list logo