[ALOY-1485] Warning on relocation of platform folder confusing if it contains only one platform
|Affected Version/s||alloy 1.8.0, alloy 1.8.5|
DescriptionTake the following scenario:
I have an Alloy app that targets iOS and Android but only has a
I upgraden from Alloy 1.7.35 to 1.8.0, which includes ALOY-1365.
I continue to work on the iOS version of my app and get a warning to add
why would I stop versioning that if it contains important stuff for Android?
/platform to my
.gitignore file. Weird, because
After a while I switch to work on the Android version and it says:
This is confusing because didn't I work on my iOS app successfully using Alloy 1.8.0 without having moved the folder? Also, when I'd now move[ERROR] Detected legacy "/platform" directory in project directory. [ERROR] Please move the "/platform" directory to "/app/platform" for Alloy 1.8.0 or later. [ERROR] Alloy compiler failed
/app/i18nas it suggests it would now also include an
iosfolder which contains a
alloy_generatedfile. I think it would be better to do the check (and have the
alloy_generatedfile in the root of
/platformand not in the platform folders. It would then: * Already have failed to build when I started working on IOS after the upgrade. * The warning would not be confusing since it would only show on the second build after dealing with... * The error would not be confusing since it is about the root folder and not the platform one. * The
/platform/ioswould not have been generated, easing the relocation.