Cannot open a project on Mac, which I created in Windows and transfer it to the Macbook. Meanwhile, I am able to open a project I created on my Mac machine.
When I try to open the project I get “ResourceException” saying it failed to read the project description file.
There is a solution?
I know how to reproduce “ResourceException”, though I am not sure if it is identical to your case.
Supposing I have a Katalon project named “CURA-Test-Project” which I can open with Katalon Studio successfully.
I make a copy of the “CURA-Test-Project” and name it as “CURA-Test-Projectのコピー”.
open a file “CURA-Test-Projectのコピー/.project” with some editor. The .project file is the config file for Eclipse.
delete some lines in it, or entirely to blank; save it into the .project file. This results the .project file is present but is broken for Katalon Studio.
open the “CURA-Test-Projectのコピー” project with Katalon Studio.
Katalon Studio raises “ResourceException” as the following screenshot shows:
Vlad,
I suppose you have the /.project file broken. You broke it somehow when you copied the project from Windows to Mac.
Shutdown Katalon Studio, delete the broken .project file, and restart Katalon Studio and open the project. The .project file will be recreated by Katalon Studio if not present.
At 18 November 2018, I examined deleting the projectName/.project file.
Now you examined deleting projectName/projectName.prj file.
These are 2 different files.
The .project file is created by Eclipse platform which is the core part of KS.
The projectName.prj file is created by Katalon Studio.
You did something different from me.
As I explained in the previous post, a corrupted .project file causes a ResourceException; but you can try deleting the .project file. Katalon Studio still can find the project and recreate the .project file.
Shutdown Katalon Studio, delete the broken .project file, and restart Katalon Studio and open the project.
Ah, yes. It will happen. Deleting the projectName/.prj file is not a way for cure; a complete destruction. Without the *.prj file, the directory is no longer a katalon studio project. Katalon Studio will not be able to find it as a Katalon Studio project.
There is a thing you can try.
rename the directory of the destructed project to something else: e.g, myProject → original
start Katalon Studio; create a new Project with name of myProject.
copy the Source code directories as listed below from original to myProject manually using Mac Finder or bash cp command.
I was using git and pulling the project files was created the problem. Somehow not all files was coming from git.
I have copied katalon project directory from a colleague, and everything was fine.