OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 102 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 102 Rev 166
Line 80... Line 80...
80
 
80
 
81
    @Override
81
    @Override
82
    protected void stop() {
82
    protected void stop() {
83
    }
83
    }
84
 
84
 
85
    public static void main(String[] args) throws IOException {
-
 
86
        System.setProperty(ConnexionPanel.QUICK_LOGIN, "true");
-
 
87
        final File propsFile = new File("module.properties");
-
 
88
        final ModuleFactory factory = new RuntimeModuleFactory(propsFile);
-
 
89
        SQLRequestLog.setEnabled(true);
-
 
90
        SQLRequestLog.showFrame();
-
 
91
        // uncomment to create and use the jar
-
 
92
        final ModulePackager modulePackager = new ModulePackager(propsFile, new File("bin/"));
-
 
93
        modulePackager.writeToDir(new File("../OpenConcerto/Modules"));
-
 
94
        // final ModuleFactory factory = new JarModuleFactory(jar);
-
 
95
        ModuleManager.getInstance().addFactories(new File("../OpenConcerto/Modules"));
-
 
96
        ModuleManager.getInstance().addFactoryAndStart(factory, false);
-
 
97
        Gestion.main(args);
-
 
98
    }
-
 
99
 
-
 
100
}
85
}