-
Notifications
You must be signed in to change notification settings - Fork 1
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
Models don't appear to get "flattened" out of subdirectories #29
Comments
Ah, ok! I didn't know that. And yeah, I also find it likely that EOF doesn't dig into the resource hierarchy so models might have to be extracted and pulled to the root resources folder. |
This is going to be harder than it sounds. I presume here in
For reference, this is what
It would certainly be good to replicate that behaviour if we could. As an aside, though, Finally, "stop doing that" (putting EO models in sub-folders) seems like a pretty reasonable resolution here, if you want to go that way. I do it because it keeps |
Thanks for looking at the current behaviour! Perhaps the folder copy method could just accept a suffix list that indicates "if you encounter a file/directory with any of these suffixes, copy to root, not a corresponding subfolder". Shouldn't be too hard. I'm thinking empty directories can just be generally ignored/not copied (whether they're empty to begin with or after "flattening" occurs). Exclusions for certain files or extensions would be a "nice to have" — but I don't think it's essential. I very much appreciate the plain simplicity of "everything in I'm a little more worried about #34 since it seemingly makes anything other than |
I was going to try add another variant of |
Hmmm… Yes, I'd imagine that, i.e. it probably requires |
Oh yeah, |
Part of the old
flattenComponents
functionality was pulling EOModels out of any folder structure as well. (Hence the option was poorly named: it flattened components and models. It's documented though: "Flatten only the WOComponents and EOModels from Resources or Components folders.")vermilingua
doesn't seem to do this: mymodels
folder is preserved in the.woa
bundle, even though component folder structure is dissolved. I don't know whether this affects a deployed app at runtime, though I suspect that it does.The text was updated successfully, but these errors were encountered: