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 Thu, 25 Jul 2002 09:29:19 GMT
yes 
> Did you mean to "return inner" ?
no
> You are calling setIn() somewhere before reading inner.val, 
> aren't you?
because 'inner = new Inner(project);'
will do all the setting, doesn't it??

tibi


> -----Original Message-----
> From: Milind Nirgun [mailto:NirgunM@C-IV.org]
> Sent: Wednesday, July 24, 2002 6:46 PM
> To: Ant Users List
> Subject: RE: write nested tag
> 
> 
> > -------------------------------------------
> >   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>

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