Hi Steve,
Thanks a lot for your reply.
You wrote:
>Maybe echo isnt updating its string. Just go Project.log() instead.
What does it mean ?
I try to apend the code below:
project.log( echoval,"XXX", Packages.org.apache.tools.ant.Project.
MSG_WARN);
But this doesn't work,,,
I try to do MSG_DEBUG
trad-ex wrote:
Hi Scot,
Hi folks,
Sorry for my late response & poor English.
I try to organize the discussion on this thread.
As originally questions by other person, how can he pass values from a
script into a target in spite of the immutablity of properties in Ant ?
A part of his script is
Hi Scot,
Thanks a lot for your reply.
What you mentioned as "ant xml task" means tasks without using
ScriptTask, is it right ?
In fact, my project (not ant project!) uses the customized Ant, and in
it, the Task inherited from ScriptTask has a great importance..
So, I try to describe the Ant sc
I've never used the task...so I really don't have an answer for
you...
I do have a question...is there a reason you are using script versus ant
xml tasks? I'm guessing its just to see how things work?
Hi Scot,
Hi folks,
Sorry for my late response & poor English.
I try to organize the discussion on this thread.
As originally questions by other person, how can he pass values from a
script into a target in spite of the immutablity of properties in Ant ?
A part of his script is below:
PROTECTED]
Sent: Thursday, May 18, 2006 10:09 PM
To: Ant Users List; [EMAIL PROTECTED]
Subject: Re: Problem with script task and properties
Hi Scot,
Thanks a lot for your reply.
Yes, I've already known that behavior of "Variable" Task.
What I would like to know is the proper coding
Hi Scot,
Thanks a lot for your reply.
Yes, I've already known that behavior of "Variable" Task.
What I would like to know is the proper coding in Script Task by using
Javascript.
I wonder my conding doesn't make sense ?
Best Regards,
trad-ex
>I think the idea here is to use from ant contrib.
I think the idea here is to use from ant contrib. It definitely
works and allows one to reset properties...
For instance:
Will yield:
[echo] my-var = foo
[echo] my-var = bar
[echo] my-var = alpha
Above, the variable is being changed...
trad-ex
Hi Steve,
I tried to use "Variables" Task in ant-contrib, but it replicate the
same result as Dick did.
My build.xml is:
Dick, Brian E. wrote:
I have just a day to get this working. These are production machines, so
I can't deploy anything to them.
I'm using sshexec to remotely ping from a unix host and using rcmd to
remotely ping from a windows host. I redirect the output from these
tasks to a file and then use l
#x27;s what it takes, so be it.
Thanks for your help.
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 18, 2006 10:25 AM
To: Ant Users List
Subject: Re: Problem with script task and properties
Dick, Brian E. wrote:
> This is a simplified script
Dick, Brian E. wrote:
This is a simplified script. I need to execute the script body several
hundred times in a loop. I also need to run about twenty of them in
parallel. Here's my business problem and the pseudo code for the
solution. Maybe you can suggest another approach.
Problem: Simultaneou
NS ip address change on twenty remote
hosts (window and unix).
Solution:
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 18, 2006 8:57 AM
To: Ant Users List
Subject: Re: Problem with script task and properties
Dick, Br
Dick, Brian E. wrote:
I need to pass values from a script into a target, but the immutability
of properties is getting in the way. I can't use the antcall task in my
script, because I eventually need to return a value from the target to
the script too. Here's a simplified test script.
use and
14 matches
Mail list logo