Package org.fao.geonet.kernel

Examples of org.fao.geonet.kernel.SvnManager


        GeonetContext gc = (GeonetContext) context.getHandlerContext(Geonet.CONTEXT_NAME);
        boolean svnManagerFound = false;
        Element root = new Element("a");
       
        try {
            SvnManager svnMan = gc.getBean(SvnManager.class);
            if (svnMan != null) {
                svnManagerFound = true;
            }
        } catch (NoSuchBeanDefinitionException e) {
            // No SVN manager found - SVN is not activated
View Full Code Here


        //------------------------------------------------------------------------
        //--- get edit params and initialize DataManager

        logger.info("  - Xml serializer and Data manager...");

        SvnManager svnManager = _applicationContext.getBean(SvnManager.class);
        XmlSerializer xmlSerializer = _applicationContext.getBean(XmlSerializer.class);

        if (xmlSerializer instanceof XmlSerializerSvn && svnManager != null) {
            svnManager.setContext(context);
            String subversionPath = dataDirectory.getMetadataRevisionDir().getCanonicalPath();
            svnManager.setSubversionPath(subversionPath);
            svnManager.init();
        }

        /**
         * Initialize language detector
         */
 
View Full Code Here

TOP

Related Classes of org.fao.geonet.kernel.SvnManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.