genevaers / Workbench

GenevaERS Workbench
Apache License 2.0
3 stars 2 forks source link

add deletion of zip file to build.sh #133

Open KipTwitchell opened 2 months ago

KipTwitchell commented 2 months ago

The problem happens periodically. A simple delete of the zip file before executing the build would prevent it.

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:2.5.0:archive-repository (default-archive-repository) on project wb: Error packing p2 repository: Problem creating zip: Execution exception (and the archive is probably corrupt but I could not delete it): Java heap space -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

KipTwitchell commented 2 months ago

[INFO] --- tycho-p2-director-plugin:2.5.0:archive-products (archive-products) @ wb --- [INFO] Building zip: C:\Users\0D8297897\Workspace\Workbench\products\com.ibm.safr.we.product\target\products\wb-win32.win32.x86_64.zip [INFO] Building zip: C:\Users\0D8297897\Workspace\Workbench\products\com.ibm.safr.we.product\target\products\wb-macosx.cocoa.x86_64.zip

KipTwitchell commented 2 months ago

Problem is int he Tycho build of the zip file, not the deletion of an existing file.

hammyau commented 2 months ago

I think the target is cleaned before a build. So won't need to delete. We can also drop the mac build? Of make it optional via profile.