Go to Post FIRST MANTRA: When Lawyer-ism fails, Gracious Professionalism Prevails! - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-01-2013, 06:16
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Post RobotBuilder Relative Path patch

I've been playing with RobotBuilder, and it's an awesome tool, but there's one big problem I have: its export functions work only on absolute paths. This isn't a problem if you only have one person working on a project on one computer, but if you're working with multiple people across multiple computers (sometimes with different OSs), like in FRC, this becomes problematic really quickly. So I wrote a fix myself.

The functionality is pretty simple: it doesn't add a relative path option to the directory selection dialogs, but if you edit the .yml file to use a relative path, it will work (relative to the .yml's directory).

To use this, first checkout the RobotBuilder project, then use the "svn patch" command (svn 1.7 required) on *nix. I'm not sure how exactly you'd do it on Windows, but this StackOverflow question might help. Otherwise, you can do it by hand: the lines starting with --- and +++ indicate the file the changes apply to, the lines starting with @@ indicate the lines affected, the lines with nothing in front are context, the lines starting with - are deleted, and the lines starting with + are added.

I also sent this to the developers, so it might end up being incorporated into the official project, but if not, I figure you guys might want to use it
Attached Files
File Type: txt RelativePath.diff.txt (3.9 KB, 7 views)
__________________
I code stuff.
Closed Thread


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


All times are GMT -5. The time now is 02:13.

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