xsddoc/src/net/sf/xframe/xsddoc Processor.java,1.35,1.36

Kurt Riede <[email protected]> Sat, 26 Feb 2005 14:27:53 +0000
Newsgroups gmane.text.xml.xframe.xsddoc.devel
Message-ID <[email protected]>
Update of /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19363/src/net/sf/xframe/xsddoc

Modified Files:
	Processor.java 
Log Message:
be fail safe if extern CSS file not found

Index: Processor.java
===================================================================
RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/Processor.java,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** Processor.java	26 Feb 2005 14:03:38 -0000	1.35
--- Processor.java	26 Feb 2005 14:27:50 -0000	1.36
***************
*** 593,597 ****
          FileUtil.copyFile(getResource("/" + this.resourcePrefix + "/css/stylesheet.css"), out + FILE_SEP + "stylesheet.css");
          if (css != null) {
!             FileUtil.copyFile(css, out + FILE_SEP + "stylesheet.css");
          }
          final String systemId = getSystemId(mainSchemaLocation);
--- 593,601 ----
          FileUtil.copyFile(getResource("/" + this.resourcePrefix + "/css/stylesheet.css"), out + FILE_SEP + "stylesheet.css");
          if (css != null) {
!             try {
!                 FileUtil.copyFile(css, out + FILE_SEP + "stylesheet.css");
!             } catch (IOException e) {
!                 System.out.println("CSS file not found: " + css);
!             }
          }
          final String systemId = getSystemId(mainSchemaLocation);



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click