Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
69 user(s) are online (63 user(s) are browsing Forums)

Members: 1
Guests: 68

BCP, more...
Support us!
Recent OS4 Files
OS4Depot.net





New library and GIT client
Just popping in
Joined:
2007/7/30 21:55
From Sweden
Posts: 180
On www.jamiga.org (sic!) you can find an archive with the Eclipse JGIT client. I don't know how it works exactly, but I've managed to create some directories with it and seeminlgy started to download stuff.

But I'm rellay not a GIT user, so I have no good knowledge of GIT trees and repos. So if anyone with some GIT knowledge could try this out, I'd be very grateful!
The GIT client can be downloaded from the blog.

The client requires the new native library available in AmiUpdate.


Edited by jaokim on 2014/3/23 17:28:07
_________________
Maintainer and developer for Jamiga2 - Java for Amiga
   Report Go to top

Re: New library and GIT client
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2878
@jaokim

Oooooh, sweet...

On it...


_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: New library and GIT client
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2878
@jaokim

Ok. This is a *very* cpu hungry beast

First of all, if i start it from anywhere else than the installed dir i get errors:

7.Development:Coding/JAVAjgit/jgit 
Exception in thread 
"main" java.lang.NoClassDefFoundErrororg/eclipse/jgit/pgm/Main
   
<<No stacktrace available>>
Caused byjava.lang.ClassNotFoundExceptionorg.eclipse.jgit.pgm.Main not found in java.lang.ClassLoader$1{urls=[file:Development:Coding/JAVA/org.eclipse.jgit.pgm_3.2.0.201312181205-r.jar,file:Development:Coding/JAVA/org.eclipse.jgit_3.2.0.201312181205-r.jar,file:Development:Coding/JAVA/org.kohsuke.args4j_2.0.21.v201301150030.jar,file:Development:Coding/JAVA/org.eclipse.jgit.ui_3.2.0.201312181205-r.jar], parent=null}
   
at java.net.URLClassLoader.findClass(URLClassLoader.java:531)
   
at java.lang.ClassLoader.loadClass(ClassLoader.java:341)
   
at java.lang.ClassLoader$1.loadClass(ClassLoader.java:1112)
   
at java.lang.ClassLoader.loadClass(ClassLoader.java:293)


If i try to clone a project (only possible from within the installed dir, see above) i get an error requester asking for

Please insert volume
/GCC/bin:
in any drive

Process: 382 "jamvm"

and i get errors as well

7.Development:Coding/JAVA/jgitjgit clone https://github.com/residualvm/residualvm.git   
Initialized empty Git repository in Development:Coding/JAVA/jgit/residualvm/.git
Exception in thread 
"main" java.lang.NoSuchMethodErroropenConnection
   at org
.eclipse.jgit.transport.TransportHttp.httpOpen(TransportHttp.java:519)
   
at org.eclipse.jgit.transport.TransportHttp.httpOpen(TransportHttp.java:504)
   
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:455)
   
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:308)
   
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
   
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
   
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1111)
   
at org.eclipse.jgit.pgm.Clone.runFetch(Clone.java:154)
   
at org.eclipse.jgit.pgm.Clone.run(Clone.java:124)
   
at org.eclipse.jgit.pgm.TextBuiltin.execute(TextBuiltin.java:174)
   
at org.eclipse.jgit.pgm.Main.execute(Main.java:221)
   
at org.eclipse.jgit.pgm.Main.run(Main.java:124)
   
at org.eclipse.jgit.pgm.Main.main(Main.java:98)

OK, granted, it might not understand https:

I get a little further with using git: instead, but it still errors out

7.Development:Coding/JAVA/jgitjgit clone git://github.com/residualvm/residualvm.git
Initialized empty Git repository in Development:Coding/JAVA/jgit/residualvm/.git
getpeername len
:0
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
getpeername len
:4
fatal
null
fatal
null


_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: New library and GIT client
Home away from home
Joined:
2006/11/20 16:26
From Norway
Posts: 2639
@jaokim

interesting and useful tool.
Excellent work.

_________________
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
   Report Go to top

Re: New library and GIT client
Just popping in
Joined:
2007/7/30 21:55
From Sweden
Posts: 180
@Raziel
Thanks for trying it out!
I've come a bit longer; it looks as though the client is downloading stuff, but I get no files. I really have to try it more on my Mac (or Linux with jamvm and GNU Classpath), just so I'm not trying anything that isn't supposed to not work.

_________________
Maintainer and developer for Jamiga2 - Java for Amiga
   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project