This happened to me as well ... specifically after I had already deleted the project from my local drive. The error was:
11:07:59 >> Error while deleting package:
Repository: Package is not empty (contains development objects); workspaces: River_Tutorials
I was able to fix it by following the instructions Thomas provided above with one small caveat ... here are the steps I followed and the root cause:
- From the Repositories View in HANA Studio, recreate a Repository Workspace with the name mentioned in the error above, in this case River_Tutorials. This step creates the .project file necessary to Check Out and Import the project from HANA.
- Right-click the package you wish to delete and select Check Out and Import Projects. Import the project into your Project Explorer.
- Go to the Project Explorer view, right-click the project and check under the Team command to see if you have any resources that need to be Activated. Activate them if needed to synch the HANA repository with the state of your local environment.
- Right-click the Project and select Delete. Check the 'Delete project contents on disk' option.
- Return to the Repositories view, right-click the package you wish to delete and select Delete.
In my case, the problem was caused by River code that had created tables with data in them. This caused a constraint violation when I tried to delete the RDL code w/o first truncating or deleting the underlying tables.