OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 110 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 110 Rev 140
Line 30... Line 30...
30
 
30
 
31
    public void reload() {
31
    public void reload() {
32
        this.removeAll();
32
        this.removeAll();
33
        this.invalidate();
33
        this.invalidate();
34
        try {
34
        try {
35
            final File dir = new File(ComptaPropsConfiguration.getConfFile().getParent());
35
            final File dir = new File(ComptaPropsConfiguration.getConfFile(ComptaPropsConfiguration.productInfo).getParent());
36
            final File f = new File(dir, "openconcerto_catalog.xml");
36
            final File f = new File(dir, "openconcerto_catalog.xml");
37
            String catalog = "empty";
37
            String catalog = "empty";
38
            if (f.exists()) {
38
            if (f.exists()) {
39
                System.out.println("OLAP: using catalog " + f.getAbsolutePath());
39
                System.out.println("OLAP: using catalog " + f.getAbsolutePath());
40
                catalog = FileUtils.read(f, "UTF8");
40
                catalog = FileUtils.read(f, "UTF8");