Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Solution: ProjectBuilder 10.2 pains



OK sorry to follow up my own post so quickly... I noticed it is using the absolute paths from the original machine to locate the files when building, although I thought by specifying "Project relative" references this would be portable.

Bizarrely, although it uses the out-of-date absolute path references to build, I can see and edit the files using relative path references fine. And when it says 'don't know how to make...' PB actually means 'file not found'.

Further, deleting the references and re-adding the files *doesn't* seem to update the build paths. I have looked in the target settings and all the references are Project relative, so there is no apparent way of fixing the problem there. It seems reasonable to assume that the project supplies the paths to the build tools which are specified for the source file paths in the target's source files section.

However, I have found that if you click on the umbrella project icon in the Groups & Files area and Get Info, there is a button which enables you to "rebuild the index" which takes a while, but which seems to update the path cache - so, problem solved.

Hope that's of use to someone else. I also hope it isn't too damn obvious to everyone else!

Alex

Begin forwarded message:

From: Alex Fuller <email@hidden>
Date: Sat Aug 31, 2002 2:09:55 pm Europe/London
To: java-dev <email@hidden>
Subject: ProjectBuilder 10.2 pains

(This is on 10.2 ProjectBuilder (with and without the late update applied). I wasn't switching machines so much before I installed 10.2, but I never noticed this before.)

Whenever copy a project between my G4 and my PowerBook G3 (i.e. in either direction), ProjectBuilder always gets confused. When I try to build the project, it skips all the files saying "don't know how to make [classname].java"?!?! If I delete the files from the file list and drag them back in from the Finder, it will work again... until I edit some files and then it forgets how to make them again, so I delete and drag them back in again, etc. etc.

The only way to make it stick is to create a brand new project and import all the files, which is a real pain to set up whenever I switch machines, and this is only a small backend tool, thank God.

Has anyone come across this? Does anyone know how to force it to use javac on .java files? Doesn't seem that much to ask of an IDE...

Alex
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.