?
Solved

How to remove target folder from synchronizing in eclipse svn  ?

Posted on 2013-10-24
2
Medium Priority
?
9,756 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 36

Accepted Solution

by:
mccarl earned 2000 total points
ID: 39599670
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
ID: 39601074
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
When working in a large software development team, whether you have many developers working on the same projects, or your project is linked to other projects; it is very important that developers regularly perform "get latest" to ensure that the cha…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month11 days, 7 hours left to enroll

752 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