You must manually delete the project from App Explorer

I deleted the .project file from the file system permanently and must delete the subsequent project from Aptana Application Explorer so that I can recreate it with the same name. The option "Delete project" does not exist, so it just sits there, although the local directory is empty. I need it to disappear, what is the brute force method to get this thing from there?

+6
source share
5 answers

You will need to open / switch to the Project Explorer view (or the Navigator view), find the project (maybe closed) and delete it from there.

To open Project Explorer, you can click "Window โ†’ Show View" and select it.

Greetings

+10
source

For those who are still trying to find the answer to this question, the following procedure worked for me:

Make sure the Project Explorer tab is visible. If not, select Window โ†’ Show View โ†’ Other ..., and then expand the General group and click Project Explorer. Click OK.

On the Project Explorer tab, expand the Local File System group and right-click any empty area with this window and select Refresh.

When prompted to delete the orphaned project, select OK.

+5
source

You can try creating a dummy project folder and a .project file. Here is one for my current Rails project, but there should be no reason why deleting these lines would render it inoperative, right? (Hope?)

<?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>ici</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>com.aptana.ide.core.unifiedBuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.radrails.rails.core.railsnature</nature> <nature>com.aptana.ruby.core.rubynature</nature> </natures> </projectDescription> 

When you have .project in the right folder, you can click the gear icon and click โ€œDelete Projectโ€.

0
source

Imagine that you have projects A, B, C. You have deleted project B, but it still appears in the Application Explorer:

  • Access this workspace directory: Aptana Studio 3 Workspace / .metadata / .plugins / org.eclipse.core.resources / .projects
  • Copy folder A (some existing folder is working fine) and rename it to B (with the name of the project you want to delete).
  • Open Aptana Studio and get access to B.
  • Clic to open a project if a button appears. If not, right-click and select Update. It will display the contents of the project or an empty folder
  • In the toolbar of the Explorer application, click "Delete project." Be careful! do not check "delete project contents" or you delete the project ...
0
source

If you delete the project folder from your local system, make sure that the launch configuration for this project is also deleted so that it does not refer to a non-existing project.

This worked for me:

  • Find the launch configuration by clicking Run-> Run Configurations.
  • Find the project by typing its name in the search box on the left.
  • Click on the desired long configuration to delete.
  • After you have selected the launch configuration for deletion, click the red cross just above the search field to delete.
  • Close the dialog box.
  • Restart Aptana.
0
source

Source: https://habr.com/ru/post/894761/


All Articles