Go to Post Physics is not a religion. - Jack Jones [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 25-01-2010, 14:19
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 357
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: [WindRiver]Creating a fresh buildable project

Excellent write up on how to set up a project from scratch.

If I copy a project using windows explorer, how can I get that project to show up in workbench?
Brian?
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote
  #2   Spotlight this post!  
Unread 25-01-2010, 19:36
ProgrammerMike7 ProgrammerMike7 is offline
Registered User
AKA: Mike
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Canada
Posts: 13
ProgrammerMike7 will become famous soon enoughProgrammerMike7 will become famous soon enough
Talking Re: [WindRiver]Creating a fresh buildable project

Quote:
Originally Posted by SuperBK View Post
If I copy a project using windows explorer, how can I get that project to show up in workbench?
Hi, that is a good question, as I don't think there is a simple one-step way in just opening a project like you can a file. I will keep looking and let you know if I find an answer. However, I do know how to do it in a few steps.

First, create a project the same way I explained in my first post. Specifically, do steps 1 - 12 (including step 12). Now right-click on the project you just created in the project-explorer and click "Import...". Now in the pop-up window, click General -> File Path -> Next. Locate the folder the project you copied is in, and select all the .h and .cpp files from this folder. Click finish to import these files. Now continue with my initial instructions at step 15.

I hope this helps!

-Mike and Team 2200
__________________
Wait (-1)
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2010, 06:08
SteveGarward's Avatar
SteveGarward SteveGarward is offline
Red 5, standing by...
AKA: 7 years already
FRC #0111 (WildStang), FRC #3132 (Thunder Down Under)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2010
Location: Gurnee, IL
Posts: 173
SteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud of
Re: [WindRiver]Creating a fresh buildable project

Thanks for those detailed steps! Having used eclipse for a long time for Java development, I wanted to create a new, clean project after our sample robot code got a little out of hand after renaming files. So to have the steps for a non-Java project for an embedded system there like that really helped.

As for getting an existing (copied) project into a workspace, you can right-click in the Project Explorer, select Import..., then select to expand General, and then select Existing Projects into Workspace. Point it at the base directory of the project, and it will pick up the project file with the settings, and bring it all in to the workspace.

Hope that helps!
__________________
FRC Team 111 - WildStang (Mentor, Drive Coach)
FTC Team 7458 - Full Force! (Mentor, Coach)
FRC Team 3132 - Australia's FIRST FRC Team! (Holy crazy first year, Batman!)

Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2010, 07:33
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: [WindRiver]Creating a fresh buildable project

Quote:
Originally Posted by SuperBK View Post
If I copy a project using windows explorer, how can I get that project to show up in workbench?
The solution is never use Windows explorer to manipulate Workbench projects or project files.
Use the Workbench Project Explorer instead.
Someone else has already described how to Import projects that are not already in your Workspace.

If you want to make a copy of a project that already exists in your workspace:

1) in the Project Explorer, right-click the project and select Copy in the pop-up context menu
2) in the Project Explorer, right-click in the white space and select Paste in the pop-up context menu -- this will pop up a Copy Project dialog box
3) in the Copy Project Dialog, type in the name you want for the copied project -- the default name will be "Copy of <whatever>" just like in Windows Explorer.

(You can also click on the project (to highlight it) and then use CTRL-C to copy and CTRL-V to paste)

Note that either way, the Copy Project dialog will have "Use default location" checked by default -- leave it checked.
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)

Last edited by gvarndell : 30-01-2010 at 07:41.
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
Windriver - Cannot Create New Example Project Aaron S C/C++ 6 19-01-2010 21:25
help:Downloading the project in windriver mahmosh C/C++ 5 10-01-2009 10:08
Creating new MPLab Project Mike Programming 4 15-01-2006 14:26
Buildable Bridge? archiver 2001 0 24-06-2002 01:18
Fresh from the forum Ken Leung CD Forum Support 3 15-01-2002 22:22


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

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