git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [egit] How-to use egit

From
Wink Saville <wink@saville.com>
Date
Dec 13, 2007, 22:35 UTC
Message-ID
<4761B3B2.4040807@saville.com>
In-Reply-To
<20071213024735.GB7492@fawkes>
Jing Xue wrote:
Show 26 quoted lines
> On Wed, Dec 12, 2007 at 11:12:34AM -0800, Wink Saville wrote:
>   
>> Robin et. al,
>>
>>
>> I cloned egit from git://repo.or.cz/egit and imported it into my workspace
>> following the instructions in INSTALL I did successfully compile although
>> there were 1115 warnings but no compilation errors.
>>
>> I then exported to a archive org.spearce.egit.jar and then copied this file
>> to /usr/eclipse/plugin/ I then restarted Eclipse. But I don't see any 
>> evidence
>>     
>
> I have five jars:
>
> /opt/eclipse/plugins$ ll org.spearce*
> -rw-r----- 1 jingxue jingxue 2.5K 2007-12-01 20:45 org.spearce.egit_0.3.0.200712020145.jar
> -rw-r----- 1 jingxue jingxue  70K 2007-12-01 20:45 org.spearce.egit.core_0.3.0.200712020145.jar
> -rw-r----- 1 jingxue jingxue  14K 2007-12-01 20:45 org.spearce.egit.core.test_0.3.0.200712020145.jar
> -rw-r----- 1 jingxue jingxue 107K 2007-12-01 20:45 org.spearce.egit.ui_0.3.0.200712020145.jar
> -rw-r----- 1 jingxue jingxue 223K 2007-12-01 20:45 org.spearce.jgit_0.3.0.200712020145.jar
>
> Did you select all the org.spearce projects before exporting?
>
>   

Yes, I selected them all and a single jar was created which I put in /usr/eclipse/plughins, which apparently was a mistake. I've now unzipped the jar and placed the 5 jars in the plugin directory:

wink@ic2d1:$ pwd /usr/eclipse/plugins wink@ic2d1:$ ls -l *spearce* -rw-r--r-- 1 root root 2506 2007-12-13 13:54 org.spearce.egit_0.3.0.200712121008.jar -rw-r--r-- 1 root root 71396 2007-12-13 13:54 org.spearce.egit.core_0.3.0.200712121008.jar -rw-r--r-- 1 root root 13899 2007-12-13 13:54 org.spearce.egit.core.test_0.3.0.200712121008.jar -rw-r--r-- 1 root root 108661 2007-12-13 13:54 org.spearce.egit.ui_0.3.0.200712121008.jar -rw-r--r-- 1 root root 227877 2007-12-13 13:54 org.spearce.jgit_0.3.0.200712121008.jar

I then started eclipse and now I see: Window/Preferences/Team/Git When I select "Git" in the above, I see "Hi, I'm an empty preference page."

Now what; currently I have my entire workspace in git:

wink@ic2d1:$ ls -al total 36 drwxr-xr-x 9 wink wink 4096 2007-12-12 14:54 . drwxr-xr-x 69 wink wink 4096 2007-12-13 14:22 .. drwxr-xr-x 9 wink wink 4096 2007-12-12 15:09 android drwxr-xr-x 3 wink wink 4096 2007-12-10 21:58 com drwxr-xr-x 8 wink wink 4096 2007-12-13 14:21 .git drwxr-xr-x 3 wink wink 4096 2007-12-12 10:45 .metadata drwxr-xr-x 4 wink wink 4096 2007-12-10 21:58 test0 drwxr-xr-x 2 wink wink 4096 2007-12-10 21:58 test1 drwxr-xr-x 5 wink wink 4096 2007-12-13 14:22 testStdJavaDebug

But how do I tell the plugin where my repo is? I also tried making a git repo in testStdJavaDebug:

wink@ic2d1:$ ls -al total 28 drwxr-xr-x 5 wink wink 4096 2007-12-13 14:22 . drwxr-xr-x 9 wink wink 4096 2007-12-12 14:54 .. drwxr-xr-x 3 wink wink 4096 2007-12-10 22:03 bin -rw-r--r-- 1 wink wink 226 2007-12-10 21:58 .classpath drwxr-xr-x 8 wink wink 4096 2007-12-13 14:22 .git -rw-r--r-- 1 wink wink 375 2007-12-10 21:58 .project drwxr-xr-x 3 wink wink 4096 2007-12-10 21:58 src

But again, I don't see any new menu items that would allow me to look at history or make commits. Is there more I need to to install the plugin, or maybe I just need a little guidance on how to use it.

Thanks,
Wink
Previous: Jing XueNext: Robin Rosenberg
Message 3 of 5 in “[egit] How-to use egit”
  1. Wink SavilleDec 12, 2007
  2. Jing XueDec 13, 2007
  3. Wink SavilleDec 13, 2007
  4. Robin RosenbergDec 13, 2007
  5. Wink SavilleDec 14, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.