OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

Rev 80 Rev 156
Line 11... Line 11...
11
 * When distributing the software, include this License Header Notice in each file.
11
 * When distributing the software, include this License Header Notice in each file.
12
 */
12
 */
13
 
13
 
14
 package org.openconcerto.erp.modules;
14
 package org.openconcerto.erp.modules;
15
 
15
 
-
 
16
import org.openconcerto.erp.config.ComptaPropsConfiguration;
16
import org.openconcerto.erp.config.Gestion;
17
import org.openconcerto.erp.config.Gestion;
17
import org.openconcerto.erp.modules.ModulePackager.ModuleFiles;
18
import org.openconcerto.erp.modules.ModulePackager.ModuleFiles;
18
import org.openconcerto.utils.FileUtils;
19
import org.openconcerto.utils.FileUtils;
19
 
20
 
20
import java.io.File;
21
import java.io.File;
Line 66... Line 67...
66
            }
67
            }
67
        }
68
        }
68
 
69
 
69
        Gestion.main(args);
70
        Gestion.main(args);
70
        // add after main() otherwise we could be overwritten by an older jar
71
        // add after main() otherwise we could be overwritten by an older jar
71
        ModuleManager.getInstance().addFactoryAndStart(factory, false);
72
        ComptaPropsConfiguration.getInstanceCompta().getModuleManager().addFactoryAndStart(factory, false);
72
    }
73
    }
73
}
74
}