Coda and WebOS, a match made in heaven? Part 1
Coda has been my favorite web development tool on Mac OS X, it is simple, easy to use, and runs smooth as butter. When Palm released WebOS, I was saddened to see the only platform they supported on Leopard was eclipse, which saddened me because I can’t stand eclipse’s bloated interface. Today, I was able to work up a Coda Plug-in so that I can program for the Palm Pre while using coda.
Here is how to use Coda and WebOS (Palm Pre OS) together.
1) You will need to download the WebOS SDK and Sun VirtualBox and follow the instructions on this page.
2) Go through the installer, and install both VirtualBox and the WebOS SDK.
3) Download this coda plug-in.
4) Close coda if you have it open and double click the MojoPlugin.codaplugin to open Coda and install the plug-in.
In Part Two, I will show you how to create a project.
(Update: Find part two here)


Chris I can’t get this to work in Coda 1.6.4. When I install it the Plug-ins menu isn’t created yet when I install it again it asks me if I want to reinstall it so some part of the plugin is there. I installed the Lorem Ipsum plugin as a test and it enabled the plug-ins menu and shows up there. Any ideas?
Thanks,
Doug
Doug, I am also using Coda 1.6.4, what is your system specs, I hadn’t had the chance to test the code in tiger, so that might be the issue.
@admin
Chris, I am using 10.5.7 on a G4 powerbook. I tried your plug-in on my MacBook (also 10.5.7) and it worked. I just tried it at work on my G5 (again 10.5.7) it worked too. I’m going to try deleting Coda and every remnant I can find start over.
Didn’t work. This could turn out to be very difficult to track down as it is just this one machine. Like I said earlier, your plugin works fine on my two other Macs.
It could be that Coda is not actually installing the plugin, make sure the plugin is located in “~/Library/Application Support/Coda/Plug-ins/” it could be called “MojoPlugin.codaplugin”.
Yes I saw that there. I checked permissions too and they are identical to that of my other Macs. So I logged into another account on the powerbook and installed the plugin. It worked (shows up in the menu). So just now I tried deleting the app, the App Support folder for Coda, and the plist in preferences for my account and reinstalled. Oddly enough it still does not show up. So whatever the issue is that remains, it is with my account only and not with the computer itself.
[SOLVED] I ran Coda from the terminal to see if there was any debugging output and I got this:
Coda[1277:10b] Error loading /Users/doug/Library/Application Support/Coda/Plug-ins/MojoPlugin.codaplugin/Contents/MacOS/MojoPlugin: dlopen(/Users/doug/Library/Application Support/Coda/Plug-ins/MojoPlugin.codaplugin/Contents/MacOS/MojoPlugin, 265): no suitable image found. Did find:
/Users/doug/Library/Application Support/Coda/Plug-ins/MojoPlugin.codaplugin/Contents/MacOS/MojoPlugin: mach-o, but wrong architecture
Googling around I learned that this essentially means that MojoPlugin is not executable on the G4 PPC. So I ran file MojoPlugin and the output confirmed it was for i386 (no PPC). So I logged into the other account and ran file on MojoPlugin. That copy was for both i386 and PPC so I copied it to my first account and now it is working fine.
Doug, that is truly weird since I compiled it as a Universal Binary. I will look into the issue.
Doug – The Mojo SDK was (last I checked) not PPC compatible either, so installing the MojoPlugin on Coda on a PPC G4 might be a futile effort.