Go to Post It is an honor and a privilege to be associated with such an outstanding group of people. And Arefin. - Gary Dillard [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-01-2010, 12:41
M.Rehberg's Avatar
M.Rehberg M.Rehberg is offline
Registered User
AKA: Mike Rehberg
FRC #2619 (The Charge)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Michigan
Posts: 11
M.Rehberg is an unknown quantity at this point
Workbench with SVN problems

We have a rather large group of programmers this year, and several of them have extensive C++ knowledge. We used WindRiver Workbench last year, and the team agreed to use it again this year. Last year we also used SVN as an archive tool, but with only a few programmers there wasn’t much of a need to use it during development. This year we would like to use SVN (or maybe Git) as a versioning tool on all the programmers’ computers.

The repository is all setup, and the first few “share”, and “checkout” tests worked fine on my Windows7 desktop computer at home. The trouble started when we loaded the development environment on several notebooks, and netbook computers running Win-XP, Vista, and Windows-7. Some of them work some of the time, all of them have problems building projects they checkout some of the time. It is not consistent at all. I checked out the same project 10 times in a row (changing the name each time so they had unique directories in the workspace). Sometimes they will checkout with the following in the name:

“(Host OS (Native Development) Downloadable Kernel Module Project)”
If it does, there is no hope for it building and creating the “.out” file.

It must have the following in the project name to build:
“(Wind River VxWorks6.3 Downloadable Kernel Module Project)”

We do nothing different from one checkout to the next. In 10 checkouts, 3 were OK, and 7 were not.

The netbooks seem to be more prone to this than the systems with more performance. There are no errors during the checkout, it just doesn’t create the proper project.

Very frustrating….

We have installed the Jan 9th updates for LabView, and WindRiver WB
For SVN we have installed the Subclipse plug-in to Eclipse:
http://subclipse.tigris.org/update_1.6.x
We are using:
SilkSVN Vers 1.6.5
TortiseSVN Version 1.6.6.17493

One other note. Sometimes even after a good checkout the first build will not create the .out file. The “PPC603gnu” directory will only have a Makefile in it. We found that if you delete the PPC603gnu directory, and build the project again, it will recreate the directory, and build all of the objects and produce the .out file.
__________________
Mike Rehberg

Team 2619
Midland, MI
Reply With Quote
  #2   Spotlight this post!  
Unread 17-01-2010, 13:16
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Workbench with SVN problems

Hi Mike,

Can't comment on your specific setup, however I can tell you we are using SVN without any difficulty so far using Google Code for our SVN server, and the Subclipse plugin.

I have no instructions for the Google Code setup, but it's quite self-explanatory.

For Subclipse, here is the procedure we're using courtesy of student Zwe Gwelithini from 1310:

1. First go to http://subclipse.tigris.org/servlets...?folderID=2240 to download Subclipse
2. Extract it to your desktop
3. Open Windriver then in the menu tabs go to Help ---->Software Updates ---> Find and install
4. Click "Search For New Features To Install"
5. Click "New Local Site" and then click the Subclipse folder that you extracted to your desktop
6. Click "Finish" and then wait for the update to finish
7. Restart Windriver after the update is finished

We too have installed all the mandatory updates, and everything appears to be working.

-Mr. Lim...
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
Reply With Quote
  #3   Spotlight this post!  
Unread 17-01-2010, 15:26
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Workbench with SVN problems

how are you checking it out?
file>new>Project Checkout Projects from SVN?

is it through apache or svnserve (http:// or svn://)
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2010, 11:35
M.Rehberg's Avatar
M.Rehberg M.Rehberg is offline
Registered User
AKA: Mike Rehberg
FRC #2619 (The Charge)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Michigan
Posts: 11
M.Rehberg is an unknown quantity at this point
Re: Workbench with SVN problems

We are using XP-Dev.com for our SVN Repository. We signed up with them last year, and they let us keep our large free account even thought they charge for these accounts now.

We do all the Checkout, Update, Commit, and Branch/Tags functions from within WindRiver Workbench. We don’t do anything by command line. We did load TortiseSVN because it is a great GUI for probing around and reporting on the status of the repository, but don’t use it to touch the files. That is one reason I went with SVN, because it was so well integrated into Workbench.

After last night we narrowed the problems down to two. The worst is the random event where during a checkout; the new project is not correct and cannot be used. It can take up to 5 tries before it will checkout correctly. The other is that we had trouble building projects where we changed the name of the project as it was being checked out. The build files still look for a few folders based on the name the original project was created with. We fixed this by picking unique names when the project is created the first time.

Thanks for the help.
__________________
Mike Rehberg

Team 2619
Midland, MI
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to connect the Workbench with the cRIO? kentschool C/C++ 3 28-12-2009 16:03
Teams happy with Wind River Workbench? gvarndell C/C++ 59 28-07-2009 21:13
If you're having trouble with Workbench gvarndell C/C++ 2 31-01-2009 11:30
To SVN or not to SVN? nathanww Programming 15 20-01-2009 01:11
Best Hosted SVN? interfect Programming 12 30-12-2008 22:50


All times are GMT -5. The time now is 12:52.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi