One of the requirements was an option to distribute large files via CD-ROM instead of downloading them to the offline environment. This meant that the files have to be saved directly into the Google Gears cache folder and make the appropriate entries in the Google Gears SQLite database. When the import is made, Google Gears will pick up the new files as if they were simply downloaded from the Sakai server.
A Java swing application was developed that could read a XML file on the CD-ROM and copy the required files to the correct browser locations. An export tool was developed in Sakai to generate the XML file and zip up the resources in the specific Sakai site.
The CD-ROM Sync application writes the large files directly into the Google Gears cache and database.