Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Combining buckminster actions(calling buckminster.clean before p2 in create.product)
Combining buckminster actions [message #843066] Thu, 12 April 2012 19:07
Alex Kravets is currently offline Alex Kravets
Messages: 383
Registered: November 2009
Senior Member
Hi,

I wanted to consolidate actions so that buckminster.clean runs before p2 is called in create.product in IDE. 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 check to see if workspace is build (if possible) before p2 starts.

Thanks,
Alex
Previous Topic:buckminster.home is not a directory error
Next Topic:Combining buckminster actions
Goto Forum:
  


Current Time: Tue Sep 30 20:05:26 GMT 2014

Powered by FUDForum. Page generated in 0.02192 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software