Package com.volantis.mcs.runtime.project

Examples of com.volantis.mcs.runtime.project.ProjectManager


    private static synchronized void loadProject(MarinerPageContext pageContext)
            throws MarinerContextException {

        if (project == null) {
            EnvironmentContext ec = pageContext.getEnvironmentContext();
            ProjectManager pm =
                pageContext.getVolantisBean().getProjectManager();

            File projectFile = new File(ec.getRealPath(PROJECT_PATH));
            baseAssetsPath = new File(ec.getRealPath("/")).getParentFile();
            URI projectFileURI = projectFile.toURI().normalize();
            project = pm.getProject(projectFileURI.toString(), null);
        }
    }
View Full Code Here


        BaseURLTracker baseURLTracker =
                new BaseURLTracker(pageContext.getRequestURL(false));
        pageContext.setBaseURLProvider(baseURLTracker);

        // Create the project tracker.
        ProjectManager projectManager = pageContext.getProjectManager();
        ProjectStack projectStack = pageContext.getProjectStack();
        projectTracker = new ProjectTracker(baseURLTracker, projectManager,
                projectStack);

        defaultHandler.setInitialRequestContext(requestContext);
View Full Code Here

    private static synchronized void loadProject(MarinerPageContext pageContext)
            throws MarinerContextException {
       
        if (project == null) {
            EnvironmentContext ec = pageContext.getEnvironmentContext();
            ProjectManager pm =
                pageContext.getVolantisBean().getProjectManager();
           
            File projectFile = new File(ec.getRealPath(PROJECT_PATH));
            URI projectFileURI = projectFile.toURI().normalize();
            project = pm.getProject(projectFileURI.toString(), null);
        }
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.runtime.project.ProjectManager

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.