Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to change plugin version automaticly?
How to change plugin version automaticly? [message #480132] Fri, 14 August 2009 02:26 Go to next message
Eclipse UserFriend
Originally posted by: zhiwei.ecquaria.com

Our product's client have 10+ plugins,so I create feature&site for them.
the problem is when I upgrade version(e.g. from 1.0.1 to 1.0.2),I have
to change the 10+ plugins manually 1st,then change feature&site's version,
then can rebuild the site.
So my question is 'Is there a way can do it automaticly?'

Another problem is for buildid,when I use site project build,how to create
a dynamic buildid for the product?

PS.I think the eclipse should have the same problem when release a new
version.
Eclipse project how to handle it?
Re: How to change plugin version automaticly? [message #480164 is a reply to message #480132] Fri, 14 August 2009 08:21 Go to previous messageGo to next message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
You can always use java.util.Manifest to manipulate the manifest files
of the plugin projects to set the plugin ID.

Steffen

zhiwei wrote:
> Our product's client have 10+ plugins,so I create feature&site for them.
> the problem is when I upgrade version(e.g. from 1.0.1 to 1.0.2),I have
> to change the 10+ plugins manually 1st,then change feature&site's
> version,
> then can rebuild the site.
> So my question is 'Is there a way can do it automaticly?'
>
> Another problem is for buildid,when I use site project build,how to
> create a dynamic buildid for the product?
>
> PS.I think the eclipse should have the same problem when release a new
> version.
> Eclipse project how to handle it?
>
Re: How to change plugin version automaticly? [message #480213 is a reply to message #480132] Fri, 14 August 2009 12:09 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Because in eclipse code changes determine the version numbers - http://wiki.eclipse.org/Version_Numbering changing the code in a new stream implies manually changing the version numbers.

Are you supplying code fixes in your 1.0.1->1.0.2 upgrade?

In eclipse, all manifests contain entries like: 1.0.1.qualifier

During builds or exports, eclipse/PDE will replace the qualifier (usually with something like v20090814) so that during development, this week's build has a greater version number than last week's build.

All this to say, in eclipse we manually change 1.0.0 to 1.0.1 when we update the code in the new stream.

PW


Re: How to change plugin version automat icly? [message #480409 is a reply to message #480213] Mon, 17 August 2009 01:43 Go to previous message
Eclipse UserFriend
Originally posted by: zhiwei.ecquaria.com

As I saw,in most eclipse project.there are something like "Build id: {0}"
in
about.properties.so I dont know when I build site.xml,how could I let the
{0}
be a real build id.e.g. '200908171211'(the value=real build time)?
Previous Topic:[CommonNavigator] Best way to decorate when resource marker change
Next Topic:Re: Public API To Get The Web Browser Editor ID?
Goto Forum:
  


Current Time: Tue Apr 23 17:34:55 GMT 2024

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

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

Back to the top