So I connected to my workspace and loaded my source code in RTC. I then Imported my local workspace (the source code that I downloaded through RTC) into IntelliJ. I was having issues with IntelliJ loading duplicate modules.
I deleted my .idea folder and my .iml files. I also deleted me .jazz5 folder.
Since I deleted the .jazz5 folder is that why my workspace was not loaded the next time I opened RTC?
I am using Eclipse with the RTC plugin not RTC.
Since I deleted the .jazz5 folder is that why my workspace was not loaded the next time I opened RTC?
Yes: you need to "Load" again your repo workspace in that same path, in order for RTC to recreate the .jazz5 folder: it designate the local workspace or sandbox.
Related
Info:
STM32CubeIDE 1.4.0
OS: Windows
Description:
I have chosen working directory/workspace. E.g., C:\course_1\cubdeide_ws
STM32CubeIDE was closed
I have then renamed my course folder. E.g., C:\course_2\cubdeide_ws
I then opened STM32CubeIDE to do project (STM32-Projects)
I had encountered the following problem:
All projects inside folder/workspace C:\course_2\cubdeide_ws (renamed one) was deleted
I should only have C:\course_2\cubdeide_ws directory in my PC, but I also had C:\course_1\cubdeide_ws
In folder C:\course_2, I had my files from before, but there are no any projects inside C:\course_2\cubdeide_ws folder
In folder C:\course_1 I have a folder with path C:\course_1\cubdeide_ws, but even there, there is none of my projects
Problems:
All my STM32-Projects are gone/deleted (it's not even in Recycle Bin)
Why is STM32CubeIDE creating new folder (same as chosen workspace before)? Before renaming any folder in my PC, do I have to check whether the path is included as workspace by STM32CubeIDE?
I just renamed my folder.Why do STM32CubeIDE deletes projects and also created new folder as per the workspace selected before?
Is it possible to undo an Eclipse workspace without deleting the whole directory? By this I mean to keep the projects in the same directory but the directory should no longer be a workspace.
There is no Eclipse option to do this but you can do a reasonable job by deleting various directories and files in the workspace:
The .metadata directory holds most of the Eclipse data. Deleting this will stop Eclipse recognising the workspace.
In each project deleting the .project file will stop Eclipse recognising the project as a project.
You could also delete the .classpath file and any .settings directory in each project. Some types of project may have additional files that can be deleted.
If you want to keep the projects as eclipse projects then just deleting the .metadata folder is enough (for some eclipse packages, one or more of the projects may also be eclipse generated and could be deleted, so any projects not recognized can be deleted). Now, eclipse needs to run with a workspace so when you start eclipse with a fresh workspace, you can import the projects from the old workspace folder but don't select the import option which gets the projects copied into the new workspace.
In this way, your new workspace will just have metadata for the workspace but the projects themselves will stay in the first directory.
(Strictly speaking, you don't need to delete anything from the old workspace directory. Instead, simply don't select it as a workspace when starting eclipse. However, deleting the .metadata folder would get rid of unnecessary data.)
Note that if you delete the .metadata folder and then later want to use the directory again, as an eclipse workspace, you can just select it when starting eclipse. However, in this case, the projects will not be automatically recognized as being in the workspace (even though they are in the directory), since that information was in the .metadata folder. To get them recognized again, as projects, you will need to import them, though you won't need to set the copy option in the import wizard.
I downloaded eclipse-jee-juno-SR1-win32-x86_64 and created the workspace folder in mu user directory. Seems to work fine.
Then I downloaded eclipse-cpp-juno-SR2-win32-x86_64, but I cannot find an acceptable folder for the workspace.
How can I keep eclipse for java and for c++ in the same user directory?
I have opened Eclipse workspace that I transfered from another computer but it does not show any projects in package explorer (there should be a lot of them). Still project's folders are in workspace folder.
The new machine where I transfered the workspace runs Windows 7 that has the read-only folders issue (more here). That is all the folders that are created on that OS are read-only and that the read-only atribute cannot be removed in any way.
Eclipse originally refused to open the workspace at all saying that .metadata folder of the workspace is read only. After turning user control to the lowest level it opens the workspace but it acts as if it did not contain any projects. I think this is because Eclipse refuses to work with read-only folders and project folders are also read-only.
Did somebody have same problem? How did you solve it? Any suggestions are wellcome.
It is not enough to move your projects in the workspace path folder, you also need to import them. And because of they are in your path folder, you can't import them again because it will say you still have them in your workspace. Move them to another folder (for example in desktop), be sure your workspace folder is empty, and then try to import them from your temporary folder in desktop.
I'm a newbie and I'm using the IBM RAD which is based on Eclipse. After install I deleted some files that seemed not needed in C:\workspace. Now I get this error:
"Periodic workspace table can not be saved, file could not be found, could not save file table to C:\workspace.metadata..."
Could you tell what I should do to resolve the error? Thanks
If you get this error in Linux environment, just update the ownership of the file below, and make the owner as same as the owner of the workspace folder:
<workspace>/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
This solution works for Eclipse version 4.3
Restore the files you deleted.
If you have no way to do that, create a new workspace (File > Switch Workspace > Other...) and then import your projects from the old one into the new one.
This error message happened to me when I was copying old project files and importing (all) files to new project. I did following and solved the issue:
Created a new workspace, and switched current workspace to that
one, and close Eclipse.
Created a missing folder, in this case, "org.eclipse.core.resources".
In Eclipse, switched to previous workspace, and started working with Eclipse. After a while, Eclipse created necessary files and that error message was gone.
This probably happened beacuse you deleted .metadata folder in your workspace folder in "my documents" folder in windows.
Solution: Reinstall