* [egit] How-to use egit
@ 2007-12-12 19:12 Wink Saville
2007-12-13 2:47 ` Jing Xue
0 siblings, 1 reply; 5+ messages in thread
From: Wink Saville @ 2007-12-12 19:12 UTC (permalink / raw)
To: git
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
that I properly installed the plugin. BUT I've never compiled or installed
a plugin by hand before so I may have not done this correctly.
Anyway, I need a small nudge on what to do next or maybe redo what I've
done correctly. Note, currently my entire workspace is in a git repository
and it's config file is:
wink@ic2d1:$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = git://192.168.0.8/eclipse-workspace.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[gui]
geometry = 918x909+633+116 107 218
With the working copy named "workspace".
Cheers,
Wink Saville
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [egit] How-to use egit
2007-12-12 19:12 [egit] How-to use egit Wink Saville
@ 2007-12-13 2:47 ` Jing Xue
2007-12-13 22:35 ` Wink Saville
0 siblings, 1 reply; 5+ messages in thread
From: Jing Xue @ 2007-12-13 2:47 UTC (permalink / raw)
To: Wink Saville; +Cc: git
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?
--
Jing Xue
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [egit] How-to use egit
2007-12-13 2:47 ` Jing Xue
@ 2007-12-13 22:35 ` Wink Saville
2007-12-13 23:24 ` Robin Rosenberg
0 siblings, 1 reply; 5+ messages in thread
From: Wink Saville @ 2007-12-13 22:35 UTC (permalink / raw)
To: git
Jing Xue wrote:
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [egit] How-to use egit
2007-12-13 22:35 ` Wink Saville
@ 2007-12-13 23:24 ` Robin Rosenberg
2007-12-14 0:11 ` Wink Saville
0 siblings, 1 reply; 5+ messages in thread
From: Robin Rosenberg @ 2007-12-13 23:24 UTC (permalink / raw)
To: Wink Saville; +Cc: git
torsdag 13 december 2007 skrev Wink Saville:
> Yes, I selected them all and a single jar was created which
Never seen that behaviour. I'm surprised that would be the default.
When I export I get separate jars.
> 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."
That's all there is for now, but it means the plugin is activated.
> 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.
We do not actually implement any menus in the menu bar. The only menus
are in the context (right click) menu on resources.
Try right-click on a project in the project explorer and the Team menu>Share project.
-- robin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [egit] How-to use egit
2007-12-13 23:24 ` Robin Rosenberg
@ 2007-12-14 0:11 ` Wink Saville
0 siblings, 0 replies; 5+ messages in thread
From: Wink Saville @ 2007-12-14 0:11 UTC (permalink / raw)
To: Robin Rosenberg; +Cc: git
Robin Rosenberg wrote:
> torsdag 13 december 2007 skrev Wink Saville:
>
>> Yes, I selected them all and a single jar was created which
>>
> Never seen that behaviour. I'm surprised that would be the default.
> When I export I get separate jars.
>
>
>> 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."
>>
> That's all there is for now, but it means the plugin is activated.
>
>
>> 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.
>>
>
> We do not actually implement any menus in the menu bar. The only menus
> are in the context (right click) menu on resources.
>
> Try right-click on a project in the project explorer and the Team menu>Share project.
>
> -- robin
>
Got it:
One thing that would be helpful for me is the
relationship between the items in the context menu
and the git commands, it isn't obvious to me.
As a for instance, it seems "Update index (Refresh)"
is a "git add <file>" but what is "Assume unchanged"?
One other thing is there a "git diff" and or "git diff HEAD"?
Thanks,
Wink
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-12-14 0:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12 19:12 [egit] How-to use egit Wink Saville
2007-12-13 2:47 ` Jing Xue
2007-12-13 22:35 ` Wink Saville
2007-12-13 23:24 ` Robin Rosenberg
2007-12-14 0:11 ` Wink Saville
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).