You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able to remove RTE nature from the Eclipse project.
I have removed {project}.rteconfig file using Delete command from popup menu (in Eclipse Project Explorer) and now if I open the project, the following exception is thrown:
org.eclipse.core.runtime.CoreException: Error loading RTE configuration file 'rte.rteconfig' parsing failed
at com.arm.cmsis.pack.project.RteProjectUpdater.loadRteConfiguration(RteProjectUpdater.java:219)
at com.arm.cmsis.pack.project.RteProjectUpdater.loadConfigFile(RteProjectUpdater.java:162)
at com.arm.cmsis.pack.project.RteProjectUpdater.runInWorkspace(RteProjectUpdater.java:105)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
For example use case: I want to share my Eclipse project to my colleague, that does not have RTE package installed. He will not modify RTE configuration, only compile and debug, so he does not need RTE.
What I see as an problem, I did a legal Eclipse operation (file deletition), and ARM Eclipse plugin throws an exception during re-opening the project.
The problem here is that an RTE project is dynamic and refers to location where packs are installed:
device information is taken from packs
most of headers are in pack location
some files in RTE folder are links pointing to pack location
Just removing the RTE nature will not solve the problem. Some kind of an export procedure is required to store all required information locally and update build settings accordingly.
While it is feasible for files and headers, there is no place to store device information in a generic C/C++ project.
As far as deletion of an .rteconfig is concerned it is inline with Eclipse practice:
deletion confirmation is required
Eclipse provides "Undo" to restore the file
other project types also cannot tolerate file removal, for instance plugin.xml from RCP development project
For dynamic linking - would it be possible to create standalone project without external dependency (e.g. copy all files into Eclipse project)? This would be useful feature for sure.
other project types also cannot tolerate file removal, for instance plugin.xml from RCP development project
Yes, they tolerate it correctly, e.g. does not throw an exception.
ghost added
DONEWe consider this issue as resolved - please review and close it.
Activity
ReinhardKeil commentedon Mar 17, 2016
What would be the benefit of that? Why is RTE a problem for you?
marek-trmac commentedon Mar 17, 2016
For example use case: I want to share my Eclipse project to my colleague, that does not have RTE package installed. He will not modify RTE configuration, only compile and debug, so he does not need RTE.
What I see as an problem, I did a legal Eclipse operation (file deletition), and ARM Eclipse plugin throws an exception during re-opening the project.
ReinhardKeil commentedon Mar 17, 2016
thanks, we will look into it.
edriouk commentedon Mar 17, 2016
The problem here is that an RTE project is dynamic and refers to location where packs are installed:
Just removing the RTE nature will not solve the problem. Some kind of an export procedure is required to store all required information locally and update build settings accordingly.
While it is feasible for files and headers, there is no place to store device information in a generic C/C++ project.
As far as deletion of an .rteconfig is concerned it is inline with Eclipse practice:
marek-trmac commentedon Mar 18, 2016
For dynamic linking - would it be possible to create standalone project without external dependency (e.g. copy all files into Eclipse project)? This would be useful feature for sure.