Changeset 296
- Timestamp:
- 03/10/08 09:08:59 (10 months ago)
- Files:
-
- trunk/cocoa/mogenerator/mogenerator.m (modified) (2 diffs)
- trunk/cocoa/mogenerator/mogenerator.xcodeproj/wolf.mode1v3 (modified) (18 diffs)
- trunk/cocoa/mogenerator/mogenerator.xcodeproj/wolf.pbxuser (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cocoa/mogenerator/mogenerator.m
r295 r296 260 260 if ([[path pathExtension] isEqualToString:@"xcdatamodel"]) { 261 261 // We've been handed a .xcdatamodel data model, transparently compile it into a .mom managed object model. 262 NSString *momc = [[NSFileManager defaultManager] fileExistsAtPath:@"/Library/Application Support/Apple/Developer Tools/Plug-ins/XDCoreDataModel.xdplugin/Contents/Resources/momc"] 263 ? @"/Library/Application Support/Apple/Developer Tools/Plug-ins/XDCoreDataModel.xdplugin/Contents/Resources/momc" 264 : @"/Developer/Library/Xcode/Plug-ins/XDCoreDataModel.xdplugin/Contents/Resources/momc"; 262 263 // Find where Xcode installed momc this week. 264 NSString *momc = nil; 265 if ([[NSFileManager defaultManager] fileExistsAtPath:@"/Developer/usr/bin/momc"]) { // Xcode 3.1 installs it here. 266 momc = @"/Developer/usr/bin/momc"; 267 } else if ([[NSFileManager defaultManager] fileExistsAtPath:@"/Library/Application Support/Apple/Developer Tools/Plug-ins/XDCoreDataModel.xdplugin/Contents/Resources/momc"]) { // Xcode 3.0. 268 momc = @"/Library/Application Support/Apple/Developer Tools/Plug-ins/XDCoreDataModel.xdplugin/Contents/Resources/momc"; 269 } else if ([[NSFileManager defaultManager] fileExistsAtPath:@"/Developer/Library/Xcode/Plug-ins/XDCoreDataModel.xdplugin/Contents/Resources/momc"]) { // Xcode 2.4. 270 momc = @"/Developer/Library/Xcode/Plug-ins/XDCoreDataModel.xdplugin/Contents/Resources/momc"; 271 } 272 assert(momc && "momc not found"); 265 273 266 274 tempMOMPath = [[NSTemporaryDirectory() stringByAppendingPathComponent:[(id)CFUUIDCreateString(kCFAllocatorDefault, CFUUIDCreate(kCFAllocatorDefault)) autorelease]] stringByAppendingPathExtension:@"mom"]; … … 283 291 if (_version) 284 292 { 285 printf("mogenerator 1. 8.1. By Jonathan 'Wolf' Rentzsch + friends.\n");293 printf("mogenerator 1.9. By Jonathan 'Wolf' Rentzsch + friends.\n"); 286 294 return EXIT_SUCCESS; 287 295 } trunk/cocoa/mogenerator/mogenerator.xcodeproj/wolf.mode1v3
r295 r296 198 198 <array/> 199 199 <key>OpenEditors</key> 200 <array/> 200 <array> 201 <dict> 202 <key>Content</key> 203 <dict> 204 <key>PBXProjectModuleGUID</key> 205 <string>791C8F480D85CC2F001E8D4C</string> 206 <key>PBXProjectModuleLabel</key> 207 <string>mogenerator.m</string> 208 <key>PBXSplitModuleInNavigatorKey</key> 209 <dict> 210 <key>Split0</key> 211 <dict> 212 <key>PBXProjectModuleGUID</key> 213 <string>791C8F490D85CC2F001E8D4C</string> 214 <key>PBXProjectModuleLabel</key> 215 <string>mogenerator.m</string> 216 <key>_historyCapacity</key> 217 <integer>0</integer> 218 <key>bookmark</key> 219 <string>791C8F4B0D85CC37001E8D4C</string> 220 <key>history</key> 221 <array> 222 <string>791C8F410D85C8A3001E8D4C</string> 223 </array> 224 </dict> 225 <key>SplitCount</key> 226 <string>1</string> 227 </dict> 228 <key>StatusBarVisibility</key> 229 <true/> 230 </dict> 231 <key>Geometry</key> 232 <dict> 233 <key>Frame</key> 234 <string>{{0, 20}, {1096, 762}}</string> 235 <key>PBXModuleWindowStatusBarHidden2</key> 236 <false/> 237 <key>RubberWindowFrame</key> 238 <string>1031 524 1096 803 0 0 2560 1578 </string> 239 </dict> 240 </dict> 241 </array> 201 242 <key>PerspectiveWidths</key> 202 243 <array> … … 209 250 <key>ChosenToolbarItems</key> 210 251 <array> 211 <string>active-target-popup</string> 212 <string>active-buildstyle-popup</string> 213 <string>active-executable-popup</string> 252 <string>active-combo-popup</string> 214 253 <string>NSToolbarFlexibleSpaceItem</string> 215 254 <string>buildOrClean</string> … … 232 271 <array> 233 272 <dict> 273 <key>BecomeActive</key> 274 <true/> 234 275 <key>ContentConfiguration</key> 235 276 <dict> … … 268 309 <array> 269 310 <string>08FB7794FE84155DC02AAC07</string> 311 <string>08FB7795FE84155DC02AAC07</string> 270 312 <string>1AB674ADFE9D54B511CA2CBB</string> 271 313 <string>1C37FABC05509CD000000102</string> … … 274 316 <array> 275 317 <array> 318 <integer>2</integer> 276 319 <integer>1</integer> 277 320 <integer>0</integer> … … 298 341 </array> 299 342 <key>RubberWindowFrame</key> 300 <string>18 611167 690 397 0 0 2560 1578 </string>343 <string>1858 1167 690 397 0 0 2560 1578 </string> 301 344 </dict> 302 345 <key>Module</key> … … 335 378 <string>{{0, 0}, {482, 0}}</string> 336 379 <key>RubberWindowFrame</key> 337 <string>18 611167 690 397 0 0 2560 1578 </string>380 <string>1858 1167 690 397 0 0 2560 1578 </string> 338 381 </dict> 339 382 <key>Module</key> … … 343 386 </dict> 344 387 <dict> 345 <key>BecomeActive</key>346 <true/>347 388 <key>ContentConfiguration</key> 348 389 <dict> … … 357 398 <string>{{0, 5}, {482, 351}}</string> 358 399 <key>RubberWindowFrame</key> 359 <string>18 611167 690 397 0 0 2560 1578 </string>400 <string>1858 1167 690 397 0 0 2560 1578 </string> 360 401 </dict> 361 402 <key>Module</key> … … 381 422 <key>TableOfContents</key> 382 423 <array> 383 <string>79 75A59E0D7C649B009C1F2D</string>424 <string>791C8F3F0D85C801001E8D4C</string> 384 425 <string>1CE0B1FE06471DED0097A5F4</string> 385 <string>79 75A59F0D7C649B009C1F2D</string>426 <string>791C8F400D85C801001E8D4C</string> 386 427 <string>1CE0B20306471E060097A5F4</string> 387 428 <string>1CE0B20506471E060097A5F4</string> … … 518 559 <array> 519 560 <string>79AC5C650D3FEA19008AE93A</string> 561 <string>791C8F480D85CC2F001E8D4C</string> 520 562 <string>/Users/wolf/code/trac/cocoa/mogenerator/mogenerator.xcodeproj</string> 521 563 </array> 522 564 <key>WindowString</key> 523 <string>18 611167 690 397 0 0 2560 1578 </string>565 <string>1858 1167 690 397 0 0 2560 1578 </string> 524 566 <key>WindowToolsV3</key> 525 567 <array> … … 537 579 <array> 538 580 <dict> 581 <key>BecomeActive</key> 582 <true/> 539 583 <key>ContentConfiguration</key> 540 584 <dict> … … 542 586 <string>1CD0528F0623707200166675</string> 543 587 <key>PBXProjectModuleLabel</key> 544 <string> </string>588 <string>mogenerator.m</string> 545 589 <key>StatusBarVisibility</key> 546 590 <true/> … … 549 593 <dict> 550 594 <key>Frame</key> 551 <string>{{0, 0}, { 500, 218}}</string>595 <string>{{0, 0}, {1051, 304}}</string> 552 596 <key>RubberWindowFrame</key> 553 <string>901 745 500 5000 0 2560 1578 </string>597 <string>901 659 1051 586 0 0 2560 1578 </string> 554 598 </dict> 555 599 <key>Module</key> 556 600 <string>PBXNavigatorGroup</string> 557 601 <key>Proportion</key> 558 <string> 218pt</string>602 <string>304pt</string> 559 603 </dict> 560 604 <dict> … … 573 617 <dict> 574 618 <key>Frame</key> 575 <string>{{0, 223}, {500, 236}}</string>619 <string>{{0, 309}, {1051, 236}}</string> 576 620 <key>RubberWindowFrame</key> 577 <string>901 745 500 5000 0 2560 1578 </string>621 <string>901 659 1051 586 0 0 2560 1578 </string> 578 622 </dict> 579 623 <key>Module</key> … … 584 628 </array> 585 629 <key>Proportion</key> 586 <string> 459pt</string>630 <string>545pt</string> 587 631 </dict> 588 632 </array> … … 598 642 <array> 599 643 <string>79AC5C650D3FEA19008AE93A</string> 600 <string>79 75A5A30D7C65D5009C1F2D</string>644 <string>791C8F470D85CC24001E8D4C</string> 601 645 <string>1CD0528F0623707200166675</string> 602 646 <string>XCMainBuildResultsModuleGUID</string> … … 605 649 <string>xcode.toolbar.config.buildV3</string> 606 650 <key>WindowString</key> 607 <string>901 745 500 5000 0 2560 1578 </string>651 <string>901 659 1051 586 0 0 2560 1578 </string> 608 652 <key>WindowToolGUID</key> 609 653 <string>79AC5C650D3FEA19008AE93A</string> trunk/cocoa/mogenerator/mogenerator.xcodeproj/wolf.pbxuser
r295 r296 74 74 ); 75 75 }; 76 PBXPerProjectTemplateStateSaveDate = 226256017; 77 PBXWorkspaceStateSaveDate = 226256017; 76 PBXPerProjectTemplateStateSaveDate = 226871275; 77 PBXWorkspaceStateSaveDate = 226871275; 78 }; 79 perUserProjectItems = { 80 791C8F410D85C8A3001E8D4C /* PBXBookmark */ = 791C8F410D85C8A3001E8D4C /* PBXBookmark */; 81 791C8F4B0D85CC37001E8D4C /* PBXTextBookmark */ = 791C8F4B0D85CC37001E8D4C /* PBXTextBookmark */; 78 82 }; 79 83 sourceControlManager = 79D2BF0B0ACFAE0700F3F141 /* Source Control */; … … 83 87 08FB7796FE84155DC02AAC07 /* mogenerator.m */ = { 84 88 uiCtxt = { 85 sepNavIntBoundsRect = "{{0, 0}, {127 4, 5684}}";86 sepNavSelRange = "{ 0, 0}";87 sepNavVisRange = "{ 0, 1657}";89 sepNavIntBoundsRect = "{{0, 0}, {1278, 5922}}"; 90 sepNavSelRange = "{10952, 0}"; 91 sepNavVisRange = "{10552, 1661}"; 88 92 sepNavVisRect = "{{0, 0}, {1057, 777}}"; 89 93 sepNavWindowFrame = "{{1031, 492}, {1096, 835}}"; 90 94 }; 95 }; 96 791C8F410D85C8A3001E8D4C /* PBXBookmark */ = { 97 isa = PBXBookmark; 98 fRef = 08FB7796FE84155DC02AAC07 /* mogenerator.m */; 99 }; 100 791C8F4B0D85CC37001E8D4C /* PBXTextBookmark */ = { 101 isa = PBXTextBookmark; 102 fRef = 08FB7796FE84155DC02AAC07 /* mogenerator.m */; 103 name = "mogenerator.m: 293"; 104 rLen = 0; 105 rLoc = 10952; 106 rType = 0; 107 vrLen = 1661; 108 vrLoc = 10552; 91 109 }; 92 110 79D2BF080ACFAE0100F3F141 /* mogenerator */ = {
