Sophie

Sophie

distrib > Mageia > 2 > i586 > media > core-release-src > by-pkgid > 002c4917ecec3d47b9bf5b8840b1f10f > files > 13

glassfish-jaxb1-1.0.6-2.mga2.src.rpm

--- jaxb-ri/xjc/src/com/sun/tools/xjc/Options.java	2005-09-10 20:20:00.000000000 +0200
+++ jaxb-ri/xjc/src/com/sun/tools/xjc/Options.java-gil	2010-03-22 09:45:29.000000000 +0100
@@ -278,7 +278,8 @@
             debugMode = true;
             // try to set the verbose flag of catalog resolver
             try {
-                Debug.setDebug(10);
+                Debug debug=CatalogManager.getStaticManager().debug;
+                debug.setDebug(10);
             } catch(Throwable _) {
                 ;   // ignore, in case catalog resolver isn't in the classpath
             }
@@ -425,7 +426,7 @@
      */
     public void addCatalog(File catalogFile) throws IOException {
         if(entityResolver==null) {
-            CatalogManager.ignoreMissingProperties(true);
+            CatalogManager.getStaticManager().ignoreMissingProperties(true);
             entityResolver = new CatalogResolver(true);
         }
         ((CatalogResolver)entityResolver).getCatalog().parseCatalog(catalogFile.getPath());