ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tibor Strausz <Tibor.Stra...@tridion.com>
Subject RE: write nested tag
Date Wed, 24 Jul 2002 14:24:43 GMT
found it
change this and its ok :-)

  public Inner createInner(){
    return new Inner(project);
  }
ok very stupid ;-#

> -----Original Message-----
> From: Tibor Strausz [mailto:Tibor.Strausz@tridion.com]
> Sent: Wednesday, July 24, 2002 3:07 PM
> To: Ant Users List
> Subject: write nested tag
> 
> 
> 
> hi,
> i have a problem writing an nested tag
> 
> i have:
> 
> in outer class
> -------------------------------------------
>   public Inner createInner(){
>     inner = new Inner(project);
>     return new Inner();
>   }
> -------------------------------------------
> in inner class:
> -------------------------------------------
>   public Inner(Project p) {
>       setProject(p);
>   }
>   public void setIn(String val){
>     this.val=val;
>   }
> -------------------------------------------
> when i try to read stuf from the inner class in the outer 
> class (inner.val)
> it is null
> what am i missing here??
> 
> thanks
> 
> tibi
> 
> --
> To unsubscribe, e-mail:   
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:ant-user-help@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message