Community
Participate
Working Groups
I have a project with following directory structure /project /src /test Test.java This project is under cvs version control. Here are the steps to reproduce patch problem 0. "project" is in sync with repository 1. Modify Test.java (for example, add comments) 2. Select "project" in package view or navigator, right-click, Team, Create patch, Finish. This should save patch to clipboard. 3. Replace Test.java with latest version from repository. 4. Select Test.java in package explorer or navigator, right-click, Compare with, Patch, Next, Finish. Problem: new directory /project/src/test/src/test is created, this directory has two files Test.java and Test.java.rej. /project/src/test/Test.java is not modified. Win2k SP2, Eclipse 200212181304, JDK 1.4.1_01.
The patch must be applied at the same level it was created or you must specify how many directory levels to ignore. It looks like you generated the patch by selecting the project and applied it by selecting the file or the parent directory of the file. However, the user should probably be warned when applying a patch that is not a file creation to a non-existent file. Moving to Platform Compare for comment.
*** Bug 31197 has been marked as a duplicate of this bug. ***
*** Bug 25635 has been marked as a duplicate of this bug. ***
fixed and released on 20030211
start verifying
*** Bug 24664 has been marked as a duplicate of this bug. ***