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 6770597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:19:52+00:00 2026-05-26T15:19:52+00:00

How do I build an SWT application using the Eclipse P2 repository and the

  • 0

How do I build an SWT application using the Eclipse P2 repository and the Maven tycho-p2-plugin?

  • 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-26T15:19:53+00:00Added an answer on May 26, 2026 at 3:19 pm

    You can define the target environments for ‘target-platform-configuration’ plugin. Whatever you are building RCP or features for multiple environments, you can let your feature to include the fragments of swt for these hosts.

            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>target-platform-configuration</artifactId>
                <version>${tycho-version}</version>
                <configuration>
                    <resolver>p2</resolver>
                    <environments>
                        <environment>
                            <os>linux</os>
                            <ws>gtk</ws>
                            <arch>x86</arch>
                        </environment>
                        <environment>
                            <os>win32</os>
                            <ws>win32</ws>
                            <arch>x86</arch>
                        </environment>
                        <environment>
                            <os>solaris</os>
                            <ws>gtk</ws>
                            <arch>sparc</arch>
                        </environment>
                    </environments>
                </configuration>
            </plugin>
    

    Snippet in feature.xml

       <plugin
             id="org.eclipse.swt"
             download-size="0"
             install-size="0"
             version="0.0.0"
             unpack="false"/>
    
       <plugin
             id="org.eclipse.swt.gtk.linux.x86"
             os="linux"
             ws="gtk"
             arch="x86"
             download-size="0"
             install-size="0"
             version="0.0.0"
             fragment="true"
             unpack="false"/>
    
       <plugin
             id="org.eclipse.swt.win32.win32.x86"
             os="win32"
             ws="win32"
             arch="x86"
             download-size="0"
             install-size="0"
             version="0.0.0"
             fragment="true"
             unpack="false"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing an Eclipse SWT application using Eclipse. There are also some JUnit 4
my build.gradle looks like: apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'application' ......
I'm an Eclipse newbie and I'm trying to build a mixed AWT/SWT application. Here's
I'm trying to build a Mind Mapping application within GWT by using RDF to
I am using eclipse 3.5 (cocoa build) on Macos 10.5 with Java 1.5.0.19. I
When I launch an SWT application (via an Eclipse launch profile), I receive the
I have written a Java GUI using SWT. I package the application using an
I made simple jar for my java-application (build with SWT). In netbeans it starts
I want to build a Master-Detail layout for one of my applications using SWT.
We build software using Hudson and Maven. We have C#, java and last, but

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.