ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milind Nirgun" <Nirg...@C-IV.org>
Subject RE: write nested tag
Date Wed, 24 Jul 2002 16:45:43 GMT
> -------------------------------------------
>   public Inner createInner(){
>     inner = new Inner(project);
>     return new Inner();

Did you mean to "return inner" ?

>   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??

You are calling setIn() somewhere before reading inner.val, aren't you?

-Milind

--
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