Calling buckminster.clean before p2 in create.product [message #843069] |
Thu, 12 April 2012 19:08 |
Alex Kravets Messages: 561 Registered: November 2009 |
Senior Member |
|
|
Hi,
I wanted to consolidate buckminster.clean so it runs before p2 is called in create.product. I got this:
<public name="clean.p2.create" actor="ant">
<actorProperties>
<property key="buildFile" value="build/product.ant" />
<property key="targets" value="create.product" />
</actorProperties>
<properties>
<property key="profile" value="iitProfile" />
<property key="iu" value="com.iwaysoftware.integration.tools.product" />
</properties>
<prerequisites alias="repository">
<attribute name="buckminster.clean" />
<attribute name="site.p2" />
</prerequisites>
<products alias="destination" base="${buckminster.output}">
<path path="eclipse/" />
</products>
</public>
This works as expected - buckminster.clean is called before p2. However, I think what happens is after clean is done p2 is executed write away and workspace is still building, so I get bunch of errors related to this. I think that's the reason.
Has anybody done what I am trying to do? It looks like there needs to be a call to check if workspace is build, if possible, before p2 starts.
Thanks,
Alex
|
|
|
Powered by
FUDForum. Page generated in 0.02855 seconds