Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Tycho » Naming of generated .zip files from product
Naming of generated .zip files from product [message #646534] Tue, 28 December 2010 09:07 Go to next message
Holger Staudacher is currently offline Holger StaudacherFriend
Messages: 166
Registered: July 2009
Senior Member
Hi all,
I'm currently creating the build for the proposed eclipse RTP project.
So, first of all I want to say that it's pretty easy to create an
eclipse based build with tycho, good job!

But I'm stumbling with one issue regarding the naming of the created
product .zip files. i can explain this using the tycho-demo/itp04-rcp
example. When you run this build two zip file will be created. The name
of one of this files is:

example.product.id-linux.gtk.x86.zip

That's not what I need for my zip files. I need a format like this:

example.product.id-<version>-<buildType>-incubation-linux.gtk.x86-.zip

I searched a while for a solution but I can't find one. Can somebody
tell me how to affect the name of this archived zip files? Thanks in
advance.

Regards Holger

--
--
Holger Staudacher | EclipseSource Karlsruhe

Need professional support for RAP and RCP?
Go to: http://eclipsesource.com/support
Twitter : @hstaudacher
Blog : http://eclipsesource.com/blogs/tag/rap/
Re: Naming of generated .zip files from product [message #647899 is a reply to message #646534] Mon, 10 January 2011 10:40 Go to previous messageGo to next message
Jan Sievers is currently offline Jan SieversFriend
Messages: 23
Registered: July 2009
Junior Member
for now you will have to rename the zip file in a post-build step (e.g.
using maven antrun plugin).

Not sure if we should make this configurable as we have potentially several
products and file names have to be unique across all configured
environments.
Once installed/deployed to a maven repo, the file name is always changed
anyway by maven to standard

<artifactid>-<version>-<classifier>.<extension>

which can't be configured as this is how maven locates artifacts.

Best Regards,
Jan

"Holger Staudacher" <hstaudacher@eclipsesource.com> wrote in message
news:ifc92n$g9m$1@news.eclipse.org...
> Hi all,
> I'm currently creating the build for the proposed eclipse RTP project. So,
> first of all I want to say that it's pretty easy to create an eclipse
> based build with tycho, good job!
>
> But I'm stumbling with one issue regarding the naming of the created
> product .zip files. i can explain this using the tycho-demo/itp04-rcp
> example. When you run this build two zip file will be created. The name of
> one of this files is:
>
> example.product.id-linux.gtk.x86.zip
>
> That's not what I need for my zip files. I need a format like this:
>
> example.product.id-<version>-<buildType>-incubation-linux.gtk.x86-.zip
>
> I searched a while for a solution but I can't find one. Can somebody tell
> me how to affect the name of this archived zip files? Thanks in advance.
>
> Regards Holger
>
> --
> --
> Holger Staudacher | EclipseSource Karlsruhe
>
> Need professional support for RAP and RCP?
> Go to: http://eclipsesource.com/support
> Twitter : @hstaudacher
> Blog : http://eclipsesource.com/blogs/tag/rap/
>
Re: Naming of generated .zip files from product [message #647900 is a reply to message #647899] Mon, 10 January 2011 10:47 Go to previous messageGo to next message
Holger Staudacher is currently offline Holger StaudacherFriend
Messages: 166
Registered: July 2009
Senior Member
Hi Jan,
thanks for your answer. I solved teh problem using the maven assembly plugin.

Regards Holger



On 2011-01-10 11:40:39 +0100, "Jan Sievers" <jan.sievers@sap.com> said:

> for now you will have to rename the zip file in a post-build step (e.g.
> using maven antrun plugin).
>
> Not sure if we should make this configurable as we have potentially several
> products and file names have to be unique across all configured
> environments.
> Once installed/deployed to a maven repo, the file name is always changed
> anyway by maven to standard
>
> <artifactid>-<version>-<classifier>.<extension>
>
> which can't be configured as this is how maven locates artifacts.
>
> Best Regards,
> Jan
>
> "Holger Staudacher" <hstaudacher@eclipsesource.com> wrote in message
> news:ifc92n$g9m$1@news.eclipse.org...
>> Hi all,
>> I'm currently creating the build for the proposed eclipse RTP project. So,
>> first of all I want to say that it's pretty easy to create an eclipse
>> based build with tycho, good job!
>>
>> But I'm stumbling with one issue regarding the naming of the created
>> product .zip files. i can explain this using the tycho-demo/itp04-rcp
>> example. When you run this build two zip file will be created. The name of
>> one of this files is:
>>
>> example.product.id-linux.gtk.x86.zip
>>
>> That's not what I need for my zip files. I need a format like this:
>>
>> example.product.id-<version>-<buildType>-incubation-linux.gtk.x86-.zip
>>
>> I searched a while for a solution but I can't find one. Can somebody tell
>> me how to affect the name of this archived zip files? Thanks in advance.
>>
>> Regards Holger
>>
>> --
>> --
>> Holger Staudacher | EclipseSource Karlsruhe
>>
>> Need professional support for RAP and RCP?
>> Go to: http://eclipsesource.com/support
>> Twitter : @hstaudacher
>> Blog : http://eclipsesource.com/blogs/tag/rap/


--
--
Holger Staudacher | EclipseSource Karlsruhe

Need professional support for RAP and RCP?
Go to: http://eclipsesource.com/support
Twitter : @hstaudacher
Blog : http://eclipsesource.com/blogs/tag/rap/
Re: Naming of generated .zip files from product [message #655357 is a reply to message #647900] Sat, 19 February 2011 19:39 Go to previous messageGo to next message
Werner Keil is currently offline Werner KeilFriend
Messages: 1083
Registered: July 2009
Senior Member
Holger/Jan,

Can you point us to where RTP is exactly using this? I have so far seen no
further update on my question regarding the examples or automatically
deploying to an update site from Maven/Hudson with Tycho.

It works rather well manually for UOMo and the feature is also visually
integrated with Eclipse now, but having either the ZIP archive of that
feature or an update site built by Hudson would be great.

TIA,
Werner Keil | UOMo Lead
Re: Naming of generated .zip files from product [message #655467 is a reply to message #655357] Mon, 21 February 2011 09:04 Go to previous message
Holger Staudacher is currently offline Holger StaudacherFriend
Messages: 166
Registered: July 2009
Senior Member
Hi Werner,
RTP uses the assembly plugin to name the zip files and exclude some
files from the product during the install phase.

Just take a look at the pom.xml of the products in our repository:
http://git.eclipse.org/c/rtp/org.eclipse.rtp.git/

Hope this helps,

Regards Holger



On 2011-02-19 21:09:03 +0100, "Werner Keil" <werner.keil@gmx.net> said:

> Holger/Jan,
>
> Can you point us to where RTP is exactly using this? I have so far seen
> no further update on my question regarding the examples or
> automatically deploying to an update site from Maven/Hudson with Tycho.
>
> It works rather well manually for UOMo and the feature is also visually
> integrated with Eclipse now, but having either the ZIP archive of that
> feature or an update site built by Hudson would be great.
>
> TIA,
> Werner Keil | UOMo Lead


--
--
Holger Staudacher | EclipseSource Karlsruhe

Need professional support for RAP and RCP?
Go to: http://eclipsesource.com/support
Twitter : @hstaudacher
Blog : http://eclipsesource.com/blogs/tag/rap/
Previous Topic:Building Plugin-Examples with Tycho
Next Topic:Making Tycho work with a different manifest.mf location
Goto Forum:
  


Current Time: Sun Nov 23 22:31:56 GMT 2014

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

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