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:[EMAIL PROTECTED]] > 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:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
