aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Subclipse Patch options?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Subclipse Patch options??" Watch "Subclipse Patch options??" New topic
Author

Subclipse Patch options??

Jiafan Zhou
Ranch Hand

Joined: Sep 28, 2005
Posts: 192

When applying a patch in the Subclipse plugin in Eclipse IDE, I have to finish a wizard in order to apply the patch. In the last dialog, which is the "Review Path" dialog, I saw some Patch options that I am not really familiar with, (actually have no idea what they mean) they are:

- Ignore leading path name segments [0, 1]
- maximum fuzz factor [default to 2]
- Reverse patch
- Show Excluded
- Generate a .rej file for unmerged hunks

Can anybody explain the meanings and uses for this options?

Eclipse 3.3.0
Subclipse: svn client 1.4.2

Thanks


SCJP, SCJD, SCWCD, SCBCD, SCEA
Jiafan Zhou
Ranch Hand

Joined: Sep 28, 2005
Posts: 192

Anybody?
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Hmm, I found some stuff in Eclipse Help:

Originally posted by Jiafan Zhou:

- Ignore leading path name segments [0, 1]
- maximum fuzz factor [default to 2]
- Reverse patch
- Show Excluded
- Generate a .rej file for unmerged hunks

Can anybody explain the meanings and uses for this options?

Thanks


* If a common prefix of the path names stored in the patch file doesn't match the path names in you current workspace, you can Ignore leading path name segments.

* Adjust the Fuzz factor (patch terminology). This factor indicates the amount of hunk context lines to ignore. The default value is zero, which means that all lines need to match. For the fuzz factor equal one it's the first and last line of context. Press the Guess to calculate the fuzz factor that will allow the most hunks to be matched.

* Use the Reverse patch option for patch files that already have been applied to your workspace. This option is also useful to undo or redo a patch.

For Workspace patches, you can select another project in your workspace to apply the patch changes to. To do this, select a project in the top pane and select Move from the context menu. This will launch a dialog with a list of all available projects in your workspace. Select a project and click OK; the patch changes will be applied to your selected project.

* Use the Show Excluded option to show the hunks which you have already selected to not include in the patch.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Subclipse Patch options??