Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > problems with project builder after moving to new computer

problems with project builder after moving to new computer
Thread Tools
Fresh-Faced Recruit
Join Date: Jan 2003
Location: In front of a 12 inch PowerBook
Status: Offline
Reply With Quote
Feb 19, 2003, 12:42 PM
 
I moved my pb project from my old computer to my new 12 inch pb. It is a java project with about 60 source files. I moved it by copying the folder containing the project to the new book, then downloaded the december developer tools to the book and reinstalled them.

I tried to build my project on the new book and it would not build because it said it could not find source files. I examined that path of the file that it needed to load and it contained my old username on my old computer. How do I change this to my new username? I tried to edit the directory for java source using expert view, but it was already "." so I do not understand how to proceed from here.

Do I have to create a new project and drag all my source files to it?

Thanks for any help.
     
Senior User
Join Date: Dec 2001
Status: Offline
Reply With Quote
Feb 19, 2003, 04:49 PM
 
In the files tab, right (control) click on each group and choose "Get Info". Check to see if the path for each group is correct. If not, simply "Choose Path" and see if that fixes the problem.
"Think Different. Like The Rest Of Us."

iBook G4/1.2GHz | 1.25GB | 60GB | Mac OS X 10.4.2
Athlon XP 2500+/1.83GHz | 1GB PC3200 | 120GB | Windows XP
     
Fresh-Faced Recruit
Join Date: Jan 2003
Location: In front of a 12 inch PowerBook
Status: Offline
Reply With Quote
Feb 19, 2003, 10:53 PM
 
Thank you very much for your response. I'm sorry if these sound like totally basic questions but I am not trained as a programmer and am teaching myself java. Unfortunately I have found the documentation for project builder less than what I desired, especially for troubleshooting.

I did what you suggested and examined the path of the files the compiler said it could not find using the Show Info option. Curiously, the path was as expected based on where the file is located. However, the compiler is giving me the following error messages:

/Developer/Private/jam -d1 -j1 JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase JAMFILE=- build ACTION=build _DEFAULT_GCC_VERSION=3.1 BUILD_STYLE=Development CPP_HEADERMAP_FILE=/Users/jonathanhecht/Programming/ScoreCardPB/build/ScoreCardPB.build/GUIElements.build/GUIElements.hmap SRCROOT=/Users/jonathanhecht/Programming/ScoreCardPB OBJROOT=/Users/jonathanhecht/Programming/ScoreCardPB/build SYMROOT=/Users/jonathanhecht/Programming/ScoreCardPB/build DSTROOT=/tmp/ScoreCardPB.dst
Missing file or directory: /Users/jhecht/Programming/ScoreCardPB/DiamondEvent.java
.... (about 12 other files)

jhecht was my old username on my old computer. The correct name should be jonathanhecht. It appears that project builder is not recognizing the new path for these files and is following the old path, therefore it cannot find the files and produces these build errors.

Any other suggestions on how I can fix this? I am going to try reindexing the project and see if that helps.

Thanks.
     
Fresh-Faced Recruit
Join Date: Jan 2003
Location: In front of a 12 inch PowerBook
Status: Offline
Reply With Quote
Feb 19, 2003, 11:04 PM
 
I rebuilt the index and that solved the problem. Thanks for helping. Hopefully this will help anyone with similar problems.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:48 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2