Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

The right way to use CVS in NetBeans 4

Posted on 2005-04-25
14
Medium Priority
?
236 Views
Last Modified: 2013-12-14
Please don't post a link because I've read a lot and still don't understand.

I have three projects that are all related.  It is a client/server app.  I made init a CVS repository for each project.  I then imported each project to these repositories.  Then I closed all my projects in netbeans( I was going to save the orginals for backup)  I started three new projects.  I made the src directory the local working directory in the version manager.  Everything works great.  I checkout and can edit.  But, I can not build any of the projects.  How do I do this the right way?
0
Comment
Question by:turtletimer
  • 7
  • 5
12 Comments
 
LVL 92

Expert Comment

by:objects
ID: 13864342
What exactly do you mean by you cannot build?
0
 

Author Comment

by:turtletimer
ID: 13864403
Let's take it one step back.  I am in the Versioning tab of the Explorer. I don't have any projects.  The Versioning tab is the only tab with data.  I went to Versioning Manager under Versioning and setup a profile.  I specified the cvs repository(which is initialized and working properly). I specified the local working directory as a folder Local Working in My Documents.  So I checked out the whole repository.  So now under the versioning tab I have all the checked out files. But, I can't do anything with them.  I can't compile any of the files.  
0
 
LVL 92

Expert Comment

by:objects
ID: 13864442
So have you then opened the project
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:turtletimer
ID: 13864456
How should I make the project?

How does CVS work?  I am halfway through the project.  Should I finish the project then use CVS to make updates?  Mabye I don't get the process.

You ask if I opened the project.  I haven't made a project.  I can open all the files from the local working directory, the files I checked out.  But, I can't even edit them.

I want to be able to check out the whole project.  Build a jar if I need to.  Edit and compile.  Then commit my changes.  That's what CVS is right?

0
 

Author Comment

by:turtletimer
ID: 13864460
Do you use NetBeans?
0
 

Author Comment

by:turtletimer
ID: 13864463
I know this is confusing.  I did have projects, but I imported them into the repositroy.  So lets forget about those.  They are my backups.  I want to download a fresh set and compile and what not.
0
 

Author Comment

by:turtletimer
ID: 13864474
I think I got it.
0
 
LVL 92

Accepted Solution

by:
objects earned 2000 total points
ID: 13864480
CVS tracks any changes you make to your project files. To make a change to a file you check it out for editting, make the changes, then check it back in. The CVS server will save the details of any change you made, allowing you to check out the files as they were at a certain date for example. You can also do lots of other things like branching etc but for now I'd suggest sticking to the basics.

I used to use NetBeans but not currently.
0
 

Author Comment

by:turtletimer
ID: 13864534
My image files are getting screwed up.  Can I not put raw Image files into the repository?  If no, what do I do with them?
0
 
LVL 92

Expert Comment

by:objects
ID: 13864545
you can but you need to tell cvs that they are binary files and not text.
0
 

Author Comment

by:turtletimer
ID: 13864552
how do I do that in netbeans?
0
 
LVL 92

Expert Comment

by:objects
ID: 13864596
you should be offered the option when you add a file.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand column That will then direct you to their download page. From that p…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Suggested Courses
Course of the Month20 days, 23 hours left to enroll

810 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