Git Product home page Git Product logo

Comments (10)

pjackson28 avatar pjackson28 commented on June 4, 2024

It's probably a firewall issue. To reduce the chance of future issues like this, maybe we should just check jruby.jar into the repository so departments only need to worry about opening the firewall to one site.

from wet-boew.

LaurentGoderre avatar LaurentGoderre commented on June 4, 2024

Did you check at home? I'm not convinced it is firewall related

from wet-boew.

pjackson28 avatar pjackson28 commented on June 4, 2024

I've done it at home many times, even last night a couple of times, without failing once. The speed and frequency that it fails at work indicates that the network is blocking the attempt, otherwise it would time out and take much longer to fail.

from wet-boew.

duboisp avatar duboisp commented on June 4, 2024

At work I need to run ant with the option "-autoproxy" see http://ant.apache.org/manual/proxy.html

from wet-boew.

sylus avatar sylus commented on June 4, 2024

Hey @LaurentGoderre I'll take a look at this. We could also just include the compiled jruby.jar but was worried about the size. Opinions? There are technically 2 options:

  1. Host the compiled jruby.jar somewhere stable that government networks don't have a problem accessing and just directly link to that
  2. Include the compiled jruby.jar directly in github (19mb though)

An outside the box thought is we could make another github repository that includes just this compiled jar and get from the raw version of that since github should be opened for the firewall to get the original wet-boew repo itself?

Would using get on the github domain for another repo hosting the jar work through your firewall?

from wet-boew.

pjackson28 avatar pjackson28 commented on June 4, 2024

Looks like the build script relies on more than just jruby.jar. I tried copying over that file but the script would keep failing until I also copied over the /lib/vendors directory as well. With both jruby.jar and vendors it builds successfully but clocks in at about 27mb.

from wet-boew.

sylus avatar sylus commented on June 4, 2024

Yeah we don't need the /lib/vendors directory as it is in the jar file but I am not able to get the jar file to be read as a filesystem. If we could fix that one problem we would only need the jruby.jar and can then host that file in a dependencies repo.

from wet-boew.

mankev avatar mankev commented on June 4, 2024

If you are behind a firewall and using ant to download then you will have to give ant the proxie name and port to get out.

My batch file for ant:

set ANT_HOME=c:\work\ant
set path=%path%;c:\work\ant\bin
set ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=80"
ant

from wet-boew.

nschonni avatar nschonni commented on June 4, 2024

The check should probably be for the JRuby path variable, because by default on windows installs it to C:\jruby-1.6.7.2\lib
If it doesn't find it, just abort and tell them to install first.

For the CI build, see http://about.travis-ci.org/docs/user/languages/java/ at the bottom. But maybe the pure Ruby version should be used http://about.travis-ci.org/docs/user/languages/ruby/

from wet-boew.

LaurentGoderre avatar LaurentGoderre commented on June 4, 2024

@stylus how are you trying to access the files in the jar?

from wet-boew.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.