Not enough jokes on this list. Please forgive this if you disagree.

Q: How do you know you're hip-deep in migrating to 2.2?
A: `alias jj='ant compile 2>&1 | more'`

Ha ha ha thunk. OK I won't make this an entire waste of bandwidth, maybe somebody else appreciate a clue about sed? Quite helpful:

sed s/org.apache.turbine.om.NumberKey/org.apache.torque.om.NumberKey/

...as part of a crummy throw-away shell, like the following (improvements are left as an exercise for the reader, heh):

#!/bin/bash
for file in `find . -name "*.java"` ; do
mv $file $file.21
cat $file.21 | sed s/org.apache.turbine.om.NumberKey/org.apache.torque.om.NumberKey/ > $file
rm $file.21
done

Of course this does nothing for the migration away from NumberKey itself. Or the migration to List from Vector. Youch. Back to work... it seems to be going well!

--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to