• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse 3.0 CVS Integration

 
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your project probably isn't a Java project. Does it have a "J" in the upper right corner of the icon?
 
Arijit Ghosh
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes you are right..

It does not have a J..

But why not ?

All I did was check out from the CVS...

Regards,
Arijit
 
Arijit Ghosh
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So that means when I check out the project from the CVS, I need to select "Check Out As.." and check out using New Project Wizard.. This will help me to define the project as Java Project...

Only if its a Java Project can I have the option for Java Build Path.

However, I can also include it using the Windows -> Preferences -> Java -> Build Path -> ClassPath Variable.

Will it not have the same effect ? Do I really need to check it out as Java Project ?

What is the use of .project properties file ?

Regards,
Arijit
 
Daniel Mayer
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Arijit Ghosh:
However, I can also include it using the Windows -> Preferences -> Java -> Build Path -> ClassPath Variable.

Will it not have the same effect?



No. That will just define a classpath variable that you then can use in the buildpaths of java projects.

Do I really need to check it out as Java Project ?



Yes.

What is the use of .project properties file ?



It defines the nature(s) of the project. If you add it to CVS, the next time the project is checked out it automatically becomes a java project - no need for going through the wizard, then.
 
Arijit Ghosh
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks that really helped.

Regards,
Arijit
 
reply
    Bookmark Topic Watch Topic
  • New Topic