Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6961967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:35:56+00:00 2026-05-27T15:35:56+00:00

I changed my Tycho+Maven build (RCP application) to use Tycho 0.13 and eclipse-repository plus

  • 0

I changed my Tycho+Maven build (RCP application) to use Tycho 0.13 and eclipse-repository plus tycho-p2-director-plugin (instead of my old “eclipse-application” in Tycho 0.10).
I managed to get the build working (producing the ZIP files), but they are 2 times bigger than they used to be.
I see Tycho puts a lot of additional stuff my product does not need:
1) “p2” folder at the root level – 35 Mb.
2) a lot of useless plugins, like

plugins/org.eclipse.jdt.debug_3.6.1.v20100715_r361
plugins/org.eclipse.pde.build_3.6.2.R36x_20110203
plugins/org.junit_4.8.1.v4_8_1_v20100427-1100
......etc.........

how to configure “eclipse-repository” and “tycho-p2-director-plugin” to avoid this? At least to not put “p2” folder in the product. My software does not use “p2 update” mechanism for auto-updates.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:35:57+00:00Added an answer on May 27, 2026 at 3:35 pm

    I ended up removing “archive-products” completely – it’s not flexible and requires a lot of horrible hacking with unpacking/repacking/renaming. I’m packing the ZIP files myself now:

    <properties>
       <distributive.prefix>${project.build.directory}/products/taskadapter</distributive.prefix>
       <exclude_p2>**/p2/**</exclude_p2>
    </properties>
    
    <build>
        <plugins>
            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>tycho-p2-director-plugin</artifactId>
                <version>${tycho.version}</version>
                <executions>
                    <execution>
                        <id>materialize-products</id>
                        <goals>
                            <goal>materialize-products</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
    
            <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.7</version>
                <executions>
                    <execution>
                        <id>create-zip-files</id>
                        <phase>package</phase>
                        <configuration>
                            <target> 
                                <zip basedir="${distributive.prefix}/win32/win32/x86" 
                                     destfile="${project.build.directory}/taskadapter-win-${project.version}.zip"
                                     excludes="${exclude_p2}" />
                                <zip basedir="${distributive.prefix}/linux/gtk/x86" 
                                     destfile="${project.build.directory}/taskadapter-linuxgtk-${project.version}.zip"
                                     excludes="${exclude_p2}" />
                                <zip basedir="${distributive.prefix}/macosx/cocoa/x86" 
                                     destfile="${project.build.directory}/taskadapter-macos-${project.version}.zip"
                                     excludes="${exclude_p2}" />
                            </target>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I changed all my static content references to use the static. subdomain instead of
I changed my Django application to use SQLAlchemy, and it works now. But I'm
I changed my .autotest file to use it with a Ruby-based project. After that,
Delphi 2009 has changed its string type to use 2 bytes to represent a
I changed some code on an android application that was working perfectly fine at
I changed my class to use std::string (based on the answer I got here
Scenario: Repository structure changed from /trunk/ to /projectName/trunk/ and the local copy is outdated
I changed a file locally and then I updated the repository and someone else
I changed the build action of my App.xaml to Page so I could handle
I changed my Application's icon for a new one, by going to: Project/MyProject Properties/Icon

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.