{"id":1505,"date":"2011-02-13T01:50:09","date_gmt":"2011-02-12T20:20:09","guid":{"rendered":"http:\/\/JitendraZaa.com\/blog\/?p=1505"},"modified":"2011-02-13T01:50:09","modified_gmt":"2011-02-12T20:20:09","slug":"locate-source-file-on-local-disc-in-eclipse-external-tool","status":"publish","type":"post","link":"https:\/\/www.jitendrazaa.com\/blog\/others\/tips\/locate-source-file-on-local-disc-in-eclipse-external-tool\/","title":{"rendered":"Locate source file on Local Disc in Eclipse &#8211; External tool"},"content":{"rendered":"<p>In eclipse, it is common requirement to open the<strong> folder containing source file<\/strong> but there is no direct method to do that like in Visual studio of Microsoft.<\/p>\n<p>In this tutorial, i will explain how to achieve this with the help of <strong>External tools <\/strong>in Eclipse.<\/p>\n<p>Go to <strong>Run | External Tools | External Tools Configurations<\/strong><\/p>\n<figure id=\"attachment_1507\" aria-describedby=\"caption-attachment-1507\" style=\"width: 442px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2011\/02\/External-Tools-Configurations-Eclipse.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1507 \" title=\"External Tools Configurations Eclipse\" src=\"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2011\/02\/External-Tools-Configurations-Eclipse.jpg?resize=442%2C480&#038;ssl=1\" alt=\"External Tools Configurations Eclipse\" width=\"442\" height=\"480\" \/><\/a><figcaption id=\"caption-attachment-1507\" class=\"wp-caption-text\">External Tools Configurations Eclipse<\/figcaption><\/figure>\n<p><!--more-->Then New Window open, Give the name of new External tool, in Location text box type : <strong> &#8220;${env_var:SystemRoot}explorer.exe<\/strong>&#8221;<\/p>\n<p>and in argument text box write:<strong> &#8220;\/select,${resource_loc}&#8221;<\/strong><\/p>\n<figure id=\"attachment_1508\" aria-describedby=\"caption-attachment-1508\" style=\"width: 502px\" class=\"wp-caption aligncenter\"><strong><a href=\"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2011\/02\/External-Tools-Configurations-Eclipse-Create-New.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1508 \" title=\"External Tools Configurations Eclipse Create New\" src=\"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2011\/02\/External-Tools-Configurations-Eclipse-Create-New.jpg?resize=502%2C402&#038;ssl=1\" alt=\"External Tools Configurations Eclipse Create New\" width=\"502\" height=\"402\" \/><\/a><\/strong><figcaption id=\"caption-attachment-1508\" class=\"wp-caption-text\">External Tools Configurations Eclipse Create New<\/figcaption><\/figure>\n<p>Then select tab &#8220;common&#8221; and as per below image make the settings.<\/p>\n<figure id=\"attachment_1509\" aria-describedby=\"caption-attachment-1509\" style=\"width: 628px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2011\/02\/External-Tools-Configurations-Eclipse-Create-New-Screen-2.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1509 \" title=\"External Tools Configurations Eclipse Create New Screen 2\" src=\"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2011\/02\/External-Tools-Configurations-Eclipse-Create-New-Screen-2.jpg?resize=628%2C503&#038;ssl=1\" alt=\"External Tools Configurations Eclipse Create New Screen 2\" width=\"628\" height=\"503\" \/><\/a><figcaption id=\"caption-attachment-1509\" class=\"wp-caption-text\">External Tools Configurations Eclipse Create New Screen 2<\/figcaption><\/figure>\n<p>This external tool will open the source file containing folder.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Locate source file on Local Disc in Eclipse &#8211; External tool<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"jz_research_post":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17],"tags":[86],"class_list":["post-1505","post","type-post","status-publish","format-standard","hentry","category-tips","tag-eclipse"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3231,"url":"https:\/\/www.jitendrazaa.com\/blog\/java\/creating-first-application-in-heroku-using-eclipse\/","url_meta":{"origin":1505,"position":0},"title":"Creating First Application in Heroku using Eclipse","author":"Jitendra","date":"March 3, 2013","format":false,"excerpt":"Hello Readers, in this article we will see step by step procedure to deploy your first (Hello World) program in Heroku. There are two ways, first going through series of Commands of \"Heroku\" and \"GIT\" and other simple and smart way is to use Eclipse Capability with Heroku. To make\u2026","rel":"","context":"In &quot;JAVA&quot;","block_context":{"text":"JAVA","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/java\/"},"img":{"alt_text":"Setting up Credentials for Heroku in Eclipse","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2013\/03\/Setting-up-Credentials-for-Heroku-in-Eclipse.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2013\/03\/Setting-up-Credentials-for-Heroku-in-Eclipse.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2013\/03\/Setting-up-Credentials-for-Heroku-in-Eclipse.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2347,"url":"https:\/\/www.jitendrazaa.com\/blog\/java\/hibernate\/step-by-step-hibernate-tutorial-using-eclipse-wtp\/","url_meta":{"origin":1505,"position":1},"title":"Step By Step Hibernate Tutorial Using eclipse WTP","author":"Jitendra","date":"August 8, 2011","format":false,"excerpt":"Step By Step Hibernate (ORM Tool) Tutorial Using eclipse WTP","rel":"","context":"In &quot;Hibernate&quot;","block_context":{"text":"Hibernate","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/java\/hibernate\/"},"img":{"alt_text":"Eclipse Install New Software - Hibernate","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2011\/08\/Eclipse-Install-New-Software-Hibernate.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":3902,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/automated-daily-backup-using-ant-migration-tool-and-git\/","url_meta":{"origin":1505,"position":2},"title":"Automated Daily Backup of Salesforce Using ANT Migration Tool and GIT","author":"Jitendra","date":"July 5, 2014","format":false,"excerpt":"In few\u00a0previous articles, I have talked about how to use \"ANT Migration tool in Salesforce\" and \"How to Use EGit plugin in Eclipse to work with Git\". So to make this article short, I assume that you are already familiar with ANT Migration tool provided by Salesforce and Git. During\u2026","rel":"","context":"In &quot;Configuration&quot;","block_context":{"text":"Configuration","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/configuration\/"},"img":{"alt_text":"Salesforce Automated Script for Data Backup Using CommandLine","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/07\/Salesforce-Automated-Script-for-Data-Backup-Using-CommandLine.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/07\/Salesforce-Automated-Script-for-Data-Backup-Using-CommandLine.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/07\/Salesforce-Automated-Script-for-Data-Backup-Using-CommandLine.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":3086,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/salesforce-git-eclipse-egit-better-and-distributed-source-control\/","url_meta":{"origin":1505,"position":3},"title":"Salesforce + Git + Eclipse + EGIT = Better and Distributed Source Control","author":"Jitendra","date":"September 16, 2012","format":false,"excerpt":"During my J2EE and .Net days, I was much dependent on the subversion repository. I had never thought my code without SVN. When I moved to Salesforce few years back, the first thing I missed is code repository to have better source code control. As svn creates either \".svn\"\u009d or\u2026","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Architecture of GIT","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/09\/Architecture-of-GIT.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":3225,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/edit-static-resource-inside-force-com-ide-itself\/","url_meta":{"origin":1505,"position":4},"title":"Edit Static Resource inside Force.com IDE Itself","author":"Jitendra","date":"March 3, 2013","format":false,"excerpt":"This tutorial is regarding editing of static resources inside eclipse itself. Normally if we want to edit any file inside zip, first we have to extract and edit the file, zip it again and reload into static resource. To save this round trips and time consuming process I found one\u2026","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Static Resource in Eclipse Before Plugin","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2013\/03\/Static-Resource-in-Eclipse-Before-Plugin.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2013\/03\/Static-Resource-in-Eclipse-Before-Plugin.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2013\/03\/Static-Resource-in-Eclipse-Before-Plugin.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":4165,"url":"https:\/\/www.jitendrazaa.com\/blog\/java\/generating-executable-jar-file-with-all-dependencies-and-libraries-in-single-jar-using-netbeans-and-eclipse\/","url_meta":{"origin":1505,"position":5},"title":"Generating Single Executable jar file with all dependencies and libraries using Netbeans and Eclipse","author":"Jitendra","date":"January 19, 2015","format":false,"excerpt":"Generating Single Jar file with all dependencies in Eclipse is easy. We just need to follow below steps : Either from the context menu or from the menu bar's File menu, select Export. Expand the Java node and select JAR file. Click Next. In the JAR File Specification page, select\u2026","rel":"","context":"In &quot;JAVA&quot;","block_context":{"text":"JAVA","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/java\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/1505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/comments?post=1505"}],"version-history":[{"count":0,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/1505\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media?parent=1505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/categories?post=1505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/tags?post=1505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}