Examples of ErlangProjectProperties


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

      ProjectConfigType _configType_1 = this.getConfigType();
      IPath _location_1 = this.getLocation();
      String _portableString_1 = _location_1.toPortableString();
      File _file = new File(_portableString_1);
      final IProjectConfigurator config = this.factory.getConfig(_configType_1, _file);
      final ErlangProjectProperties props = config.getConfiguration(this.location);
      IPath _outputDir = props.getOutputDir();
      this.setOutputDir(_outputDir);
      Collection<IPath> _sourceDirs = props.getSourceDirs();
      this.setSourceDirs(_sourceDirs);
      Collection<IPath> _includeDirs = props.getIncludeDirs();
      this.setIncludeDirs(_includeDirs);
      Collection<IPath> _testDirs = props.getTestDirs();
      this.setTestDirs(_testDirs);
    }
  }
View Full Code Here

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

              String _xifexpression_2 = null;
              boolean _tripleNotEquals_1 = (persister != null);
              if (_tripleNotEquals_1) {
                String _xblockexpression_3 = null;
                {
                  final ErlangProjectProperties props = persister.getConfiguration(this.location);
                  _xblockexpression_3 = InputOutput.<String>println(("detected PROPS: " + props));
                }
                _xifexpression_2 = _xblockexpression_3;
              }
              _xblockexpression_2 = _xifexpression_2;
View Full Code Here

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

                new IPath[] { new Path("include") });
    }

    private void checkProjectDirectories(final IErlProject project,
            final Object[] expectedSources, final Object[] expectedIncludes) {
        final ErlangProjectProperties properties = project.getProperties();
        assertThat(properties.getSourceDirs().toArray(), is(expectedSources));
        assertThat(properties.getIncludeDirs().toArray(), is(expectedIncludes));
        assertThat(properties.getExternalModules(), is("../external_modules"));
        assertThat(properties.getExternalIncludes(), is("../external_includes"));
    }
View Full Code Here

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

                interpret);
    }

    private OtpErlangList getProjectDirs(final IProject project) {
        final IErlModel model = ErlangEngine.getInstance().getModel();
        final ErlangProjectProperties properties = model.findProject(project)
                .getProperties();
        final String ebin = properties.getOutputDir().toPortableString();
        final Collection<IPath> srcs = properties.getSourceDirs();
        try {
            return (OtpErlangList) OtpErlang.format("[{ebin_dir, ~s}, {src_dirs, ~ls}]",
                    ebin, srcs);
        } catch (final TermParserException e) {
            ErlLogger.warn(e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.