UI5 Project Submit - Synchronization failed
I've the below issue while Submitting the UI5 project to ABAP repository, didn't notice this before with any other application submission.
File WebContent/<project>/<ViewName>.view.xml could not be submitted
File contains different linefeeds. Mixed linefeeds are not supported
It actually showed the same error message to 2 other xml views. In SCN there are similar issues with MIME objects, but not with XML Views.
What could be the issue here? SDK doesn't have any information on Mixed linefeeds... so unable to fix it.
Didn't find enough clue and don't want to waste time on it.. so closing the ticket.
1# Uploaded those files with just <core:View> declaration.
2# In SE80 project > open respective ViewName.view.xml in edit mode > paste the actual code/content from Eclipse > Save & Activate.
3# In Eclipse > Retrieve the changes first > then Submit it back. No 'SYNC FAILED' here!
That's resolved my 'Synchronization failed' issues, so SCN experts or SAP UI5 team could tell us if this is not a recommended approach or refer any Note/Blog if exists.