Is there a way to find a file in a project that you want to build with darwinxref *before* you actually build the project, i.e. say just after you have initialized the build tree? I know you can find the file *after* you have built the project, but it would be much more helpful to search for the project prior to building. Philip Philip Rinehart Academic Media & Technology Cluster Support Services 203-432-6573 cluster.support@yale.edu philip.rinehart@yale.edu
Technically, yes, there is a way. The 'darwinxref loadFiles' command will parse a text file that contains lost of entries in the following form: # BUILD 8F46 awk: /usr/bin/awk /usr/local/OpenSourceLicenses/awk.txt /usr/local/OpenSourceVersions/awk.plist /usr/share/man/man1/awk.1 So if you have such a text file, you can import that prior to building anything, and then the darwinxref findFile will work. (darwinxref exportFiles will export a text file in this format from an existing darwinxref database). That being said, I haven't gotten around to distributing these files yet. I suppose the right thing to do would be to put them up on opendarwin.org, and automatically download it and loadFiles during 'darwinbuild -init'. Look for that feature in 0.7.3 ;-) - Kevin On Jan 5, 2006, at 8:23 AM, Philip Rinehart wrote:
Is there a way to find a file in a project that you want to build with darwinxref *before* you actually build the project, i.e. say just after you have initialized the build tree?
I know you can find the file *after* you have built the project, but it would be much more helpful to search for the project prior to building.
Philip
Philip Rinehart Academic Media & Technology Cluster Support Services 203-432-6573 cluster.support@yale.edu philip.rinehart@yale.edu
participants (2)
-
Kevin Van Vechten
-
Philip Rinehart