Package org.sodbeans.api.quorum

Examples of org.sodbeans.api.quorum.MainFileProvider


                        } else {
                            // Start a TOD session.
                            FileObject current = compiler.getMainClassFile();
                            // Get the project the user is referencing
                            final Project proj = projectRequestedToRun;
                            MainFileProvider provider = getMainFile(proj);
                            if(!isProjectSetupCorrectly(provider)) {
                                return;
                            }
                            // Get the path of the Build folder.
                            File projectFolder = new File(proj.getProjectDirectory().getPath());
View Full Code Here


        }

        // Get the project the user is referencing
        Project proj = getAppropriateProject(isMainMenuRequest(e));
       
        MainFileProvider provider = getMainFile(proj);
        if(!isProjectSetupCorrectly(provider)) {
            return;
        }

        SodbeansAction.server.setProject(proj);
        SodbeansAction.server.setProvider(provider);
        projectRequestedToRun = proj;
       
        // Compile the project and display the message
        compiler.setBuildFolder(provider.getBuildDirectory());
        compiler.setDistributionFolder(provider.getDistributionDirectory());
        compiler.clearDependencies();
        SodbeansBuildAction.addCompilerDependencies(compiler);
        buildRequested = true;
        compiler.compile(proj);
       
View Full Code Here

        }

        // Get the project the user is referencing
        Project proj = getAppropriateProject(isMainMenuRequest(e));
       
        MainFileProvider provider = getMainFile(proj);
        if(!isProjectSetupCorrectly(provider)) {
            return;
        }

        SodbeansAction.server.setProject(proj);
        SodbeansAction.server.setProvider(provider);
        projectRequestedToRun = proj;
       
        // Compile the project and display the message
        compiler.setBuildFolder(provider.getBuildDirectory());
        compiler.setDistributionFolder(provider.getDistributionDirectory());
        compiler.clearDependencies();
        SodbeansBuildAction.addCompilerDependencies(compiler);
        compiler.compile(proj);
        buildRequested = true;
    }
View Full Code Here

TOP

Related Classes of org.sodbeans.api.quorum.MainFileProvider

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.