protected void popContext ( ) { // write output to property, if applicable if ( outprop != null && ! System . out . checkError ( ) ) getProject ( ) . setNewProperty ( outprop , out . toString ( ) ) ; if ( out != err && errprop != null && ! System . err . checkError ( ) ) getProject ( ) . setNewProperty ( errprop , err . toString ( ) ) ; System . setErr ( antErr ) ; System . setOut ( antOut ) ; confloader . cleanup ( ) ; confloader . setParent ( null ) ; }
Create the appropriate output properties with their respective output restore System . out System . err and release any resources from created ClassLoaders to aid garbage collection .