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

Bug 217483

Summary: Ant importExistingProjects task does not build projects
Product: z_Archived Reporter: Joel Cayne <jcayne>
Component: TPTPAssignee: Paul Slauenwhite <paulslau>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: paulslau
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 295759    

Description Joel Cayne CLA 2008-02-01 13:18:19 EST
Importing a set of projects with the importExistingProjects ASF Ant task does not build all the projects in the workspace.

Example:
<tptp:importExistingProjects>
    <fileset dir="${tptp.test.workspace}">
       <include name="**/*.project"/>
    </fileset>
</tptp:importExistingProjects>
Comment 1 Paul Slauenwhite CLA 2008-02-01 15:05:15 EST
Required for the Test Automation Initiative.
Comment 2 Paul Slauenwhite CLA 2008-02-01 15:22:13 EST
The problem is that when the project is imported, it is opened but that action only causes a non-blocking build.  Once the import operation completes, the service terminates, as does the building.  This is programmatic for large imports since the import service is much faster than the building.  The fix is force a blocking build.

org.eclipse.hyades.test.tools.core.services.ImportExistingProjects.java checked in to CVS (HEAD).



Comment 3 Joel Cayne CLA 2008-02-11 10:31:12 EST
Verified on TPTP-4.5.0-200802100400.