Important Links for Grails

It's so crazy that this is not easily found or published on the grails site.  There is an argument for using the maven site generator since this type of stuff can be found in a standard location in the site navigation.  Grails should take a lesson here, convention over configuration;)  (this is tongue in cheek)

Green Apple Barter - READ THE FINE PRINT

In my previous posts, I explained how I owed Green Apple Barter a good sum of money for doing pretty much nothing for my business.

I finally "did the math" and decided to end my relationship with Green Apple Barter, and make payment arrangements so that I could pay them what I owe them.  I called my rep and cancelled my membership and promised to pay 100 per month.

editing acquia theme

For the spotmouth.com site, I started by writing a new theme, but in the end, decided to just edit the acquia theme.  One issue that I had was that this theme uses some background images.  While I could  (and initially did) just edit the images to match the color scheme for my design, it didn't feel right.

I wanted to way a way in CSS to remove the background-image that the theme was setting.  I added the following to my local.css and VOILA, it worked:

 

phonegap deviceReady not called in android

I found several other folks via a google search that experience the same problem.  To summarize, the deviceReady function IS being called, it just is being called super-fast, before your handler is setup to respond to the event.

Here is how I fixed it for the spotmouth android app. I test for the presence of the navigator.device object.  If it's not there, I register my callback. If there is already present, than the deviceReady event has already been called, and I just call it myself.

Html:

<body onload="onBodyLoad()">

</body>

how to find out what version of websphere you are running

The information is output in the "SystemOut.log" file where the application server log files are.

 

WebSphere Platform 6.1 [ND 6.1.0.21 cf210844.13]  
Detailed IFix information: No IFixes applied to this build
Host Operating System is Linux, version 2.6.9-78.0.8.ELhugemem
Java version = 1.5.0, Java Compiler = j9jit23, Java VM name = IBM J9 VM

 

Best Java Memory Analysis Tool

Just wanted to give some good words to the SAP memory analyzer.  It's free, and definitely worked for me where a lot of other tools didn't

 

http://wiki.sdn.sap.com/wiki/display/Java/Java%20Memory%20Analysis

Disable SOP for GWT Learnings

What I have just learned is that I have been implementing all communication with my server using JSONPRequestBuilder in order to deal with SOP (Same Origin Policy) for no need. I could be just using RequestBuilder.

zero to full featured android app in just a few hours

Wow.  Phonegap is truly awesome.

For the past month+ (in weekends/evenings), I have been writing a GWT application that I have deployed as an iPhone application to PhoneGap.

Today, I started the process to "port" my application to android.  Just a few hours later, I am up and running my application in the emulator.  If I could have just known not to try generate the android application from the windows command line vs. cygwin, I could've been here in just an hour.

Application is looking good!  here is a screen shot.

phonegap and android

Following the installation guide to setup my first phonegap-based android project.  The most important thing I wish I had known is that the ruby script that you have to run (droidgap) will not run correctly in cygwin.  I tried (and tried), but once I switched to just a windows command console, it all worked fine.

If I commented out the "makejar" task in the droidgap script, it would work in cygwin.  I think, for whatever reason, invoking ant did from ruby did not work.  Of course I had ant, etc... all setup since that is my development environment.

clearcase checkout by label

They use clearcase in some places.  It took me a little longer to figure out how to get a version of the code that has been labeled.  Where here is a 3-liner that accomplished that for me.


element * CHECKEDOUT
element * YOUR_LABEL_HERE
load /YOUR_VOB_HERE
Syndicate content