Skip to main content



      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 11:24 Go to next message
Eclipse UserFriend
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 01:44 Go to previous messageGo to next message
Eclipse UserFriend
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...
Re: How to create update site without rebuilding all features? [message #1852633 is a reply to message #1852630] Sat, 28 May 2022 08:23 Go to previous message
Eclipse UserFriend
Thanks a lot! That's exactly what is needed!
Previous Topic:Global Key Interceptor
Next Topic:eclipse displaying IntelliJ icon
Goto Forum:
  


Current Time: Fri Apr 18 13:33:09 EDT 2025

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

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

Back to the top