Solved

How to remove target folder from synchronizing in eclipse svn  ?

Posted on 2013-10-24
2
9,418 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 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

691 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