Adding product version number in exported product zip file [message #499153] |
Fri, 20 November 2009 07:48 |
Bjoern Berg Messages: 47 Registered: November 2009 Location: Essen |
Member |
|
|
Hello,
I was wondering if it is possible to automaticllay add the version number of the product configuration to the exported zip file if you use PDE headless build, so that you get something like
$product-$version-win32.win32.x86.zip
I had a look at the documentation and googled the web but couldn't find a hint.
Maybe someone has an idea how to do the job.
Thanks in advance
Bjoern
[Updated on: Fri, 20 November 2009 07:50] Report message to a moderator
|
|
|
|
|
Re: Adding product version number in exported product zip file [message #501001 is a reply to message #500127] |
Mon, 30 November 2009 16:17 |
Eclipse User |
|
|
|
Originally posted by: cjcool.comcast.net
Hi Bjoern:
In my build.xml file, I create a variable to contain the name and version of
my product:
<property name="archivePrefix"
value="MyProduct-${buildVersion}-I${DSTAMP}"/>
When calling the productBuild.xml builder, I pass the archive name prefix in
as a command line argument:
<arg value="-DarchiveNamePrefix=${archivePrefix}"/>
And in my builder's build.properties file, I use the variable to set the
archiveNamePrefix property:
archiveNamePrefix=${archiveNamePrefix}
I am using Galileo.
Chris
"Bjoern Berg" <rollin.hand@gmx.de> wrote in message
news:heijns$mk6$1@build.eclipse.org...
> Hi Andrew,
>
> as I mentioned in my post, I use a headless build, but don't have a clue
> how to get the product version number into my zip files name.
>
> Bjoern
|
|
|
|
Re: Adding product version number in exported product zip file [message #603713 is a reply to message #603595] |
Mon, 30 November 2009 16:17 |
Eclipse User |
|
|
|
Originally posted by: cjcool.comcast.net
Hi Bjoern:
In my build.xml file, I create a variable to contain the name and version of
my product:
<property name="archivePrefix"
value="MyProduct-${buildVersion}-I${DSTAMP}"/>
When calling the productBuild.xml builder, I pass the archive name prefix in
as a command line argument:
<arg value="-DarchiveNamePrefix=${archivePrefix}"/>
And in my builder's build.properties file, I use the variable to set the
archiveNamePrefix property:
archiveNamePrefix=${archiveNamePrefix}
I am using Galileo.
Chris
"Bjoern Berg" <rollin.hand@gmx.de> wrote in message
news:heijns$mk6$1@build.eclipse.org...
> Hi Andrew,
>
> as I mentioned in my post, I use a headless build, but don't have a clue
> how to get the product version number into my zip files name.
>
> Bjoern
|
|
|
Powered by
FUDForum. Page generated in 0.05439 seconds