Package org.erlide.engine.model.root

Examples of org.erlide.engine.model.root.NewProjectData


        }
    }

    @Test
    public void createSimpleProject() throws CoreException {
        final NewProjectData info = new NewProjectData(factory);
        info.copyFrom(ErlangProjectProperties.DEFAULT);
        creator = new ProjectCreator(name, location, new IProject[] {}, info, context,
                null);
        prj = creator.createProject();
        assertThat(prj, is(not(nullValue())));
View Full Code Here


    }

    @Test(expected = CoreException.class)
    public void createExistingProjectShouldCrash() throws CoreException {
        final NewProjectData info = new NewProjectData(factory);
        info.copyFrom(ErlangProjectProperties.DEFAULT);
        creator = new ProjectCreator(name, location, new IProject[] {}, info, context,
                null);
        prj = creator.createProject();
        prj = creator.createProject();
    }
View Full Code Here

        prj = creator.createProject();
    }

    @Test
    public void createRebarProject() throws CoreException {
        final NewProjectData info = new NewProjectData(factory);
        info.copyFrom(ErlangProjectProperties.DEFAULT);
        info.setConfigType(ProjectConfigType.REBAR);
        info.setBuilder(BuilderTool.REBAR);
        final List<IPath> src = Lists.newArrayList(info.getSourceDirs());
        src.add(new Path("foz"));
        info.setSourceDirs(src);

        creator = new ProjectCreator(name, location, new IProject[] {}, info, context,
                null);
        prj = creator.createProject();
        assertThat(prj, is(not(nullValue())));
View Full Code Here

    @Override
    public void addPages() {
        try {
            super.addPages();
            info = new NewProjectData(ErlangEngine.getInstance()
                    .getProjectConfiguratorFactory());
            info.copyFrom(ErlangProjectProperties.DEFAULT);

            buildPages = Maps.newEnumMap(ProjectConfigType.class);
View Full Code Here

TOP

Related Classes of org.erlide.engine.model.root.NewProjectData

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.