I have a very large document library containing 30K+ documents that are part of a document management AIR app.
Seems that compiling the documents into the App is pushing the envelope. Compiling becomes unweildy.
What other options are there for getting the document folder into local store after the AIR app installation ?
Obvious I would prefer that AIR handle that process barring that what other tools/options are viable ?
What is the total size of the documents?
There are 30K files 2.6GB.
A side note perhaps another separate issue is the during the launch of the App I copy these into the Local Store directory and then invoke a call to open and read several of the sqlite database indices. During this process it throws an error that the database is malformed. My suspicion is that all the files have not completed being copied when the databases are attempted to being read.
Is there a way to watch for the completion of the copyTo() method before attempting to read the databases ?