It's not a secret anymore!
The moose likes IDEs, Version Control and other tools and the fly likes eclipse cvs filter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse cvs filter" Watch "eclipse cvs filter" New topic

eclipse cvs filter

Raj Shr

Joined: Aug 19, 2004
Posts: 1
I am using an external CVS client for our projects. When I import the project in eclipse I naturally see the CVS folders too.
After setting an exclude filter '**/CVS*' the cvs folders/files are removed from the view.
However whenever I do a build the cvs folders are included in the output files.
How can I remove this?
I dont have this problem at all with JBuilder which automatically ignores the CVS files both in the view as well as the output.

I cannot use CVS from eclipse as the repository is on a remote location and takes quite some time.

Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
In the projects properties, Java Build Path - Source, edit the "excluded" attribute of the source path.

Hope this helps...

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Arijit Ghosh
Ranch Hand

Joined: Feb 01, 2002
Posts: 174

I integrated CVS with eclipse but now facing a strange problem.

After creating the CVS Repository location... I checked out the project.

If I am right clicking on the project, and selecting properties for that project, I am getting only the following 4 options...

1. Info
2. Builders
3. CVS
4. Project references

However, I if I am creating a NEW project (nothing to do with CVS), and then right click on the project, and selecting properties for that project, I am getting the following options ---

1. Info
2. Builders
3. Java Build Path
4. Java Compiler
5. Javadoc Location
6. Java Task Tags
7. Project references

Now, in case of the project created by checking out from CVS.... I want to include some external jars in my Java Build Path as I am otherwise getting compilation error. Hence, I was looking for Java Build Path -- > Libraries TAB and ADD External JAR button.

How do I do it as I do not get the option ?

amy chan

Joined: Oct 18, 2004
Posts: 1
Eclipse has several ways to checkout a project from the CVS repository. When you right-click on the CVS module, you should choose "Check out as ..." (not "Check out as project"!). "Check out as..." opens a dialog that lets you choose the type of Eclipse project. You should choose the "Java" project type to get the features you are looking for.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33102

"Amy C",
We're pleased to have you here with us in the IDEs forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Forum Bartender

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: eclipse cvs filter
It's not a secret anymore!