söndag 23 mars 2014

New address, and new library

The original author of JAmiga, Peter Werno, has kindly redirected jamiga.org to this place. The jamiga2 at blogspot address will still function though. But its nice to know that people will find this new site, instead of the old when googling.

New library and new tool to run

I've previously written about my JGit attempts, and I've finally managed to package it all and get it out of my way. You can download the JGit archive from this site, and the new javalangreflect-library is available via AmiUpdate.

What is it, then?

The new native library is nothing special, it only adds one method I found required by the JGit Command Line Tool. The JGit application is just Eclipse's GIT client. And GIT is used by developers for keeping track of their source code (similar to subversion and CVS). I'm not an experienced GIT user, but I have got it to run, and create some directories. I'm hoping some of you Amiga developers with GIT experience, can help me try it out. There might still be things wrong/missing in JAmiga, which hinders it from fully runnning. I've tried it on my Mac, with much the same result.

So, if you're not a developer, this might not be very fun for you.


If you want to try it out, here are some hints and resources which might help you in using it:
  • First, download my JGit archive. The archive contain the JARs needed together with a small script that simply sets the classpath and starts it. Without arguments you'll get usage help.
  • On Eclipse's own page, you can find instructions on how to use the CLI.

It should be noted that the client is mostly developed to be used by other Java code (in an IDE f.i.), so the CLI tool might be a bit limited.

And I'm not claiming that it works; I'm only saying it can do stuff.

2 kommentarer:

  1. Hey, I just tried jgit. We are using git at work and also are doing a lot of Ruby programming, so I tried to mirror the Ruby repository. I got this error:

    jgit clone https://github.com/ruby/ruby.git
    Initialized empty Git repository in WORK:Anwendungen/Programmierung/jgit/ruby/.git
    Exception in thread "main" java.lang.NoSuchMethodError: openConnection
    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)

    So I guess http connection is not yet implemented?
    Anyway, thanks a lot for your amazing efforts with JAmiga! Very appreciated.

    Alex.

    SvaraRadera
    Svar
    1. Hmm. I haven't seen that error yet. I am usually able to make it start downloading stuff, but it doesn't seem to unpack correctly -- so I still haven't got it to fully work. You have all the latest AmiUpdates for Jamiga?

      I'll have to look into to it. But thanks for trying it out!

      Radera