Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 198559

Summary: basebuilder productBuild: VM arguments specified in .product file ignored for macosx
Product: [Eclipse Project] PDE Reporter: Sergey <Sergey.Armensky>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: aniefer, kim.moir
Version: 3.4   
Target Milestone: ---   
Hardware: All   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sergey CLA 2007-08-01 13:19:39 EDT
Build ID: 3.3

Steps To Reproduce:
use org.eclipse.releng.basebuilder, productBuild (org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build/scripts/productBuild/productBuild.xml):
1. open product configuration file (.product) in editor, add -Xms128m -Xmx1024m to Launching Arguments, All Platforms, VM Arguments
2. build product for macosx (macosx, carbon, ppc) with this .product file.
3. See "product.app\Contents\MacOS\product.ini" file in product build (product-buildId-macosx.carbon.ppc.tar.gz): vm arguments are -Xms40m -Xmx256m. VM arguments specified in product configuration file ignored.

maybe the problem is in org.eclipse.pde.internal.build.BrandingIron#copyMacIni.

note that product/features/org.eclipse.pde.build.container.feature/productRootFiles/macosx.carbon.ppc/product.app/Contents/MacOS/product.ini file has correct vm arguments taken from .product file
Comment 1 Kim Moir CLA 2007-08-02 16:08:10 EDT
org.eclipse.releng.basebuilder is just a convenience project for releng teams.  

Moving to pde build for reported issues while building with a .product file.
Comment 2 Andrew Niefer CLA 2007-11-13 17:24:07 EST

*** This bug has been marked as a duplicate of bug 174107 ***
Comment 3 Sergey CLA 2008-03-14 12:34:06 EDT
Eclipse 3.4M5: fixed in export product wizard (Export | Eclipse Product) for macosx/carbon/ppc.
But doesn't work in org.eclipse.releng.basebuilder (-r M5_34) for macosx/carbon/ppc.
Comment 4 Andrew Niefer CLA 2010-06-18 11:57:41 EDT

*** This bug has been marked as a duplicate of bug 234032 ***