Changeset 1660


Ignore:
Timestamp:
12/10/11 22:54:15 (12 years ago)
Author:
vronk
Message:

minor cache-dir handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SMC/trunk/SMC/src/eu/clarin/cmdi/smc/SMC.java

    r1659 r1660  
    3838               
    3939                this.configure();
    40                 this.addParam("cache_dir", Utils.getConfig("cache.dir"));
     40                this.addParam("cache_dir", "file:/" + Utils.getConfig("cache.dir"));
    4141                //this.addParam("cache_dir", config.getString("cache.dir"));
    4242               
     
    5353                //smc.init();           
    5454               
    55                 InputStream is = smc.listTerms("isocat");
    56                 //InputStream is = smc.map("nome do projecto");
     55                //InputStream is = smc.listTerms("isocat");
     56                InputStream is = smc.map("nome do projecto");
    5757                String output_path = Utils.getConfig("cache.dir") +  "test_res_map.xml" ;               
    5858                File f = Utils.write2File(output_path, is);
Note: See TracChangeset for help on using the changeset viewer.