Resolving ‘Folder is Not Empty’ Warning in Aptana When Creating New Project

October 1st, 2013 - Posted by Steve Marks to Software, Web Development.

We use Aptana Studio 3 as our main coding IDE here in the office, and setting up new projects is a fairly regular occurrence. There was one issue however that I was constantly coming up against when setting up new projects that, whilst taking a short break, I set out to resolve.

The Problem

When setting up a new project in Aptana, one of the steps required is to select the location where the files reside. If creating a project in a folder that already contained files you’d get a ‘Folder is not empty‘ error like so:

You can see the error at the top, and the ‘Finish’ button disabled.

The Solution

Previously when faced with this problem, I would empty the folder in question by moving the files elsewhere, create the project, then move the files back. As you can imagine, this was annoying and time consuming, especially when trying to set up a large site.

Fortunately the solution turned out to be simple:

1. Select ‘File > Import…’

2. Expand the ‘General’ section and select ‘Existing Folder as New Project’. Click ‘Next’.

3. On the final step enter the name of your project and the location and a new project will be created in the folder selected.

And that’s it. No more emptying and moving around files simply to create a new project.

This entry was posted on Tuesday, October 1st, 2013 at 6:57 pm by +Steve Marks and is filed under Software, Web Development. You can follow any responses to this entry through the RSS 2.0 feed.

Fear not, we won't publish this

Comments (7)
  1. kophy says:

    thank you very much. worked fine

  2. Ken says:

    Thanks! I was following some outdated instructions based on a previous version of Aptana in which one could proceed past that warning. I was stuck until I found this. Much appreciated!

  3. Jung says:

    You’re my life saver!

  4. Sparkii71 says:

    Like Mike iLL am just getting started with Aptana (and learning Drupal) and was dreading getting stalled and spending way too much time getting my environment set up. This tip saved me lots of time. Thanks

  5. Barrels says:

    Thank you so much!

  6. Mike iLL says:

    very helpful. thank you, man. I’m just getting started with Aptana. Using in conjunction with MAMP (and textwrangler, although that may end up being redundant).

  7. Ignatius says:

    Thanks! most useful!