on 2013 Jan 15 10:33 AM
Hi,
I have built a ui5 application and have tried to follow the instructions on the E2E guide with regards to sharing and submitting onto my abap server. I have got through the first part with the sharing but I have hit a problem when it comes to submitting the application,
At the point where I submit I encounter the problem...
File WebContent/index.html could not be submitted
End of line marker not supported, please use CR+LF: WebContent/index.html
I get this for everyone of my files.
Does anybody have an idea or have they previously encountered this problem.
Sorry for making my first post on here a request for help
Sean
Request clarification before answering.
Hello Sean,
currently only CR+LF is supported, but you can change the text file line feed in Eclipse - please see docu in Demo Kit "Using SAPUI5 Repository on ABAP" under chapter "Remarks".
Hope that helps.
Kind regards,
Silke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am facing exactly the same issue as Sean.
I referred the link https://sapui5.hana.ondemand.com/sdk/docs/guide/UI5BSPRepository.html and followed the steps To change the new text file line delimiter in Eclipse for an existing project and To change the new text file line delimiter in Eclipse for an existing file given in the Remarks section.
But even after doing these steps I was getting synchronization problems in the library.less and.theming files saying End of line marker not supported, please use CR+LF.
How do I resolve this error for the above mentioned files?
Regards,
Saurabh
Hello Peter,
Thanks for your response.
Following the blog Create and Apply Custom Theme to SAPUI5 Application (applying custom theme to stand alone SAPUI5 application) I downloaded the customized theme from the ABAP system and just did a copy-paste of the ui and uiext folders within the theme's zip file to the resources folder of the SAPUI5 application.
Post this when I did a Submit I got the errors for .theming, library.css, library.less and library-parameters.json files. I followed the steps mentioned under the Remarks section of this link https://sapui5.hana.ondemand.com/sdk/docs/guide/UI5BSPRepository.html for just these files and the errors were resolved for all other files except .theming and library.less .
I am not sure how to solve the error for these 2 files and due to this my application fails to get uploaded to the ABAP system.
Regards,
Saurabh
Hi Saurabh,
your are using the team provider for transfering your project to the ABAP System, do I understand this correclty?
Did you convert the end of line delimiters for the 2 files that cause the issue? I.e. in Eclipse: File -> Convert Line Delimiters To -> Windows (CRLF....)?
Regards,
Peter
Hello Peter,
Yes you are right, I am using the Team provider in Eclipse to transfer my SAPUI5 application to the ABAP system.
Also I am doing File -> Converting Line Delimiters To -> Windows (CRLF...) in Eclipse as you have mentioned for the file library.less, the .theming file is not visible in the project structure in Eclipse. But even after doing this, I am getting the same error in the library.less file and the upload fails.
Regards,
Saurabh
User | Count |
---|---|
59 | |
7 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.