Skip to content

Fix FileOrder not being applied correctly between plugin and data files#31

Closed
maxijonson wants to merge 1 commit into
dassjosh:mainfrom
maxijonson:main
Closed

Fix FileOrder not being applied correctly between plugin and data files#31
maxijonson wants to merge 1 commit into
dassjosh:mainfrom
maxijonson:main

Conversation

@maxijonson

Copy link
Copy Markdown

Files are correctly ordered with the FileOrder directive in MergeHandler. However, they are being split into three categories of files in the FileCreator: _pluginFiles, _dataFiles and _frameworks. These category of files are then written in separate loops, breaking the original order specified.

In PluginMode and FrameworkMode, plugin and data files are always written together in the same class. However, since they run in different loops, the order originally specified is broken.

To fix this, when in PluginMode or FrameworkMode, I write plugin and data files together, in the Order they are specified.

Fixes #30

@dassjosh

dassjosh commented Feb 7, 2026

Copy link
Copy Markdown
Owner

Thanks for your work on this. Merged your changes manually in the 1.0.15 release.

@dassjosh dassjosh closed this Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FileOrder does not work as expected

2 participants