Community
Participate
Working Groups
When opening an application where the typelibrary is missing a custom FB it deletes the type information from the sys file. In order to restore the project correctly I need to add the missing type and then copying the old sys file from a backup or add the type information manually. It's not possible to change the type in the application so this is the only way since a system import does not include the custom types in the project library in my case (I don't know whether that is the correct behaviour). Please notify me that a type is missing and optionally let me set it to the correct one before simply deleting the information.
Created attachment 283570 [details] Import existing project into workspace
Hi yes this situation is rather annoying. In the development branch we did some work to make this easier. But there is definitely more work needed here. I thought that at least the type name is preserved during saving but it looks I'm wrong here. But there is another point that concerns me more is how you are getting into this situation. If I read your message correctly you are using the IEC 61499 system import feature of 4diac IDE 1.12.2. Please don't use this to import existing 4diac projects. This feature is unfortunately not very reliable. Therefore we have removed it in the development branch and it will be gone from 1.13.0 on. If you want to import an existing 4diac IDE project please use the import existing project into workspace feature in the general import section (see attached screenshot). This will preserve all your types and project settings. And I hope it will make your live with 4diac IDE easier.
Hi I have tried importing using the import existing project into workspace feature, but the entire application was somehow missing in the System Explorer. When importing from an archive I had two projects open, one normal and the other added the suffix expanded. When I try reimporting again sometime in the near future I will provide you with screenshots.
In that case I would really like to see your log file. It sounds that there is some bigger issue in your project. We did quite some fixes in the development branch to make 4diac IDE more gracefully handle such situations. But I don't think that the nightly build version of 4diac IDE is already ready for your use.
New Gerrit change created: https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/180405
New Gerrit change created: https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/180406
Gerrit change https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/180405 was merged to [develop]. Commit: http://git.eclipse.org/c/4diac/org.eclipse.4diac.ide.git/commit/?id=4719dc4d121a7c6618b8909e9bd045ff4c365fe0
New Gerrit change created: https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/180638
Gerrit change https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/180638 was merged to [develop]. Commit: http://git.eclipse.org/c/4diac/org.eclipse.4diac.ide.git/commit/?id=5b2313e3fe9dd203a958d6b2ad462a8dcb7ed054
Gerrit change https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/180406 was merged to [develop]. Commit: http://git.eclipse.org/c/4diac/org.eclipse.4diac.ide.git/commit/?id=dcc254f7a813fbf38c2cdc4a91a2f4d2b5fc1c3a
New Gerrit change created: https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/181788
Gerrit change https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/181788 was merged to [develop]. Commit: http://git.eclipse.org/c/4diac/org.eclipse.4diac.ide.git/commit/?id=333233006afb0e41898685969fcfec4a6be6c303
New Gerrit change created: https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/184971
New Gerrit change created: https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/185051
New Gerrit change created: https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/185085
Gerrit change https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/184965 was merged to [2.0.x]. Commit: http://git.eclipse.org/c/4diac/org.eclipse.4diac.ide.git/commit/?id=c0ca76d44e04831dc36de32079c95e0ee37018f7
New Gerrit change created: https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/185200
Gerrit change https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/185085 was merged to [2.0.x]. Commit: http://git.eclipse.org/c/4diac/org.eclipse.4diac.ide.git/commit/?id=7c87565cdfe63522797c13569d368deca12bd51f
New Gerrit change created: https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/185208
Gerrit change https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/185200 was merged to [2.0.x]. Commit: http://git.eclipse.org/c/4diac/org.eclipse.4diac.ide.git/commit/?id=be55b930daf259840fbb221ab8232e64e01e035d
New Gerrit change created: https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/187387
New Gerrit change created: https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/187507
Gerrit change https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/187387 was merged to [2.0.x]. Commit: http://git.eclipse.org/c/4diac/org.eclipse.4diac.ide.git/commit/?id=5ed33df4f16e102a0823d94f7b07a51124af967a
Gerrit change https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/187507 was merged to [2.0.x]. Commit: http://git.eclipse.org/c/4diac/org.eclipse.4diac.ide.git/commit/?id=0392e7ff74470348180a1578be2acf167553820b
With all the work that went into error marker FBs I would close this issue for now. missing types are now preserved in applications, typed subapps and CFBs.