-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AcConstants.ini exists but is not used #1893
Comments
@gjwatney FYI. |
@bocchino is this something you would fix? It seems fairly straight-forward. |
This also needs to be fixed: https://github.com/nasa/fprime/blob/devel/docs/UsersGuide/user/settings.md Also, it looks like something in the F Prime tools is using settings.ini to find AcConstants.ini. This should be scrubbed. |
There are also references to AcConstants.ini here and there in the docs, e.g.: https://github.com/nasa/fprime/blob/devel/Svc/StaticMemory/docs/sdd.md#configuration We should update these to refer to AcConstants.fpp. |
Actually I think this is the first order of business. Otherwise it is not clear what will happen if the AcConstants.ini file is not present, and the tools are expecting it to be there. |
@bocchino doing this change will break our backward support of the XML modeling language. Have we officially drop that support? |
Can you elaborate the use case you have in mind that will break? AcConstants.ini defines some symbols that were used by the old handwritten XML and are not used by the FPP-generated XML. So at a minimum we should delete all those unused symbols and document that AcConstants.ini is there for backwards compatibility. Are you thinking that removing AcConstants.ini entirely will break something that users are doing with their own handwritten XML? That seems unlikely to me, since the purpose of AcConstants.ini was to configure the framework, and we are not using it for that (or for any other) purpose any more. |
After discussion, hand-writers of XML components might want to use AcConstants.ini to configure their XML. However, we will begin the process of phasing out support for hand-written XML components. |
Issue
Suggested Solution
The text was updated successfully, but these errors were encountered: