Here's the ivy upgrade patch.
After applying this patch, you need to do
rm -rf .ant
Otherwise you'll get a build error from your old cached ivy version. This is necessary regardless of whether you're using offline mode or not. Once this patch is committed, I'll broadcast a notice to that effect to hive-dev.
Besides the ivy upgrade, here are some other notes on the change:
- In online mode (the default), everything should continue to work exactly as before (ant clean will blow away the entire build directory)
- In offline mode, ant clean will leave behind build/ivy (deleting everything else under build) to avoid the need to re-download ivy on the next sync
- In offline mode, on the first "ant package" after "ant clean", ant will re-expand archives from the ~/.ant/cache into the build dir, thus avoiding a download, although it will still exchange a few messages with remote repos--but if the remote repos are not available, it will keep going with warnings, so once you've downloaded everything, you can go off the grid to hack away disconnected while still using ant clean as needed
- In offline mode, repeated execution of "ant package" (without "ant clean" in the middle) will skip ivy entirely, same as before this patch