Aptana - Upload On Save

I setup Eclipse with the Aptana plugin about 5 months ago. The “Upload Current File On Save” script worked marvelously — until I installed an Aptana update.

When I tried to run the script again, Eclipse barks that there’s an error at:
/Applications/eclipse/configuration/org.eclipse.osgi/bundles/857/1/.cp/scripts
(“857” changes with each Aptana update)
Thankfully, @jt managed to find the error and fix up the broken JS file. Again thankfully, I managed to save the file because every Aptana update since then has resulted in the breaking of this script.
Considering how often this happens, I figured it was time to post this file out in the wild in case others are having similar issues.Check out the code over on Github.
Enjoy!

Hi there, I'm Jon.

Writer. Musician. Adventurer. Nerd.

Purveyor of GIFs and dad jokes.