Community
Participate
Working Groups
Please add Maven's "target" folders to .gitignore in all subprojects. Current, when I run "git status", I get: # On branch Juno_RC4_R4 # Changes not staged for commit: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # (commit or discard the untracked or modified content in submodules) # # modified: eclipse.jdt (untracked content) # modified: eclipse.jdt.core (modified content, untracked content) # modified: eclipse.jdt.debug (untracked content) # modified: eclipse.jdt.ui (untracked content) # modified: eclipse.pde (untracked content) ... and when I run "git status" in "eclipse.jdt/", i see: # Not currently on any branch. # Untracked files: # (use "git add <file>..." to include in what will be committed) # # org.eclipse.jdt-feature/target/ # org.eclipse.jdt/target/ nothing added to commit but untracked files present (use "git add" to track) This is confusing.
Moving to Platform for consideration. This is pretty simple to do and already exists for the aggregator repo, but I guess we'll need to create patches for all the sub-repos. I'll look into creating the patches when I have a few extra cycles.
I think we just need to add "target/" to ensure that it's ignoring only the directory.
(In reply to comment #2) > I think we just need to add "target/" to ensure that it's ignoring only the > directory. It has to be done on a repo by repo basis, because they're not all the same level and a generic "ignore any target" directory will ignore real directories in some repos PW
Looks like this is resolved.