From: Robert L. <rle...@us...> - 2007-02-20 07:23:56
|
Update of /cvsroot/ccmtools/ccmtools/src/ccmtools/generator/java/templates/jet In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20318/src/ccmtools/generator/java/templates/jet Modified Files: ComponentDefAssemblyClass.jet Log Message: missing operation 'remove' implemented Index: ComponentDefAssemblyClass.jet =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/src/ccmtools/generator/java/templates/jet/ComponentDefAssemblyClass.jet,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ComponentDefAssemblyClass.jet 19 Feb 2007 09:09:42 -0000 1.5 --- ComponentDefAssemblyClass.jet 20 Feb 2007 07:23:52 -0000 1.6 *************** *** 185,189 **** throws CCMException { ! // OPTIONAL: IMPLEMENT ME HERE ! } --- 185,189 ---- throws CCMException { ! // Who calls this method? } *************** *** 191,195 **** throws CCMException { ! // OPTIONAL: IMPLEMENT ME HERE ! } } --- 191,206 ---- throws CCMException { ! try { ! <% ! for (String key : component.getAssemblyLocalComponents().keySet()) ! { ! %> ! <%=key%>_.remove(); ! <% ! } ! %> ! } catch(Exception e) { ! throw new CCMException(e.getMessage(), CCMExceptionReason.REMOVE_ERROR); ! } } } |