Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 237747 - PDE headless build fails for config "win32, win32, x86_64"
Summary: PDE headless build fails for config "win32, win32, x86_64"
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4.1   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-19 03:38 EDT by Christian Ernst CLA
Modified: 2008-07-09 17:47 EDT (History)
2 users (show)

See Also:


Attachments
Fixed allElements.xml (4.75 KB, text/xml)
2008-06-19 03:39 EDT, Christian Ernst CLA
no flags Details
patch (9.76 KB, patch)
2008-07-09 17:46 EDT, Andrew Niefer CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ernst CLA 2008-06-19 03:38:07 EDT
The headless build via the ANT files provided in org.eclipse.pde.build/scripts/productBuild/productBuild.xml
fail if the target config is Windows 64 bit ( -Dconfig= "win32, win32, x86_64" )

-------------------------------------------
     [java] Target "assemble.org.eclipse.pde.build.container.feature.win32.win32.x86_64" does not exist in the project "
Build specific targets and properties".
-------------------------------------------


It seems that the org.eclipse.pde.build/scripts/productBuild/allElements.xml misses following block for the now with Eclipse 3.4 supported Windows 64 platform:
-----------------------

<target name="assemble.org.eclipse.pde.build.container.feature.win32.win32.x86_64">
 		<ant antfile="${assembleScriptName}" dir="${buildDirectory}">			
 			<property name="archiveName" value="${archiveNamePrefix}-win32.win32.x86_64.zip"/>
		</ant>

 	</target>
-----------------------
Comment 1 Christian Ernst CLA 2008-06-19 03:39:50 EDT
Created attachment 105380 [details]
Fixed allElements.xml
Comment 2 Andrew Niefer CLA 2008-06-19 10:48:19 EDT
The allElements.xml is also missing other platforms such as win32.wpf.x86 and hpux.motif.ia64_32

We should change the allElements.xml to support the new defaultAssemble target as in templates/headless-build/allElements.xml

This way, in the future, if certain platforms are missing, they will just use the default target.
Comment 3 Andrew Niefer CLA 2008-07-09 17:46:28 EDT
Created attachment 107017 [details]
patch

Patch (with test) migrates productBuild/allElements.xml to new defaultAssembly format.  Any configs not explicitly listed will use the default target instead.
Comment 4 Andrew Niefer CLA 2008-07-09 17:47:41 EDT
done in HEAD & 3.4.1