Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to create update site without rebuilding all features?
How to create update site without rebuilding all features? [message #1852624] Fri, 27 May 2022 15:24 Go to next message
Denis Nikiforov is currently offline Denis NikiforovFriend
Messages: 344
Registered: August 2013
Senior Member
Hi

I have an application with a lot of features. I can add all these features to an update site project and build it. The problem is that all of the features has a new build date and all of them will be updated in the application.

Is it possible to create an update site without rebuilding all features? So only changed features are updated. For example https://download.eclipse.org/releases/2021-03/ contains bundles with different build dates. How to achieve it?
Re: How to create update site without rebuilding all features? [message #1852630 is a reply to message #1852624] Sat, 28 May 2022 05:44 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Mostly these days folks build with Maven/Tycho and build an update site with a category.xml. Tycho has things like this
        <plugin>
          <groupId>org.eclipse.tycho</groupId>
          <artifactId>tycho-packaging-plugin</artifactId>
          <version>${tycho-version}</version>
          <configuration>
            <format>'v'yyyyMMdd-HHmm</format>
            <sourceReferences>
              <generate>true</generate>
            </sourceReferences>
            <timestampProvider>jgit</timestampProvider>
            <jgit.ignore>pom.xml</jgit.ignore>
            <jgit.dirtyWorkingTree>warning</jgit.dirtyWorkingTree>
            <additionalFileSets>
              <fileSet>
                <directory>${project.build.outputDirectory}</directory>
                <includes>
                  <include>about.mappings</include>
                </includes>
              </fileSet>
            </additionalFileSets>
          </configuration>
which uses https://www.eclipse.org/tycho/sitedocs/tycho-packaging-plugin/build-qualifier-aggregator-mojo.html to compute the timestamp based on git commits in the tree...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How to create update site without rebuilding all features? [message #1852633 is a reply to message #1852630] Sat, 28 May 2022 12:23 Go to previous message
Denis Nikiforov is currently offline Denis NikiforovFriend
Messages: 344
Registered: August 2013
Senior Member
Thanks a lot! That's exactly what is needed!
Previous Topic:Global Key Interceptor
Next Topic:eclipse displaying IntelliJ icon
Goto Forum:
  


Current Time: Thu Apr 25 08:19:25 GMT 2024

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

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

Back to the top