Go to Post And, if you don't know what something means, say so, we'll be happy to explain. - DonRotolo [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 04-15-2009, 10:41 PM
dboisvert dboisvert is offline
Registered User
AKA: Dan Boisvert
FRC #2405 (Divided by Zero)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Michigan
Posts: 57
dboisvert is an unknown quantity at this point
Portable Windriver

Has anyone made, or know how to make a portable windriver?

The reason being is I want to use it on a portable hard drive and just store the workspace on that for next years season so anyone can take it home and work on it and it can be moved to any computer.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-16-2009, 11:19 AM
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,033
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Portable Windriver

I would imagine that due to licensing constraints, this isn't possible. An alternative is to install WindRiver in a virtual machine, and move it around in that. Of course, at that point Windows will complain about its licensing... (unless you have a corporate license for it).
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote
  #3   Spotlight this post!  
Unread 04-16-2009, 11:21 AM
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,033
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Portable Windriver

But on that thought, if you're just wanting to share the workspace, then using a version control system like SVN would be ideal -- then the members of your team would be able to access the workspace from anywhere in the internet (assuming the server is on the public internet -- doesn't have to be). subclipse integrates nicely into Wind River, and allows you to import/export projects seamlessly. Theres a bit about subclipse in the FRC C++ Programming Guide...
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote
  #4   Spotlight this post!  
Unread 04-20-2009, 08:19 PM
Shinigami2057 Shinigami2057 is offline
Slackware Is Your New God (Mentor)
AKA: Harry Bock
FRC #1350 (Rambots)
Team Role: Programmer
 
Join Date: Oct 2006
Rookie Year: 2006
Location: Johnston, RI
Posts: 106
Shinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really nice
Re: Portable Windriver

Quote:
Originally Posted by virtuald View Post
I would imagine that due to licensing constraints, this isn't possible. An alternative is to install WindRiver in a virtual machine, and move it around in that. Of course, at that point Windows will complain about its licensing... (unless you have a corporate license for it).
Moving around a VirtualBox virtual machine worked great for our team. It's mostly just drag and drop, and saves massive time for installation of Wind River and LabView, et al.

Plus being able to save machine state is invaluable. I'd highly recommend teams with a technical background to give it a whirl; the first few days were excruciating trying to find a fast way to get the build environment on multiple laptops and workstations. You can't beat transferring an already-configured machine over the network
__________________
One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Reply With Quote
  #5   Spotlight this post!  
Unread 04-20-2009, 09:01 PM
pyr0b0y pyr0b0y is offline
Programmer/Electrical
AKA: Josh
FRC #0253 (Mills Robotics Team)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2004
Location: Millbrae
Posts: 78
pyr0b0y is an unknown quantity at this point
Send a message via AIM to pyr0b0y
Re: Portable Windriver

Can you post any links on how a team would go about setting up WindRiver for SVN?
Reply With Quote
  #6   Spotlight this post!  
Unread 04-21-2009, 08:50 PM
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: Portable Windriver

