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

Bug 335532

Summary: launcher not available if wtp.site/build.xml called from standalone test
Product: [WebTools] WTP Releng Reporter: David Williams <david_williams>
Component: relengAssignee: David Williams <david_williams>
Status: RESOLVED FIXED QA Contact: David Williams <david_williams>
Severity: normal    
Priority: P3 Flags: david_williams: pmc_approved+
Version: unspecified   
Target Milestone: 3.10.0   
Hardware: PC   
OS: Windows 7   
Whiteboard: PMC_approved

Description David Williams CLA 2011-01-26 23:36:15 EST
One of the problems recently found in bug 303564 is that the "copy early" task "crashes" the script. And this isn't so much due to the "copy early" task, as it is we try and call an eclipse launcher, to run some secondary tasks, and there is no launcher where it thinks it should be, because there is no "basebuilder" installed (the standalone script skips the part of code where that normally happen). 

Easy enough to fix ... since we already have a task that (lazily) installs a basebuilder, if it is not already installed. 

    	 <ant antfile="${wtp.builder.home}/scripts/build/runbuild.xml"
    	      target="getBaseBuilder" />
Comment 1 David Williams CLA 2011-01-26 23:48:32 EST
Approving my own bug, as important to get this in a downloadable build. I did test locally and worked as expected.