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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:29:08+00:00 2026-05-10T19:29:08+00:00

I recently got involved in a Java project at work: we’re using MyEclipse for

  • 0

I recently got involved in a Java project at work: we’re using MyEclipse for the IDE, and Subclipse for source control integration. Since I am new to the project, I am currently submitting any changes I make as patches, to make it easier for the other team members to review my changes and decide whether or not to commit them to the trunk. However, when I create a patch using the Create Patch option in the Team menu, the resulting patch contains absolute paths to the files that have changed. Since I want to be able to e-mail these patches to other team members and have them simply apply the patches to their own working folder, I would like to produce patches that contain only relative file paths (I’m running on Ubuntu and currently my working copy is in my home folder, so the absolute paths are especially annoying).

Is there a way to configure Eclipse/Subclipse to do this? I searched the Eclipse Preferences and clicked through the Create Patch wizard a few times, but I couldn’t find anything that looks like it will do this. Currently, I’m manually editing the patch files with a text editor to convert the absolute file paths to relative paths. If Subclipse can’t do this, I’m open to other suggestions.

EDIT: I know that there is the option to ignore a certain number of segments in file name paths when you go to apply the patch from within Eclipse, but I was curious if there was a way to avoid this to reduce the number of steps involved in applying patches. By manually editing the paths to make them relative to the project’s root folder, an end-user just has to be sure to apply the patch at the root project folder level. I’d like to have that simplicity without having to manually edit the patch files.

  • 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. 2026-05-10T19:29:08+00:00Added an answer on May 10, 2026 at 7:29 pm

    The newest versions of subclipse are able to do what you say. Probably I have your same version because the 1.2.4 (my version) by default uses the filesystem as a patch root, while version 1.5.2 allows you to select the Patch Root (between project, workspace or selection) before creating the patchfile.

    Well, sorry, I read after that you already knew how to patch it by hand, but I am leaving this out as reference:

    Before you upgrade you can open the patchfile by hand and edit it:

    1. right click -> open with -> Text Editor,
    2. Find and replace all the occurrences of /home/user/projectfiles/project/ with a blank…
    3. remember to leave out only a single space between the ‘Index:’ and the filename, like ‘Index: .classpath’, otherwise your patch will not be usable in Windows-based Eclipse
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 108k
  • Answers 108k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Do this....Drop the article. Create a new storedprocedure in the… May 11, 2026 at 9:18 pm
  • Editorial Team
    Editorial Team added an answer One way I've tried to do similar things to what… May 11, 2026 at 9:18 pm
  • Editorial Team
    Editorial Team added an answer I think that the real problem here is that you… May 11, 2026 at 9:18 pm

Related Questions

I recently got involved in a Java project at work: we're using MyEclipse for
I'm involved in building a donation form for non-profits. We recently got hit by
I was recently working on an application that sent and received messages over Ethernet
My company has got quite a number of client laptops out in the field.
I have been tasked with going through a number of ColdFusion sites that have

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.