[Idrs-commit] CVS: Idrs/dev/src/net/sourceforge/idrs/deploy/compile/units Rml.java,1.4,1.5 Head.java
Brought to you by:
bigman921
|
From: Marc B. <big...@us...> - 2004-08-30 00:56:27
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/deploy/compile/units In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12162/src/net/sourceforge/idrs/deploy/compile/units Modified Files: Rml.java Head.java Body.java Log Message: Added log4j support. cleaned up the logs Index: Rml.java =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/deploy/compile/units/Rml.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Rml.java 29 Aug 2004 05:01:38 -0000 1.4 --- Rml.java 30 Aug 2004 00:56:10 -0000 1.5 *************** *** 45,49 **** public void isHtml(String val, Attributes atts) throws Exception { this.state.getReport().getBody().isHTML(Boolean.valueOf(val).booleanValue()); ! System.out.println("Set HTML"); } --- 45,49 ---- public void isHtml(String val, Attributes atts) throws Exception { this.state.getReport().getBody().isHTML(Boolean.valueOf(val).booleanValue()); ! } Index: Head.java =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/deploy/compile/units/Head.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Head.java 29 Aug 2004 05:01:38 -0000 1.4 --- Head.java 30 Aug 2004 00:56:10 -0000 1.5 *************** *** 17,20 **** --- 17,21 ---- package net.sourceforge.idrs.deploy.compile.units; + import org.apache.log4j.Logger; import org.xml.sax.*; import org.xml.sax.helpers.*; *************** *** 27,31 **** public class Head extends net.sourceforge.idrs.deploy.compile.Compiler { ! /** Creates new Head */ public Head() { --- 28,32 ---- public class Head extends net.sourceforge.idrs.deploy.compile.Compiler { ! static Logger logger = Logger.getLogger(Head.class.getName()); /** Creates new Head */ public Head() { *************** *** 54,62 **** int i; ! if (this.state==null) System.out.println("state null"); IDRSRep rep = this.state.getReport(); ! if (rep == null) System.out.println("Rep Null"); IDRSBody body = rep.getBody(); ! if (body == null) System.out.println("Body Null"); boolean ishtml = body.isHTML(); --- 55,63 ---- int i; ! if (this.state==null) logger.debug("state null"); IDRSRep rep = this.state.getReport(); ! if (rep == null) logger.debug("Rep Null"); IDRSBody body = rep.getBody(); ! if (body == null) logger.debug("Body Null"); boolean ishtml = body.isHTML(); Index: Body.java =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/deploy/compile/units/Body.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Body.java 29 Aug 2004 05:01:38 -0000 1.14 --- Body.java 30 Aug 2004 00:56:10 -0000 1.15 *************** *** 58,62 **** } bodyTag += ">"; ! System.out.println("Body tag : " + bodyTag); line.addChunk(new TextChunk(bodyTag)); state.sealLine(); --- 58,62 ---- } bodyTag += ">"; ! //.out.println("Body tag : " + bodyTag); line.addChunk(new TextChunk(bodyTag)); state.sealLine(); |