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

  • SEARCH
  • Home
  • 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 6196451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:38:45+00:00 2026-05-24T03:38:45+00:00

With the p2 ant tasks , it’s pretty simple to mirror the plugins for

  • 0

With the p2 ant tasks, it’s pretty simple to mirror the plugins for a feature.

But how do I mirror everything necessary to install a feature?

  • 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-24T03:38:46+00:00Added an answer on May 24, 2026 at 3:38 am

    Couldn’t get p2.mirror working; the task either mirrors too much (like all versions of a feature even if you’re only interested in the last or a specific one) and/or too little (like just the feature but none of the dependencies).

    My solution was like this:

    1. Unpack Eclipse to eclipse-template
    2. Create a copy as eclipse-install
    3. Install the feature in eclipse-install
    4. Delete any file in the copy which exists in the version from step #1 (cd eclipse-template ; find . -type f -exec rm "../eclipse-install/{}").

    That leaves you with the feature and plugin files. Use org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher to turn that into a p2 repo (see the docs for details).

    [UPDATE 2011-11-01] There is another solution if you don’t need to run this from the command line.

    1. Create a “Target Definition” in an Eclipse project (create a new one or use an existing one, doesn’t matter)
    2. Add update sites to this *.target file
    3. Select the features you want
    4. Click on the tiny “Export” button in the top right corner of the Target Definition Editor (next to “Set as Target Platform”)

    That will export all the selected features with the exact version that you selected plus all dependencies in a folder of your choice.

    The target editor is a bit clumsy and slow but it works.

    Keep the file under version control because the target editor sometimes messes up.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know of a simple web app that supports running ant tasks? Alternatively
I wish to use the Tomcat install/deploy tasks from catalina-ant.jar to deploy a webapp
In my Ant script, i'm using the Maven Ant tasks to install an artifact
We have tried using ant ftp tasks, but could not get it working like
Some tasks in Ant have some pretty strange behavior. For example, javac silently ignores
How would you execute ant tasks at different phases in a maven build cycle?
Are there any tools/ ant tasks that could be integrated into the ant build
When declaring external ant tasks using taskdef, for instance ant-contrib, the proposed setup is
Is there a way to get individual ant tasks to run quietly? I know
I'm currently working with some developers who like to set up Ant tasks that

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.