4 years, 10 months ago.
Problems with committing code
I've written code with the intention of using it as a library, but it started out with a main function that I would use for testing purposes. Every time I tried to import the "library" into another program, it would get compiler errors because of the duplicate main.cpp and mbed folder. If I delete those files from the client application program, everything would run fine.
I initially couldn't find anything related to converting my program to a library, so I went back and forth between deleting main.cpp in my project, or converting the mbed source from a folder to a library, and nothing seemed to work. I then found that I just have to right click on the project and select New Library to convert my program into a library that other applications can use. However, before doing that I wanted to commit my changes.
When I click publish, it tells me:
"To commit in this program, you need to commit any changes in library "ModbusServer"
If I click Commit, then it asks me for revision notes, which I enter. When I click OK, it tells me:
"There is nothing to commit. No files have been changed in the repository."
I know this is wrong because if I look at Revisions, the changelist shows that main.cpp was added back in, and ModbusServer.lib and mbed.lib were added back in.
If I try to Publish again and tell it to Discard changes to ModbusServer, I end up in an endless loop where I can keep clicking Discard and OK over and over again.
Does anyone have any suggestions for how to solve this problem?
2 years, 2 months ago.
Hi, I have the same problem, did anyone found a solution ? Cécile
You need to log in to post a question