ADT Not Working With Large Amount Of Files
Hi,
I posted a similar issue in the Flash Builder forum; it seems these tools are not meant for anything too big. Here is my problem; I have an application that runs on the iPad just fine, however I cannot seem to be able to package any of the resource files it uses, such as swf, xml, jpg, and flv. There are a lot of these files, maybe around a 1000. This app won't be on the AppStore and just used internally at my company. I tried to package it using Flash Builder, but it couldn't handle it, and so now I have tried the adt command line tool. The problem now is that it is running out of memory:
Exception in thread "main" java.lang.OutOfMemoryError
at java.util.zip.Deflater.init(Native Method)
at java.util.zip.Deflater.<init>(Unknown Source)
at com.adobe.ucf.UCFOutputStream.addFile(UCFOutputStream.java:428)
at com.adobe.air.ipa.IPAOutputStream.addFile(IPAOutputStream.java:338)
at com.adobe.ucf.UCFOutputStream.addFile(UCFOutputStream.java:273)
at com.adobe.ucf.UCFOutputStream.addFile(UCFOutputStream.java:247)
at com.adobe.air.ADTOutputStream.addFile(ADTOutputStream.java:367)
at com.adobe.air.ipa.IPAOutputStream.addFile(IPAOutputStream.java:161)
at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:67)
at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:163)
at com.adobe.air.ADT.parseArgsAndGo(ADT.java:504)
at com.adobe.air.ADT.run(ADT.java:361)
at com.adobe.air.ADT.main(ADT.java:411)
I tried increasing the java memory heap size to 1400m, but that did not help. What is disturbing though is why this day and age, the adt tool is written solely for 32 bit java runtimes, when you can no longer buy a 32bit computer. Almost everything is 64bit now. Being able to utilize a 64bit java runtime would eliminate this.
Has anyone else had to deal with packaging a large number of files within an iPad app?
thanks
