Ticket #1000 (closed defect: fixed)

Opened 8 years ago

Last modified 7 years ago

Many uncommited new files exist under subversion

Reported by: bdezonia Owned by: dscho
Priority: major Milestone: imagej2-b1-initial
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

Check out imagej via subversion. Load it into Eclipse. After building Eclipse notices many files it thinks are new to the project (related to the updater). If you try a commit many new files are tagged. This may be confusing for outside developers. We need to fix this so that users see nothing that needs to be committed after a fresh checkout and build.

Change History

comment:1 Changed 8 years ago by curtis

Fixed in 2a8f2ba5b012e065e12c04d6ff0e43596ea91bfe.

This problem occurs when the svn:ignore property is not set properly in newly added project directories.

It is easy to fix, as follows:

  : get a list of unknown files
  $ svn st

  : for each new leaf project, add three files
  : to the ignore list, one per line:
  :   .classpath
  :   .project
  :   target
  $ svn pe svn:ignore ui/platform-windows

  : for each new aggregator project, add 2 files
  : to the ignore list, one per line:
  :   .project
  :   .settings
  $ svn pe svn:ignore core/updater

  : check remaining list of unknown files
  $ svn st

  : for each remaining .settings folder, ignore all files
  $ svn ps svn:ignore '*' core/updater/core/.settings

  : verify no question marks remain
  $ svn st

  : commit updated properties
  $ svn ci -m "Ignore Eclipse metadata"

comment:2 Changed 8 years ago by curtis

  • Status changed from new to closed
  • Resolution set to fixed

comment:3 Changed 8 years ago by curtis

It's also worth noting that this problem will cease to exist once we switch back to Git.

comment:4 Changed 7 years ago by bdezonia

  • Blocked By 1803 added

comment:5 Changed 7 years ago by bdezonia

  • Blocked By 1803 removed
Note: See TracTickets for help on using tickets.