cancel
Showing results for 
Search instead for 
Did you mean: 

UI5 ABAP team repository.. shared but not submitted

Former Member
0 Kudos
275

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

View Entire Topic
silke_arians
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

saurabh_vakil
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Saurabh,

is it that you have several files in a Project, you changed the EOL delimiters to CR+LF for  them all, the submit is working for all but the .less and .theming files?

In doubt, did you check if the files that cannot be submittet realy contain CR+LF as EOL delimiters?

Regards,

Peter

saurabh_vakil
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

saurabh_vakil
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Saurabh,

okay, then I would need to check the project and try to reproduce the issue. Please open an OSS Message on component CA-UI5-TOL and attach the project you are trying to submit.

Regards,

Peter

Former Member
0 Kudos

Hi Saurabh,

Did you get this fixed? I have the exact same problem.

Br Jan

Former Member
0 Kudos

Hi Team,

I had the same problem, replacing the character file by file helped.

Jamuna Nithyanandam

0 Kudos

Hi,

yes had the same issue here the .less file i was able to convert via the file converter by adding .less into the css type of files under preferences.

For the .theming files this did not work so opening and saving them with a text editor did the trick.

cheers

Kay

imran_mohammad_2
Explorer
0 Kudos

This message was moderated.

silke_arians
Product and Topic Expert
Product and Topic Expert
0 Kudos

This message was moderated.