Show
Ignore:
Timestamp:
01/18/10 12:33:32 (2 years ago)
Author:
dcoppola
Message:

changed default location of xml catalog.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/java/org/jcoderz/commons/taskdefs/XsltBasedTask.java

    r1590 r1592  
    496496        try  
    497497        { 
    498             String [] catalogs = {"/org/jcoderz/commons/taskdefs/catalog.xml"}; 
    499        
     498            String [] catalogs = {"src/xml/catalog.xml"}; 
    500499            System.getProperties().put("xml.catalog.verbosity", "1000"); 
     500             
     501            log("Instantiating xml catalog resolver .", Project.MSG_INFO); 
    501502            // Create catalog resolver and set a catalog list. 
    502503            XMLCatalogResolver xmlResolver = new XMLCatalogResolver(); 
    503             xmlResolver.setPreferPublic(true); 
     504             
     505            xmlResolver.setPreferPublic(false); 
    504506            xmlResolver.setCatalogList(catalogs); 
    505507            resolver = xmlResolver;