The project actions take a long time.

This article contains possible solutions, if you are experiencing time of waiting in case of project actions.


Symptom 1:

If you import a project for the first time, this import process takes a long time and causes some time of waiting. The import of some projects might even last over 5 minutes.

Cause:

The project is using system libraries. As there is a new version of these system librarires, the system libraries are updated when the project is imported for the first time.

Solution:

Keep the updated project. If you need to import the updated project again, the import process will be faster.

Symptom 2:

The project actions, such as the import of projects but also the cleaning of projects, take a long time and are cause some time of waiting.

Cause:

The project has been created using a logi.CAD 3 version before 1.49.0 and the steps of the following solution have not been performed yet.

Solution so that the actions for your projects are processed more quickly:

  1. In the explorer of the operating system: Go to the folder of the project – e.g. according to this FAQ-article "How can I start the explorer of the operating system from within the development environment?".
    Repeat this step for each project that you are using.

  2. Exit logi.CAD 3.

  3. Per project: Open the file .project of the project in any text editor and insert the following lines into the section <natures> ... </natures>:

    <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
    <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
    Example: before inserting
    <natures>
    <nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
    <nature>org.eclipse.cdt.core.cnature</nature>
    </natures>
    Example: after inserting
    <natures>
    <nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
    <nature>org.eclipse.cdt.core.cnature</nature>
    <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
    <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
    </natures>
  4. Per project: Open the file .cproject of the project in any text editor, search for <builder and insert the following attributes:

    enableAutoBuild="false" enableCleanBuild="false" enabledIncrementalBuild="false"
    Example: before inserting
    <builder id="org.eclipse.cdt.build.core.settings.default.builder.1536239278" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
    Example: after inserting
    <builder enableAutoBuild="false" enableCleanBuild="false" enabledIncrementalBuild="false" id="org.eclipse.cdt.build.core.settings.default.builder.1536239278" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
  5. Save all changed files in the text editor. Close the files.

  6. Start logi.CAD 3 with a new workspace.

  7. Import the required projects.

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg logi.cals recommends to install and use the most current versions of logi.CAD 3 and the runtime system so that the latest features and problem fixes according to the release notes are provided in the used version.


Did this article help you? Did you find the requested information in this user documentation?
If not, contact the support team of logi.cals. State your questions or suggestions to improve/enhance the user documentation as detailed as possible.