OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 147 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 147 Rev 163
Line 73... Line 73...
73
 
73
 
74
    @Override
74
    @Override
75
    protected void stop() {
75
    protected void stop() {
76
    }
76
    }
77
 
77
 
78
    public static void main(String[] args) throws IOException {
-
 
79
        System.setProperty(ConnexionPanel.QUICK_LOGIN, "true");
-
 
80
        final File propsFile = new File("module.properties");
-
 
81
        System.out.println(propsFile.getAbsolutePath());
-
 
82
        final ModuleFactory factory = new RuntimeModuleFactory(propsFile);
-
 
83
        SQLRequestLog.setEnabled(true);
-
 
84
        SQLRequestLog.showFrame();
-
 
85
        // uncomment to create and use the jar
-
 
86
        final ModulePackager modulePackager = new ModulePackager(propsFile, new File("bin/"));
-
 
87
        modulePackager.writeToDir(new File("../OpenConcerto/Modules"));
-
 
88
        // final ModuleFactory factory = new JarModuleFactory(jar);
-
 
89
        ModuleManager.getInstance().addFactories(new File("../OpenConcerto/Modules"));
-
 
90
        ModuleManager.getInstance().addFactoryAndStart(factory, false);
-
 
91
        Gestion.main(args);
-
 
92
    }
-
 
93
 
-
 
94
}
78
}