Changeset 261
- Timestamp:
- 11/15/07 13:42:30 (1 year ago)
- Files:
-
- trunk/cocoa/mogenerator/Xmod/Xmod.applescript (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cocoa/mogenerator/Xmod/Xmod.applescript
r248 r261 59 59 repeat with targetIt in (every target of _project) 60 60 repeat with buildFileIt in build files of targetIt 61 if full path of file reference of buildFileIt is _buildFilePath then set theResult to theResult & { targetIt}61 if full path of file reference of buildFileIt is _buildFilePath then set theResult to theResult & {(targetIt as anything)} 62 62 end repeat 63 63 end repeat … … 69 69 set modelFilePath to POSIX file modelFilePath 70 70 tell application "Finder" 71 set modelFileFolder to folder of modelFilePath72 set modelFileName to name of modelFilePath71 set modelFileFolder to folder of (modelFilePath as file) 72 set modelFileName to name of (modelFilePath as file) 73 73 set modelSrcFolderName to text 1 thru -13 of modelFileName -- pull off the .xcdatamodel extension 74 74 if not (exists folder modelSrcFolderName of modelFileFolder) then
