USGCRP / gcis-ontology

Ontology for the Global Change Information System
4 stars 7 forks source link

better jena url #111

Closed bduggan closed 9 years ago

bduggan commented 9 years ago

Better Jena URL

bduggan commented 9 years ago

I need some help understanding this:

Error: Could not find or load main class riotcmd.riot

zednis commented 9 years ago

I should have asked this earlier, but why call that directory 't'?

bduggan commented 9 years ago

On Friday, July 31, Stephan Zednik wrote:

I should have asked this earlier, but why call that directory 't'?

't' for tests (this is the convention used by modules on CPAN).

zednis commented 9 years ago

OK, what we needed to do was build the sources from github to create the binary distribution .tar.gz and then install from that package in the same way we had been installing from the mirror.

It takes a long time to run the tests to build the binary distribution so I recommend that we build a binary distribution ourselves (I already did this locally) and host the binary distribution at a URL we control. Then the install during Travis-CI will proceed the same way as it did before with the mirror.

@bduggan I will send you a temporary dropbox link to the binary distribution file via email.

bduggan commented 9 years ago

Thanks @zednis Not exactly a 'binary distribution' but rather java byte code, right? Too bad there isn't an ubuntu package for it. Anyway, I think this is ready to merge.

zednis commented 9 years ago

@bduggan Can USGCRP host the file somewhere? I do not want to use a Dropbox link. If USGCRP cannot host the file, I may be able to host it from a TW server.

bduggan commented 9 years ago

An alternative technique would be to put the build process into the travis file, then just add that as a cached directory in the .travis.yml.

bduggan commented 9 years ago

Or even simpler would be to just use a mirror. I don't like the idea of setting up our own mirror. I think the reason this may have broken in the first place was that once 3.0.0 came out the previous version was unavailable. Though now there seem to be issues with 3.0.0. and java..(which are on travis but don't happen on my local env...)

zednis commented 9 years ago

Jena 3.0 requires Java 8 The Jena build process tests take 30 minutes to run. I guess we could run the build process with tests skipped...

bduggan commented 9 years ago

I'm okay with the latest in this pull request: downloads the binary for version 3, and uses jdk version 8. @zednis , okay with this being merged?

zednis commented 9 years ago

My only concern is what happens when/if the mirror disappears or that version is no longer hosted on the mirror? I noticed that several mirrors didn't have 2.13 after 3.0 was released.

This update as it is should work for now but we might be right back at this problem at some point in the future.

bduggan commented 9 years ago

Okay, it now uses the apache archive server which has all older versions. This looks fairly permanent. I would rather use a "latest" link that redirects to the latest one, but I couldn't find a URL like that.

zednis commented 9 years ago

ok, that works for me :-)