CFEclipse: How Are You Setting Up Your Dev Environment?
My bud Joe Danziger keeps telling me that I need to jump to Eclipse to get some serious productivity gains. I do actually have the latest version installed but one of the things that has been holding me back from using it is the abysmal FTP support included in Eclipse. For example, using the CFEclipse perspective, I can go to the File Explorer View and define a FTP site. When I try to access it, I wait and wait and wait and wait and wait and then get a java lang null pointer error. WTF?!? In contrast, I spark up CF Studio, select my FTP profile and my dirs immediately come up.
Using CF Studio's FTP connectivity has been a mainstay in my development routines for as long as I've been coding in CFML. So not having that option is a real let down. So I'm going to ask my fellow CF'ers how you setup your CFEclipse environments. Do you use FTP or do you develop locally? Are you using SVN? If so, how is your dev environment setup?
I look forward to hearing your feedback and maybe I'll read something that can help setup a scenario where I feel I can be effective with CFEclipse.






Everything is stored in a remote Subversion repository. I develop on my local workstation and use Ant to push files out to development or production.
And I think you should get the Aptana plugin for Eclipse. Then, you'll have good CSS, JS and HTML support. Plus it has Synchronization support via FTP. At a minimum, my Eclipse installs have CFEclipse, Aptana, and usually Subclipse.
"Everything is stored in a remote Subversion repository. I develop on my local workstation and use Ant to push files out to development or production."
Do you mean that you have a complete copy of the remote files on your local PC? I'm trying to get more detail about the actual setup to see how I should consider setting mine up. Are you running CF locally on your deskpt or on a local dev server? Also, how do you configure Ant to push the files out? Is there a tutorial somewhere i can look at?
@Chris: Thanks for the feedback. I installed Aptana awhile ago because it just has the best suite of JS/Ajax/DOM editing tools. Its very cool. How does the Synchronization support via FTP work?
It's pretty easy. Just right-click the project and choose "Create New Synchronize Connection" from the Synchronize menu. Then you put in your FTP info (including the path if it's not in the FTP root). Test and save that. Then just right-click the project again and choose Synchronize->Synchronize and choose Upload or Download or Both. Then click "Preview" and it will show you what needs to go up or come down. If it looks good you choose "Synchronize". That's the basics. You can get or push files individually from the Synchronize menu also.
I've have several Ant scripts to build and populate my database (so I can go back to a known state at any time) and I have an Ant script which checks out a copy of my files from SVN (so I know I have the latest), writes the SVN version and date in my application.cfc, removes any files that don't need to be on the server, and copies everything over (and finally mails me a log!). Takes about 20-30 seconds (we do everything over the network locally so things are pretty quick) and there is no guessing if I forgot something or uploaded the wrong file. If I botch something - I can push up a different version from the repository.
I have a lot of Ant info on my wiki - if you have questions - let me know!
http://www.thecrumb.com/wiki/Ant
I write and test my code locally and the check it into the SVN server. I use TortoiseSVN on my remote development server to synchronize my source code. This could be automated with some ANT scripts, but I haven't been motivated to write them. Once I'm satisfied that my code is ready for production I use Beyond Compare to publish from my remote development server to my live server.
The caveat here is that I have complete access to my remote servers via RDP.
@Jason: The way you describe your "remote development server" actually sounds like a staging server for testing purposes, especially since you mentioned that you code locally. Is that the case or do you actually use that server for development?
The more I can automate things and think less about them - the better. Push a button - go get a soda, done!
I also highly recommend people download and install TortoiseSVN and read their help file - VERY well written. Especially the "Daily Use Guide". They also have a good section on setting up a server.
Mainly because of the screencasts on www.aptana.tv
Now I find out there are plug-ins for Aptana, and they are suing the Eclipse plugin architecture.
Quickly becoming confused, but I'ld like to thank Matt Walker for one, in his post directly above this for confirming Aptana's FTP utilities blow away the Eclipse client.
The problem with the plugins for a newbie is 1. you don't know what's already been added to the native functionality of the product, and 2. Installing too many thing's quickly becomes "too much".
It looks like the IDE's are ultimately extendable, that's a very good thing.
I am in the same old school thinking like you. I've always developed like we did at ediets. Even here I do that.
But it's time to stop. I want to jump on the SVN, dev local, SQL remote bandwagon. I use DWCS3 cause I really don't like eclipse, but it seems it's the way to go.
I dunno. Stuck in my ways. I have all my snippets setup etc. arghh!! meh! I dunno.
D