Package org.erlide.engine.model.root

Examples of org.erlide.engine.model.root.ErlangProjectProperties.copyFrom()


                .getConfig(project.getConfigType(), project);
        final ProjectConfigurationSerializer configurator = ((FileProjectConfigurator) persister)
                .getSerializer();

        final ErlangProjectProperties expected = new ErlangProjectProperties();
        expected.copyFrom(ErlangProjectProperties.DEFAULT);
        final ErlangProjectProperties actual = configurator.decodeConfig("");

        assertThat(actual, is(ErlangProjectPropertiesMatcher.sameAs(expected)));
    }
View Full Code Here


      IErlangEngine _instance = ErlangEngine.getInstance();
      SimpleParserService _simpleParserService = _instance.getSimpleParserService();
      final List<OtpErlangObject> content = _simpleParserService.parse(config);
      boolean _isEmpty = content.isEmpty();
      if (_isEmpty) {
        result.copyFrom(ErlangProjectProperties.DEFAULT);
        return result;
      }
      final Procedure1<OtpErlangObject> _function = new Procedure1<OtpErlangObject>() {
        public void apply(final OtpErlangObject erl_opts) {
          try {
View Full Code Here

        Collection<IPath> _includeDirs = result.getIncludeDirs();
        boolean _isEmpty_2 = _includeDirs.isEmpty();
        _and = _isEmpty_2;
      }
      if (_and) {
        result.copyFrom(ErlangProjectProperties.DEFAULT);
      }
      _xblockexpression = result;
    }
    return _xblockexpression;
  }
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.