install subversion (http://subversion.tigris.org/getting.html#windows)
run (in cmd) svnadmin create C:/Documents and Settings/longcomplicatedpath/repository
(yes, you must use / instead of \ for the path)
install subclipse (look in C Programming guide)
open SVN Repository View
Right click in SVN Repository view, New> Location... (or something like that)
enter file:///C:/Documents and Settings/longcomplicatedpath/repository
hit ok (if you get an error, tell me what it says)
with your project, Right click>Team>Add to repository (something like that)

more info at http://svnbook.red-bean.com/en/1.5/svn-book.pdf and in the WRWB help file
__________________
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
  #7   Spotlight this post!  
Unread 04-23-2009, 12:29 AM
pyr0b0y pyr0b0y is offline
Programmer/Electrical
AKA: Josh
FRC #0253 (Mills Robotics Team)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2004
Location: Millbrae
Posts: 78
pyr0b0y is an unknown quantity at this point
Send a message via AIM to pyr0b0y
Re: Portable Windriver

can you explain the part about creating the repository or point me to a link? i tried typing svnadmin create[...] in cmd but it doesnt recognize it

Last edited by pyr0b0y : 04-23-2009 at 12:34 AM.
Reply With Quote
  #8   Spotlight this post!  
Unread 04-23-2009, 10:39 PM
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: Portable Windriver

first, did you install subversion?
did it fail or succede?
then open cmd and type svnadmin create C:/dir/.../...
look in http://svnbook.red-bean.com/en/1.5/svn-book.pdf on page 40, the first line of command and page 31 near the bottom about windows paths
__________________
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
  #9   Spotlight this post!  
Unread 04-24-2009, 02:16 AM
pyr0b0y pyr0b0y is offline
Programmer/Electrical
AKA: Josh
FRC #0253 (Mills Robotics Team)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2004
Location: Millbrae
Posts: 78
pyr0b0y is an unknown quantity at this point
Send a message via AIM to pyr0b0y
Re: Portable Windriver

OK, so i created the repos and have created users and put them into different groups. i tried the url, got the certificate, but i am not able to log into it from remote computers, do i have to set some type of permissions or use the ip address?

I just need to be able to access the repo from different computers.

Last edited by pyr0b0y : 04-24-2009 at 03:15 PM.
Reply With Quote
  #10   Spotlight this post!  
Unread 04-24-2009, 10:36 PM
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: Portable Windriver

you need to install apache (at least that is how i could only get it to work)
just google apache, download and install 2.2
(fromhttp://www.codeproject.com/KB/winsdk/SubversionApache.aspx)
When the installation is finished, go to the bin directory within the Subversion installation, find two files with extension *.so, and put them into the (Apache)/modules directory. The files are mod_authz_svn.so and mod_dav_svn.so.

Go to the conf sub-directory within the Apache installation directory and open the httpd.conf file in any text editor.

Add the following lines:

LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

Now assuming your reposotory is at C:\svns\repos1 and you want to redirect localhost/svn to it,
add this to the httpd.conf:




<Location /svn>

DAV svn

SVNListParentPath on

SVNParentPath C:/svns

</Location>



If you get an error, tell me
__________________
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
  #11   Spotlight this post!  
Unread 04-24-2009, 10:40 PM
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: Portable Windriver

once you do that restart apache( or restart the computer), and if that computer's ip address is 192.168.101, on another computr (same network) type in http://192.168.1.101/svn
your web browser, you should see your repository there, now you can access it from other computers
then from windriver, new, project> from svn, new connection to http://192.168.1.101/svn/yourrepoitory
and finish out the dialog.
read the WR help for more details
__________________
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
  #12   Spotlight this post!  
Unread 04-25-2009, 01:07 AM
pyr0b0y pyr0b0y is offline
Programmer/Electrical
AKA: Josh
FRC #0253 (Mills Robotics Team)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2004
Location: Millbrae
Posts: 78
pyr0b0y is an unknown quantity at this point
Send a message via AIM to pyr0b0y
Re: Portable Windriver

[EDIT] Actually i followed the directions with editing the httpd file, but when i restart apache i get this error message:

Code:
Invalid command 'DAV', perhaps misspelled or defined by a module not included in the server configuration

Last edited by pyr0b0y : 04-25-2009 at 05:41 PM.
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
pic: 1726 - portable OI TheOtherGuy Extra Discussion 1 03-07-2008 06:53 PM
paper: Portable Inspiration Phil Ross Extra Discussion 2 11-02-2007 11:26 AM
Portable Software Pavan Dave General Forum 17 07-23-2007 09:07 AM
Portable Racks aksimhal General Forum 8 05-02-2007 12:46 PM
Portable IDE Nitinol Programming 14 02-04-2007 03:23 AM


All times are GMT -5. The time now is 09:25 AM.

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