{"id":76,"date":"2008-11-14T10:28:36","date_gmt":"2008-11-14T15:28:36","guid":{"rendered":"http:\/\/jaimerios.com\/?p=76"},"modified":"2008-11-14T10:28:36","modified_gmt":"2008-11-14T15:28:36","slug":"i-just-learned-something-magical","status":"publish","type":"post","link":"https:\/\/jaimerios.com\/?p=76","title":{"rendered":"I just learned something magical!"},"content":{"rendered":"<p>I use Xcode 3.1.1 at work and it does not work well with Perforce, which is sad because I really love Perforce.<\/p>\n<p>So, I have been using an application that a co-worker told me about called <a title=\"Command line from anywhere\" href=\"http:\/\/decimus.net\/dterm.php\" target=\"_blank\" rel=\"noopener\">DTerm<\/a> to help me check out files held in Perforce. This program is a great utility in that it allows me to invoke a command from anywhere in the Mac OS or in any program. If I have a file selected in a Xcode project and then I bring up DTerm, I can type &#8220;p4 edit&#8221; then hit Cmd+Shift+V to enter the name of the file I have highlighted. Hooray!<\/p>\n<p>However, you can&#8217;t do this with project files. Xcode won&#8217;t let you select the project file so that you can check out the file, which is actually a folder in disguise. Boooo!<\/p>\n<p>For each of my projects, I have a folder for the platform I am targeting. So for the Mac, I have a folder named &#8220;mac&#8221; which has my project file, objects and output binaries. A lot of times I check out the entire directory using P4V since I need to overwrite the libraries that are in there.<\/p>\n<p>Today, I discovered how you can check a directories contents in one fell swoop: &#8220;p4 edit &#8230;&#8221;. Oh. My. God! This is great! This is awesome! You don&#8217;t know how much time I just saved by doing that!<\/p>\n<p>If you get anything out of this entry is that &#8220;p4 edit &#8230;&#8221; is awesome. Now don&#8217;t abuse that power or you&#8217;re liable of getting into trouble.<\/p>\n<p>Happy coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I use Xcode 3.1.1 at work and it does not work well with Perforce, which is sad because I really love Perforce. So, I have been using an application that a co-worker told me about called DTerm to help me check out files held in Perforce. This program is a great utility in that it &#8230; <a title=\"I just learned something magical!\" class=\"read-more\" href=\"https:\/\/jaimerios.com\/?p=76\" aria-label=\"Read more about I just learned something magical!\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[115,341,349,506,507,508],"class_list":["post-76","post","type-post","status-publish","format-standard","hentry","category-coding","tag-checking-out-a-folder","tag-p4-edit","tag-perforce","tag-xcode","tag-xcode-3","tag-xcode-311"],"_links":{"self":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts\/76","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=76"}],"version-history":[{"count":0,"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts\/76\/revisions"}],"wp:attachment":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=76"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=76"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=76"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}