Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

eclipse cvs filter

 
Raj Shr
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
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.

Thanks
Raj
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the projects properties, Java Build Path - Source, edit the "excluded" attribute of the source path.

Hope this helps...
 
Arijit Ghosh
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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 ?

Regards,
Arijit
 
amy chan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Posts: 34372
345
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.

Thanks,
Jeanne
Forum Bartender
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic