Installing Migration Tool (Ant) on Mac OsX

I was trying to run ANT to migrate code between two Salesforce orgs today and realized I hadn't configured the Migration Tool properly for my new Mac. I kept getting the error; [antlib:com.salesforce] Could not load definitions from resource com/salesforce/antlib.xml. It could not be found.

I already had the latest version of Eclipse installed, which handles the Ant installation for you. You can confirm this by typing ANT-version in Terminal. So, it was just a question of getting the migration tool in the Ant lib directory. (This took me a bit of searching hence this quick post).

  1. Download the Migration Tool (instructions here).
  2. Unzip the file
  3. Open a terminal window in the directory of the unzipped file (See my last post for a quick way to do this)
  4. Type: sudo sh
  5. Enter your password
  6. Type: cp ant-salesforce.jar /usr/share/ant/lib/ant-salesforce.jar

Now you're good to go. Check out Jeff Douglas' blog post on the hows and whys of this tool.

Mac Daddy – Salesforce for Mac OSx

My recent infatuation with all things Mac has been taken to new levels since I was able to convince my IT department to replace my crappy Dell with a shiny new Macbook Pro. Hot!

Now 80% of my work on any given day is 'in the cloud' developing for using a browser, so I wasn't overly concerned with the transition. That being said there is still some software that I depend on.So I decided to post a list of the Mac equivalents for other Salesforce Developers using OSX.

So what didn't make the cut?

  • Excel Connector – In my opinion, a superior tool to the Data Loader for the purpose of quickly querying and updating Salesforce records. I used it extensively for cleaning up data during migrations. Alas, the geniuses at Redmond decided not to support VB Macros in Excel 2008 for Mac. Seriously? Why would you release a product on one platform that is missing a major piece of functionality readily available on the other. Oh, maybe you're trying to build a monopoly and undercut use of the other platform. Ok, then. Nevermind. This may have been a non starter anyway since the Connector relies on the Office Toolkit which is only for Windows. Tried the Mac version of Mass Update Anything, but the UI is all screwed up. Looks like the version is from 2007, so it might not be compatible with Leopard.
  • Notepad++ – Using TextWrangler but not loving it. Might try TextMate
  • SnagIt and Camtasia – I make a lot of screen captures and videos for training. Using Snap Pro X because that was recommended by my IT dept, but it feels like a downgrade. It doesn't have an editor for adding callouts, screen zooms, etc. Might try the Mac beta of SnagIt and see if I can make a case for Camtasia for Mac.
  • Internet Explorer – Don't laugh. I need to see how VisualForce pages I develop look in IE, especially since I use Firefox exclusively. Also, the web-based app I use to log my billable hours … wait for it … only runs in IE! My advise; if you're a company with a web-based product that only runs on IE, start laying people off. IE's market share is around 60% and declining . As they lose market share so will you. In geek speak that means; IF(eggs > 1 && baskets == 1) THEN FAIL