Upgrading from 2010 to 2010 SP1 causes build error with respect to merge modules
I have installers that import a merge module via Organization > Modules. They were created with 2010. I resaved them (merge module, installers) with 2010 SP1. The module uses custom code panels, rules and such which are stored in a jar file. Now the module builds fine. But when I build the installer that uses the module, I get errors like these in the build log (I've edited out certain internal company info with "..."):
... There was an I/O error storing the classes.
... There was an I/O error storing the classes.
... There was an I/O error storing the classes.
I also see this java exception:
java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(Unknown Source) at java.util.zip.ZipFile.(Unknown Source) at com.zerog.ia.installer.actions.CustomActionBase.a(DashoA10*..) at com.zerog.ia.installer.actions.CustomActionBase.a(DashoA10*..) at com.zerog.ia.installer.actions.CustomActionBase.zipCustomCodeSelf(DashoA10*..) at com.zerog.ia.installer.InstallPiece.zipCustomCode(DashoA10*..) at com.zerog.ia.installer.InstallPiece.zipCustomCode(DashoA10*..) at com.zerog.ia.designer.build.ZipToUtility.a(DashoA10*..) at com.zerog.ia.designer.build.ZipToUtility.installerZipCustomCode(DashoA10*..) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.zerog.ia.installer.Installer.zipCustomCode(DashoA10*..) at ZeroGl6.a(DashoA10*..) at ZeroGl6.a(DashoA10*..) at ZeroGl6.a(DashoA10*..) at ZeroGmq.a5(DashoA10*..) at ZeroGmx.at(DashoA10*..) at ZeroGmq.an(DashoA10*..) at ZeroGl6.a(DashoA10*..) at ZeroGmi.run(DashoA10*..)
[[CODE]buildinstaller] java.io.FileNotFoundException: M:\mmthumar_icr_2.0_post_Aug_3\icrvob1\Components\Installer\InstallAnywh ereProject\ICR\mergeResources\ICRAdmin_1291886643417\c1f12d454658cd5c1abe39af2014ca5b\installer.jar (The system cannot f ind the file specified) [buildinstaller] at java.util.zip.ZipFile.open(Native Method) [buildinstaller] at java.util.zip.ZipFile.(Unknown Source) [buildinstaller] at java.util.zip.ZipFile.(Unknown Source) [buildinstaller] at com.zerog.ia.installer.actions.CustomActionBase.a(DashoA10*..) [buildinstaller] at com.zerog.ia.installer.actions.CustomActionBase.b(DashoA10*..) [buildinstaller] at com.zerog.ia.installer.actions.CustomActionBase.zipCustomCodeSelf(DashoA10*..) [buildinstaller] at com.zerog.ia.installer.actions.InstallConsoleAction.zipCustomCodeSelf(DashoA10*..) [buildinstaller] at com.zerog.ia.installer.InstallPiece.zipCustomCode(DashoA10*..) [buildinstaller] at com.zerog.ia.installer.InstallPiece.zipCustomCode(DashoA10*..) [buildinstaller] at com.zerog.ia.installer.InstallPiece.zipCustomCode(DashoA10*..) [buildinstaller] at com.zerog.ia.installer.InstallPiece.zipCustomCode(DashoA10*..) [buildinstaller] at com.zerog.ia.installer.InstallPiece.zipCustomCode(DashoA10*..) [buildinstaller] at com.zerog.ia.designer.build.ZipToUtility.a(DashoA10*..) [buildinstaller] at com.zerog.ia.designer.build.ZipToUtility.installerZipCustomCode(DashoA10*..) [buildinstaller] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [buildinstaller] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [buildinstaller] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [buildinstaller] at java.lang.reflect.Method.invoke(Unknown Source) [buildinstaller] at com.zerog.ia.installer.Installer.zipCustomCode(DashoA10*..) [buildinstaller] at ZeroGl6.a(DashoA10*..) [buildinstaller] at ZeroGl6.a(DashoA10*..) [buildinstaller] at ZeroGl6.a(DashoA10*..) [buildinstaller] at ZeroGl6.a(DashoA10*..) [buildinstaller] at ZeroGl6.bp(DashoA10*..) [buildinstaller] at ZeroGl6.a(DashoA10*..) [buildinstaller] at ZeroGmi.run(DashoA10*..) [buildinstaller] (ELAPSED TIME): 0.047 seconds. [buildinstaller] uninstallerResources not valid zip. May have had no entries, so will not be bundled.[/CODE]
I am building merge module separately which works fine. When import that merge module in Suite installer and then try to build from IA ui, it gives error to relocate installer.jar file. After pointing to correct path even it works fine in UI mode.
Now issue is only with Ant script mode. I am facing issue only with console mode.
Deadly blocked at this point. Appreciate help in advance.
I have hotfix A and this is happening to me. It seems that if I define IA_MERGE_RESOURCES then it sometimes doesn't happen. But other times defining that variable makes other things break.
I don't know what I did to make this start happening again. It was not bothering me for a long time and now that I have a deadline it is cropping up unpredictably.
$IA_MERGE_RESOURCES$\ecc-backup-uninstall_1307153900240\bad7edb57db079b7f4823e04e2cd5b8f There was an I/O error storing the classes.