public void touchAllModules() {

        CmsModuleManager manager = OpenCms.getModuleManager();
        long time = System.currentTimeMillis();

        for (CmsModule module : manager.getAllInstalledModules()) {
            m_shell.getOut().println("Touching module: " + module.getName());
            module.setCheckpointTime(time);
        }
        m_shell.getOut().println("Writing module configuration.");
        manager.updateModuleConfiguration();

    }
public void touchAllModules ( ) { CmsModuleManager manager = OpenCms . getModuleManager ( ) ; long time = System . currentTimeMillis ( ) ; for ( CmsModule module : manager . getAllInstalledModules ( ) ) { m_shell . getOut ( ) . println ( "Touching module: " + module . getName ( ) ) ; module . setCheckpointTime ( time ) ; } m_shell . getOut ( ) . println ( "Writing module configuration." ) ; manager . updateModuleConfiguration ( ) ; }
Sets the checkpoint time of all installed modules to the current time.<p>