Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Custom zip filename in CSPECX
Custom zip filename in CSPECX [message #516199] Tue, 23 February 2010 07:52
Philipp Nanz is currently offline Philipp NanzFriend
Messages: 46
Registered: February 2010
Member
Hi folks,

I finally got my RCP app to work with hudson and buckminster headless Smile

It currently produces files such as:
mailapp-gtk.linux.x86.zip
mailapp-gtk.linux.x86_64.zip
mailapp-win32.win32.x86.zip
mailapp-win32.win32.x86_64.zip

Now I would like to extend the filename with the qualifier, i.e.
mailapp-201002230842-win32.win32.x86_64.zip

Is that possible? And if so, is there a reference available of what variables are supported in cspecx?

Thanks in advance!
Kind regards,
Philipp

<?xml version="1.0" encoding="UTF-8"?>
<cspecExtension
	xmlns:com="http://www.eclipse.org/buckminster/Common-1.0"
	xmlns="http://www.eclipse.org/buckminster/CSpec-1.0">

	<actions>
		<public name="create.product" actor="ant">
            <actorProperties>
                <property key="buildFile" value="build/product.ant"/>
                <property key="targets" value="create.product"/>
            </actorProperties>
            <properties>
                <property key="profile" value="XXXProfile"/>
                <property key="iu" value="xxx.rcp.product"/>
            </properties>
			<prerequisites alias="repository">
				<attribute name="site.p2"/>
			</prerequisites>
            <products alias="destination" base="${buckminster.output}">
            	<path path="xxx-${target.ws}.${target.os}.${target.arch}/"/>
            </products>
		</public>
		<public name="create.product.zip" actor="ant">
            <actorProperties>
                <property key="buildFileId" value="buckminster.pdetasks"/>
                <property key="targets" value="create.zip"/>
            </actorProperties>
			<prerequisites alias="action.requirements">
				<attribute name="create.product"/>
			</prerequisites>
            <products alias="action.output" base="${buckminster.output}">
            	<path path="xxx-${target.ws}.${target.os}.${target.arch}.zip"/>
            </products>
		</public>
	</actions>
</cspecExtension>

Previous Topic:Product export fails for macosx / cocoa / x86 with Buckminster 3.6 (FileNotFoundException: /tmp/p2.b
Next Topic:headless buckminster and silent fail
Goto Forum:
  


Current Time: Fri Apr 26 22:54:31 GMT 2024

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

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

Back to the top