Coder Social home page Coder Social logo

Launch checklist about java HOT 9 CLOSED

exercism avatar exercism commented on August 18, 2024
Launch checklist

from java.

Comments (9)

kytrinyx avatar kytrinyx commented on August 18, 2024

As a starting point, I have added incomplete (and wrong) documentation for how to get started: http://help.exercism.io/getting-started-with-java.html

I can't figure out what the steps are to run the tests locally.

Given that I have the exercism CLI installed (https://github.com/exercism/cli/releases/latest), and that it is configured, I want to be able to say:

exercism fetch java bob

And then follow some sort of instructions to be able to run the tests.

What files would I need to download from this repository (or elsewhere) in order to do that?

/cc @MoreNaruto @brmenchl @edrobal @chelseakomlo @charltonaustin @gitjulia @contraption

from java.

lesterhan avatar lesterhan commented on August 18, 2024

I was able to follow the instructions and run the test with "gradle test"

What I did was:

  • Install exercism via homebrew
  • Go to exercism/java/bob
  • Run "gradle test", I had 18 failed tests
  • Wrote some simple implementation, ran "gradle test" again and had 13 failed tests

from java.

kytrinyx avatar kytrinyx commented on August 18, 2024

Thanks, @contraption! I'm assuming that you have gradle in your classpath. What happens if you don't have gradle installed on your machine?

from java.

lesterhan avatar lesterhan commented on August 18, 2024

@kytrinyx Hmm, is it reasonable to include the gradle wrapper in the repo, so people can just use ./gradlew?

from java.

pietvandongen avatar pietvandongen commented on August 18, 2024

I didn't have gradle installed, so when I went to ~/exercism/java/bob and ran gradle test I got:

Piets-MBP:bob pietvandongen$ gradle test
-bash: gradle: command not found

I then installed gradle with homebrew (brew install gradle) and ran the tests again, which worked perfectly!

from java.

kytrinyx avatar kytrinyx commented on August 18, 2024

@contraption it is, but I'll need to write some code in order to be able to serve it up using the exercism CLI. It's not very hard, but I have a lot on my plate at the moment.

@pietvandongen That's great! We'll also need to know how to install gradle on windows (and perhaps linux, though linux peeps tend to know how to figure that out for themselves).

from java.

pietvandongen avatar pietvandongen commented on August 18, 2024

@kytrinyx Okey, here's what I did on Windows (7, 64 bit).

I first installed the exercism-cli per the website's instructions, which went smoothly. Then I did an exercism fetch java bob, which put everything in my home directory, under exercism\java\bob.

Then I went into the directory (with cmd) and typed gradle test. I got the familiar error:

'gradle' is not recognized as an internal or external command,
operable or batch file.

So I installed gradle, like so:

  • I went to http://gradle.org/installation
  • I downloaded gradle 2.2.1 (I got a big green button in the right column of the page)
  • I unpacked the ZIP file, which contained a folder (gradle-2.2.1) and copied it to a convenient location.
  • I added that location + \bin to my PATH, so I can now run gradle.

After this, I went back to my exercism\java\bob folder (still with CMD / terminal) and ran:

gradle test

This worked, I got a long trace of tests that failed and a failed build.

from java.

kytrinyx avatar kytrinyx commented on August 18, 2024

@pietvandongen Thank you! I think this is enough to get the documentation fixed, and launch the track.

from java.

kytrinyx avatar kytrinyx commented on August 18, 2024

OK, everyone! I'v updated the documentation and activated the Java track (deploying now).

I'd appreciate it if people check in regularly to help provide some feedback on people's solutions.

Since launching exercism, Haskell has been by far the most successful track. I believe that one reason for this is that there is at least one person there who makes sure that every submission receives feedback within 24 hours.

I believe a second factor of the track's success is that the feedback that is provided doesn't directly tell people what to do, but respectfully asks questions, challenging people to think about different aspects of their solution.

Thanks so much for helping get this kicked off!

from java.

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.