#!/bin/bash # Generate a java file providing the mapping of class name to xml file # name that Android's system requires but doesn't provide. I hate # leaving that sort of thing to chance. mkClass() { XMLFILE=$1 NAME=${XMLFILE/.xml/} cat <