Solved

How to remove target folder from synchronizing in eclipse svn  ?

Posted on 2013-10-24
2
8,353 Views
Last Modified: 2013-10-25
Hello,

How to remove target folder from synchronizing in eclipse svn  ?

The replies i came accross during my search for above
You can't svn:ignore a file that is already commited to repository.
So you must:
Delete it from the repository
Recreate it in Eclipse
Set svn:ignore on it via Team->Add to svn:ignore

Is there any other way to achive the above i have tries with ignored resource alos with exclusing the .class,*.class,target but no luck.

Suppose i delete the target folder then will there be any impact in the build of files if the target folder is deleted from svn?

Is is good approach to commit the target folder in svn?
0
Comment
Question by:Rocking
2 Comments
 
LVL 35

Accepted Solution

by:
mccarl earned 500 total points
Comment Utility
No, as far as I know, that is the only way. But there shouldn't be any impacts. Everything in your "target" folder should be able to be created again by the build process. So yeah, delete the target folder, commit that 'deletion' to the repository, make Eclipse rebuild the project, and THEN add "target" to the svn ignore property. (As you say, you should just be able to do the "Team -> Add to svn:ignore" option)  And you only need to add "target" to it, not all the *.class entries, since if target is NOT there then none of the class files can be there either.
0
 

Author Comment

by:Rocking
Comment Utility
thanks a lot i also did the same, the same approach i have applied already anyways thanks a lot.Just sharing the below info which i came to know through eclipse site abt target folder.


Versioning build output is a bad idea. I would suggest deleting the
folder from the SVN Repositories view. Do an update so that it is
deleted locally, then add the build folder to svn:ignore so that it
does not happen again. There is an FAQ related to the problems this
causes:
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

INTRODUCTION Subversion is a fantastic version management and software configuration management tool for teams and individuals to manage software applications. It offers many advantages over it's CVS ancestor such as it's built-in compatibility w…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now