Message 'A resource exists with a different case' is displayed

Symptoms:

  • After a project has been imported, the following message is displayed for the specification {CustomImplementation} within the ST-editor: org.eclipse.core.internal.resources.ResourceException: A resource exists with a different case: 'path/file-name.h'. - See error log for details

  • The statement {CustomImplementation} is highlighted as faulty.

Cause:

The name of the specified file does not match the requirements/expectations of logi.CAD 3. Most likely, the name is specified with small letters. However, logi.CAD 3 expects capital letters for the POU name that is part of the file name.
Example: For a function named TestVendor01 within the namespace com.oem1.lib1 that is declared after the specification {CustomImplementation}, logi.CAD 3 expects this file name: lcfu___COM.OEM1.LIB1.TESTVENDOR01.h – But if the file name is lcfu___com.oem1.lib1.testvendor01.h, the specification {CustomImplementation} is highlighted as faulty and the above specified message is displayed.

Solution so that the statement is not highlighted as faulty anymore:

  1. Correct the name of the specified file so that the POU name is entered in capital letters. See the above example.

  2. Make a minimal change within the ST-object with the specification {CustomImplementation} (e.g. insert a blank or an empty line). Then save the SP-object.

Background information: Usually, the specification {CustomImplementation} is only used by a user that creates →vendor blocks.

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.