Jon Knapp (.com)

I'm a fan of "web development" on Facebook. Read more »

Local folder syncing in Aptana { 0 }

So I have started using an Eclipse modification called Aptana for my PHP/Javascript projects and really enjoy it so far. I’m very new to the software, but it seems easy to use and works with Adobe AIR.

The only problem I have ran into was trying to setup a local file sync. FTP syncs worked great, caused no headaches, and shouldn’t cause anyone else a headache either. However, I wanted to sync two folders on my machine and unfortunately the process left a lot to be desired. I ended up running into configuration problems and had to clean my configuration from the Help menu a couple times.

Thankfully, I ended up finding a workaround and subsequently posted it in the ASAP Aptana Issue Tracker to try and help anyone else until it receives a fix. It’s pretty easy to do, has caused no problems since, but requires a bit of tinkering to fix without any instructions.

Here’s how I did it, I hope it helps someone else:

I wanted to sync a folder called services to the services folder in my project. My project was already added to the project view at this point.

I went to the file view and selected the services folder (not the one in my project) that I wanted to sync to, right-clicked it and chose “Create new sync connection…”

Next I chose to “Add new project shortcut” and selected the services folder inside my project. Now hit the cancel button. If you then look in your Sync Manager pane, and click the drop down arrow and select “Show Local Sync Targets” you will see your new addition. However, you cannot use it yet.

Restart Aptana.

Now go back to the file view, right-click the services folder you want to sync (not the one in your project) and this time select the project shortcut that you previously made.

Leave a Reply