| Using EGit - basics [message #8609] |
Wed, 10 June 2009 23:59  |
Jay Strauss Messages: 2 Registered: July 2009 |
Junior Member |
|
|
Hi, sorry I'm a total noob.
I'm just starting to play with eclipse (Version: 3.4.2) and GIT (1.6.3)
and EGIT (0.4.0 I think). I don't seem to be able to "add" or "commit"
within eclipse (after installing the EGIT plugin).
When I try to "add" an "(untracked)" file via Team->Track(add) I get an
empty popup with an "OK" button. It looks like the title says "Track
fa..." which I'm guessing is "track failed"
If add the file using GIT from the command line, EGIT recognizes the
change and removes the "(untracked)". If I go ahead and now try to
commit, I get the error: Error occurred while committing Reason: Writing
trees.
Am I doing something wrong, or are these functionalities missing at this
point?
Thanks for the help
Jay
|
|
|
|
| Re: Using EGit - basics [message #481587 is a reply to message #8620] |
Fri, 21 August 2009 12:40   |
|
Originally posted by: eclipse.johnandcailin.com
I also see this same behavior.
When I try to do Team -> Add to Version Control on any file, I get a popup
error window that is empty. The title of the error window is "Track fail".
No corresponding error message appears in the Eclipse error log (at
metadata/.plugins/org.eclipse.ui.workbench/log).
I see this same behavior on both Eclipse 3.4 and Eclipse 3.5.
|
|
|
| Re: Using EGit - basics [message #481603 is a reply to message #481587] |
Fri, 21 August 2009 13:54   |
|
Originally posted by: eclipse.johnandcailin.com
Sorry, I also should have mentioned the following :
1. This is eGit on Windows Vista with either Eclipse 3.4 and Eclipse 3.5
2. The directory structure is as follows
EclipseWorkRoot
/git-demo
.git
README.txt
/demo
README.txt
I can't add either of the README.txt or the /demo folder to source control.
The internals of my .git directory look healthy, showing all the usual
sub-directories.
|
|
|
|
| Re: Using EGit - basics [message #483284 is a reply to message #481617] |
Mon, 31 August 2009 17:04   |
|
Originally posted by: eclipse.johnandcailin.com
Sorry for the delayed reply (vacation). I've followed your instructions
and run eclipsec.exe on the command line. I see the following :
2009-08-31 10:38:12.144::INFO: jetty-6.1.11
2009-08-31 10:38:12.146::INFO: Started SocketConnector@127.0.0.1:8501
2009-08-31 10:38:12.153::INFO: Started SocketConnector@127.0.0.1:8601
org.spearce.jgit.errors.ObjectWritingException: Unable to create new
object: M:\
WorkRoot\git-demo\.git\objects\e6\9de29bb2d1d6434b8b29ae775a d8c2e48c5391
at
org.spearce.jgit.lib.ObjectWriter.writeObject(ObjectWriter.j ava:397)
at
org.spearce.jgit.lib.ObjectWriter.writeBlob(ObjectWriter.jav a:128)
at
org.spearce.jgit.lib.ObjectWriter.writeBlob(ObjectWriter.jav a:110)
at org.spearce.jgit.lib.GitIndex$Entry.<init>(GitIndex.java:385)
at org.spearce.jgit.lib.GitIndex.add(GitIndex.java:167)
at
org.eclipse.egit.core.op.TrackOperation.run(TrackOperation.j ava:117)
at org.eclipse.egit.ui.internal.actions.Track$1.run(Track.java: 41)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(Modal
Context.java:121)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: Using EGit - basics [message #577135 is a reply to message #8609] |
Mon, 01 February 2010 10:20  |
Jimbolino Messages: 2 Registered: February 2010 |
Junior Member |
|
|
Hi,
I too have the same problem.
EGit: 0.6.0.201001232236
The problem appears when i chose "Add to Version Control"
An error box "Track failed", without further text appears.
Eclipsec.exe output:
org.eclipse.jgit.errors.ObjectWritingException: Unable to create new object: Z:\www\test\.git\objects\f6\d7651e2766bcf93301b09bd3fb5de06a 8f8ec9
at org.eclipse.jgit.lib.ObjectWriter.writeObject(ObjectWriter.j ava:398)
at org.eclipse.jgit.lib.ObjectWriter.writeBlob(ObjectWriter.jav a:125)
at org.eclipse.jgit.lib.ObjectWriter.writeBlob(ObjectWriter.jav a:107)
at org.eclipse.jgit.lib.GitIndex$Entry.<init>(GitIndex.java:385)
at org.eclipse.jgit.lib.GitIndex.add(GitIndex.java:167)
at org.eclipse.egit.core.op.TrackOperation.run(TrackOperation.j ava:117)
at org.eclipse.egit.ui.internal.actions.Track$1.run(Track.java: 41)
at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:121)
I've tried the changes to the samba config, but they don't seem to work.
|
|
|
Powered by
FUDForum. Page generated in 0.02200 seconds