OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

Rev 153 Rev 165
Line 168... Line 168...
168
    @Override
168
    @Override
169
    protected void stop() {
169
    protected void stop() {
170
        // nothing to stop
170
        // nothing to stop
171
    }
171
    }
172
 
172
 
173
    public static void main(String[] args) throws IOException {
-
 
174
        System.setProperty(ConnexionPanel.QUICK_LOGIN, "true");
-
 
175
        final File propsFile = new File("module.properties");
-
 
176
        System.out.println(propsFile.getAbsolutePath());
-
 
177
        final ModuleFactory factory = new RuntimeModuleFactory(propsFile);
-
 
178
        SQLRequestLog.setEnabled(true);
-
 
179
        SQLRequestLog.showFrame();
-
 
180
        // uncomment to create and use the jar
-
 
181
        final ModulePackager modulePackager = new ModulePackager(propsFile, new File("bin/"));
-
 
182
        modulePackager.writeToDir(new File("../OpenConcerto/Modules"));
-
 
183
        ModuleManager.getInstance().addFactories(new File("../OpenConcerto/Modules"));
-
 
184
        ModuleManager.getInstance().addFactoryAndStart(factory, false);
-
 
185
        Gestion.main(args);
-
 
186
    }
-
 
187
 
-
 
188
}
173
}