Solved

How to remove target folder from synchronizing in eclipse svn  ?

Posted on 2013-10-24
2
8,762 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
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

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…
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

770 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