Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Combining buckminster actions
Combining buckminster actions [message #843080] Thu, 12 April 2012 15:09
Alex Kravets is currently offline Alex Kravets
Messages: 371
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
Previous Topic:Calling buckminster.clean before p2 in create.product
Next Topic:Sorry for multiple posts
Goto Forum:
  


Current Time: Thu Jul 24 13:59:36 EDT 2014

Powered by FUDForum. Page generated in 0.01749 seconds