Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Info

Help is available by sending an email to csf-support@mit.edu
Have any suggestion on how improve this wiki?  Please give us your feedback at csf-support@mit.edu

Quick

Links

to:

{

Panel
Wiki Markup
Table of Contents
:
minLevel
=
3
|
maxLevel
=
3
}
{anchor:Creating an SVN patch file using Eclipse} h3.Creating an SVN patch file using Eclipse # Run Eclipse, open a *Project Explorer view* and *open the project* for which you want to create an SVN patch file. Right click on your project and select *Team > Create Patch...* !svnPatch001.jpg! \\ \\ and a *Run and save SVN diff results in a file* panel similar to the following will be displayed: !svnPatch002.jpg! # In the *Run and save SVN diff results in a file* panel, do the following: {indent:1}
  1. Run Eclipse, open a Project Explorer view and open the project for which you want to create an SVN patch file.
    Right click on your project and select Team > Create Patch...
    Image Added

    and a Run and save SVN diff results in a file panel similar to the following will be displayed:
    Image Added
  2. In the Run and save SVN diff results in a filepanel, do the following:

Panel

Anchor
Creating an SVN patch file using Eclipse
Creating an SVN patch file using Eclipse

Creating an SVN patch file using Eclipse

Wiki Markup
indent
1
1
  1. In *Save Patch*: select *In file System* and enter the *path/to* and *patch file name*.  In my example my *path/to* is C:\tmp\ and my *patch file name* is csf-common-legacy.patch.
    In *Include changes*: {color:red}uncheck anything that begins with a *dot* (i.e. .settings, .project, .classpath, etc){color}.
    Your dialog should look similar to the following:
    
{indent} !svnPatch003.jpg! When you are satisified that everything is correct, click *Next*. # In the *Advanced options* panel, do the following: {indent:1}
  1. Image Added
    When you are satisified that everything is correct, click Next.

  2. In the Advanced optionspanel, do the following:

    indent
    1
    1
    In *Patch Options*: select *Recurse into sub-folders*, *Process deleted resources* and *Process new resources*.
    In *Patch Root*: select *Project*.
    
{indent} !svnPatch004.jpg! When you are satisfied that everything is correct, click *Finish*. # Your patch file has now been created with the file name and in the directory that you had specified above.  If you open your patch file for editing you will see a series of entries similar the following: {code}
  1. Image Added
    When you are satisfied that everything is correct, click Finish.

  2. Your patch file has now been created with the file name and in the directory that you had specified above.  If you open your patch file for editing you will see a series of entries similar the following:

    Code Block
    Index: src/main/java/edu/mit/common/dao/academic/hibernate/HibernateAcademicTermDao.java
    ===================================================================
    --- src/main/java/edu/mit/common/dao/academic/hibernate/HibernateAcademicTermDao.java	(revision 308)
    +++ src/main/java/edu/mit/common/dao/academic/hibernate/HibernateAcademicTermDao.java	(working copy)
    @@ -11,7 +11,7 @@
     import edu.mit.common.dao.academic.AcademicTermDao;
     import edu.mit.common.dao.core.hibernate.AbstractHibernateDao;
     import edu.mit.common.domain.academic.AcademicTerm;
    -
    + 
     /**
      * Describe this class. 
      *
    
Note
{code} {note} If you are creating a patch for either *sais-common* or for *CSF*, send an mail to [mailto:

If you are creating a patch for either sais-common or for CSF, send an mail to

csf-support@mit.edu

]

and

include

your

patch

file

as

an

attachment.

{note} h4. {color:green}Creating an SVN patch file is now complete.{color}

Creating an SVN patch file is now complete.