Ooooops...
 
I had forgetten about the behavior, thanks for the reminder...
 
Ninju

Jeffrey E Care <[EMAIL PROTECTED]> wrote:
Properties set in the target run by do not get passed back to 
the calling target. I would suggest you investigate antcontrib's 
AntCallBack task: 
http://ant-contrib.sourceforge.net/tasks/antcallback_task.html

JEC
-- 
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis


Ninju Bohra wrote on 01/18/2005 11:41:17 AM:

> Hey Guys (and gals),
> 
> I am having some trouble with trying to use antcall with input tasks.
> 
> See attached build file (called whats_up.xml).
> 
> The two targets that don't work (realwork1 and realwork2) both use 
> helper targets that use tasks to invoke the  [input]  tasks,
> while the third target (realwork3) seems to work okay and so that 
> why it think it is related to my usage of task and not the
>  [input]  task.
> 
> The first target (realwork1) asks for the import.user name but is 
> unable to expand its value in the messge for the input password.
> 
> The second target (realwork2) asks for the import.user the first 
> time, and asks for it again the second time (due to a intentional 
> typo) even though it should not.
> 
> Any ideas as to why the invoked input tasks do not seem to
> honor the property set by previous tasks
> 
> Ninju
> Do you Yahoo!?
> Yahoo! Mail - Find what you need with new enhanced search. Learn more.
> 
> 
***********************************************************************************************************
> 
* Why are things not working
*

> 
************************************************************************************************************
> 
-->
> 

> 
> 
>  [input] > from:" addproperty="import.user">
> 
> 
>  [input] > account (${import.user}):" addproperty="import.password">
> 
> 
> 
>  [input] > from:" addproperty="export.user">
> 
> 
>  [input] > account (${bypass.user}):" addproperty="bypass.user">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  [input] > from:" addproperty="override.user">
>  [input] > account (${override.user}):" addproperty="override.password">
> > merely no-ops (yea!)" -->
>  [input] > account (${override.user}):" addproperty="override.password">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
                
---------------------------------
Do you Yahoo!?
 All your favorites on one personal page � Try My Yahoo!

Reply via email to