{"thread":{"id":"11263","subject":"[egit] How-to use egit","startedAt":"2007-12-12T19:12:34Z","lastAt":"2007-12-14T00:11:30Z","messageCount":5,"participants":["Wink Saville","Jing Xue","Robin Rosenberg"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"62951","messageId":"476032A2.9010308@saville.com","threadId":"11263","inReplyTo":null,"subject":"[egit] How-to use egit","fromName":"Wink Saville","fromEmail":"wink@saville.com","sentAt":"2007-12-12T19:12:34Z","receivedAt":"2007-12-12T19:12:34Z","isPatch":false,"sender":{"key":"wink@saville.com","avatar":"https://avatars.githubusercontent.com/u/1024284?v=4"},"body":"Robin et. al,\n\n\nI cloned egit from git://repo.or.cz/egit and imported it into my workspace\nfollowing the instructions in INSTALL I did successfully compile although\nthere were 1115 warnings but no compilation errors.\n\nI then exported to a archive org.spearce.egit.jar and then copied this file\nto /usr/eclipse/plugin/ I then restarted Eclipse. But I don't see any \nevidence\nthat I properly installed the plugin. BUT I've never compiled or installed\na plugin by hand before so I may have not done this correctly.\n\nAnyway, I need a small nudge on what to do next or maybe redo what I've\ndone correctly. Note, currently my entire workspace is in a git repository\nand it's config file is:\n\nwink@ic2d1:$ cat .git/config\n[core]\n        repositoryformatversion = 0\n        filemode = true\n        bare = false\n        logallrefupdates = true\n[remote \"origin\"]\n        url = git://192.168.0.8/eclipse-workspace.git\n        fetch = +refs/heads/*:refs/remotes/origin/*\n[branch \"master\"]\n        remote = origin\n        merge = refs/heads/master\n[gui]\n        geometry = 918x909+633+116 107 218\n\nWith the working copy named \"workspace\".\n\nCheers,\n\nWink Saville\n"},{"id":"62974","messageId":"20071213024735.GB7492@fawkes","threadId":"11263","inReplyTo":"476032A2.9010308@saville.com","subject":"Re: [egit] How-to use egit","fromName":"Jing Xue","fromEmail":"jingxue@digizenstudio.com","sentAt":"2007-12-13T02:47:35Z","receivedAt":"2007-12-13T02:47:35Z","isPatch":false,"sender":{"key":"jingxue@digizenstudio.com","avatar":null},"body":"On Wed, Dec 12, 2007 at 11:12:34AM -0800, Wink Saville wrote:\n> Robin et. al,\n>\n>\n> I cloned egit from git://repo.or.cz/egit and imported it into my workspace\n> following the instructions in INSTALL I did successfully compile although\n> there were 1115 warnings but no compilation errors.\n>\n> I then exported to a archive org.spearce.egit.jar and then copied this file\n> to /usr/eclipse/plugin/ I then restarted Eclipse. But I don't see any \n> evidence\n\nI have five jars:\n\n/opt/eclipse/plugins$ ll org.spearce*\n-rw-r----- 1 jingxue jingxue 2.5K 2007-12-01 20:45 org.spearce.egit_0.3.0.200712020145.jar\n-rw-r----- 1 jingxue jingxue  70K 2007-12-01 20:45 org.spearce.egit.core_0.3.0.200712020145.jar\n-rw-r----- 1 jingxue jingxue  14K 2007-12-01 20:45 org.spearce.egit.core.test_0.3.0.200712020145.jar\n-rw-r----- 1 jingxue jingxue 107K 2007-12-01 20:45 org.spearce.egit.ui_0.3.0.200712020145.jar\n-rw-r----- 1 jingxue jingxue 223K 2007-12-01 20:45 org.spearce.jgit_0.3.0.200712020145.jar\n\nDid you select all the org.spearce projects before exporting?\n\n-- \nJing Xue\n"},{"id":"63059","messageId":"4761B3B2.4040807@saville.com","threadId":"11263","inReplyTo":"20071213024735.GB7492@fawkes","subject":"Re: [egit] How-to use egit","fromName":"Wink Saville","fromEmail":"wink@saville.com","sentAt":"2007-12-13T22:35:30Z","receivedAt":"2007-12-13T22:35:30Z","isPatch":false,"sender":{"key":"wink@saville.com","avatar":"https://avatars.githubusercontent.com/u/1024284?v=4"},"body":"Jing Xue wrote:\n> On Wed, Dec 12, 2007 at 11:12:34AM -0800, Wink Saville wrote:\n>   \n>> Robin et. al,\n>>\n>>\n>> I cloned egit from git://repo.or.cz/egit and imported it into my workspace\n>> following the instructions in INSTALL I did successfully compile although\n>> there were 1115 warnings but no compilation errors.\n>>\n>> I then exported to a archive org.spearce.egit.jar and then copied this file\n>> to /usr/eclipse/plugin/ I then restarted Eclipse. But I don't see any \n>> evidence\n>>     \n>\n> I have five jars:\n>\n> /opt/eclipse/plugins$ ll org.spearce*\n> -rw-r----- 1 jingxue jingxue 2.5K 2007-12-01 20:45 org.spearce.egit_0.3.0.200712020145.jar\n> -rw-r----- 1 jingxue jingxue  70K 2007-12-01 20:45 org.spearce.egit.core_0.3.0.200712020145.jar\n> -rw-r----- 1 jingxue jingxue  14K 2007-12-01 20:45 org.spearce.egit.core.test_0.3.0.200712020145.jar\n> -rw-r----- 1 jingxue jingxue 107K 2007-12-01 20:45 org.spearce.egit.ui_0.3.0.200712020145.jar\n> -rw-r----- 1 jingxue jingxue 223K 2007-12-01 20:45 org.spearce.jgit_0.3.0.200712020145.jar\n>\n> Did you select all the org.spearce projects before exporting?\n>\n>   \nYes, I selected them all and a single jar was created which\nI put in /usr/eclipse/plughins, which apparently was a mistake.\nI've now unzipped the jar and placed the 5 jars in the plugin directory:\n\nwink@ic2d1:$ pwd\n/usr/eclipse/plugins\nwink@ic2d1:$ ls -l *spearce*\n-rw-r--r-- 1 root root   2506 2007-12-13 13:54 \norg.spearce.egit_0.3.0.200712121008.jar\n-rw-r--r-- 1 root root  71396 2007-12-13 13:54 \norg.spearce.egit.core_0.3.0.200712121008.jar\n-rw-r--r-- 1 root root  13899 2007-12-13 13:54 \norg.spearce.egit.core.test_0.3.0.200712121008.jar\n-rw-r--r-- 1 root root 108661 2007-12-13 13:54 \norg.spearce.egit.ui_0.3.0.200712121008.jar\n-rw-r--r-- 1 root root 227877 2007-12-13 13:54 \norg.spearce.jgit_0.3.0.200712121008.jar\n\nI then started eclipse and now I see: Window/Preferences/Team/Git\nWhen I select \"Git\" in the above, I see \"Hi, I'm an empty preference page.\"\n\nNow what; currently I have my entire workspace in git:\n\nwink@ic2d1:$ ls -al\ntotal 36\ndrwxr-xr-x  9 wink wink 4096 2007-12-12 14:54 .\ndrwxr-xr-x 69 wink wink 4096 2007-12-13 14:22 ..\ndrwxr-xr-x  9 wink wink 4096 2007-12-12 15:09 android\ndrwxr-xr-x  3 wink wink 4096 2007-12-10 21:58 com\ndrwxr-xr-x  8 wink wink 4096 2007-12-13 14:21 .git\ndrwxr-xr-x  3 wink wink 4096 2007-12-12 10:45 .metadata\ndrwxr-xr-x  4 wink wink 4096 2007-12-10 21:58 test0\ndrwxr-xr-x  2 wink wink 4096 2007-12-10 21:58 test1\ndrwxr-xr-x  5 wink wink 4096 2007-12-13 14:22 testStdJavaDebug\n\nBut how do I tell the plugin where my repo is?\nI also tried making a git repo in testStdJavaDebug:\n\nwink@ic2d1:$ ls -al\ntotal 28\ndrwxr-xr-x 5 wink wink 4096 2007-12-13 14:22 .\ndrwxr-xr-x 9 wink wink 4096 2007-12-12 14:54 ..\ndrwxr-xr-x 3 wink wink 4096 2007-12-10 22:03 bin\n-rw-r--r-- 1 wink wink  226 2007-12-10 21:58 .classpath\ndrwxr-xr-x 8 wink wink 4096 2007-12-13 14:22 .git\n-rw-r--r-- 1 wink wink  375 2007-12-10 21:58 .project\ndrwxr-xr-x 3 wink wink 4096 2007-12-10 21:58 src\n\nBut again, I don't see any new menu items that\nwould allow me to look at history or make commits.\nIs there more I need to to install the plugin, or\nmaybe I just need a little guidance on how to use it.\n\nThanks,\n\nWink\n"},{"id":"63061","messageId":"200712140024.20667.robin.rosenberg.lists@dewire.com","threadId":"11263","inReplyTo":"4761B3B2.4040807@saville.com","subject":"Re: [egit] How-to use egit","fromName":"Robin Rosenberg","fromEmail":"robin.rosenberg.lists@dewire.com","sentAt":"2007-12-13T23:24:20Z","receivedAt":"2007-12-13T23:24:20Z","isPatch":false,"sender":{"key":"robin.rosenberg@dewire.com","avatar":"https://avatars.githubusercontent.com/u/46357?v=4"},"body":"torsdag 13 december 2007 skrev Wink Saville:\n> Yes, I selected them all and a single jar was created which\nNever seen that behaviour. I'm surprised that would be the default.\nWhen I export I get separate jars.\n\n> I then started eclipse and now I see: Window/Preferences/Team/Git\n> When I select \"Git\" in the above, I see \"Hi, I'm an empty preference page.\"\nThat's all there is for now, but it means the plugin is activated.\n\n> But again, I don't see any new menu items that\n> would allow me to look at history or make commits.\n> Is there more I need to to install the plugin, or\n> maybe I just need a little guidance on how to use it.\n\nWe do not actually implement any menus in the menu bar. The only menus\nare in the context (right click) menu on resources.\n\nTry right-click on a project in the project explorer and the Team menu>Share project.\n\n-- robin\n"},{"id":"63064","messageId":"4761CA32.80702@saville.com","threadId":"11263","inReplyTo":"200712140024.20667.robin.rosenberg.lists@dewire.com","subject":"Re: [egit] How-to use egit","fromName":"Wink Saville","fromEmail":"wink@saville.com","sentAt":"2007-12-14T00:11:30Z","receivedAt":"2007-12-14T00:11:30Z","isPatch":false,"sender":{"key":"wink@saville.com","avatar":"https://avatars.githubusercontent.com/u/1024284?v=4"},"body":"Robin Rosenberg wrote:\n> torsdag 13 december 2007 skrev Wink Saville:\n>   \n>> Yes, I selected them all and a single jar was created which\n>>     \n> Never seen that behaviour. I'm surprised that would be the default.\n> When I export I get separate jars.\n>\n>   \n>> I then started eclipse and now I see: Window/Preferences/Team/Git\n>> When I select \"Git\" in the above, I see \"Hi, I'm an empty preference page.\"\n>>     \n> That's all there is for now, but it means the plugin is activated.\n>\n>   \n>> But again, I don't see any new menu items that\n>> would allow me to look at history or make commits.\n>> Is there more I need to to install the plugin, or\n>> maybe I just need a little guidance on how to use it.\n>>     \n>\n> We do not actually implement any menus in the menu bar. The only menus\n> are in the context (right click) menu on resources.\n>\n> Try right-click on a project in the project explorer and the Team menu>Share project.\n>\n> -- robin\n>   \nGot it:\n\nOne thing that would be helpful for me is the\nrelationship between the items in the context menu\nand the git commands, it isn't obvious to me.\n\nAs a for instance, it seems \"Update index (Refresh)\"\nis a \"git add <file>\" but what is \"Assume unchanged\"?\n\nOne other thing is there a \"git diff\" and or \"git diff HEAD\"?\n\nThanks,\n\nWink\n"}]}