stepthom / math-fun

Just testing out some fun with mathematics.
2 stars 2 forks source link

Command line #6

Closed ajslater closed 11 years ago

ajslater commented 11 years ago

Here's task one.

There's a build change to fix classpaths for building and jar manifest creation. I do not include the required args4j jar in the repo.

And then you can see i use args4j in EasyMain using the Option class.

I moved all the EasyMain logic into a non-static method and kept the option parsing in its own method.

stepthom commented 11 years ago

:+1: This looks great. Works as advertised.

You could have just created a branch on my repository, i.e., "stepthom/math-fun", as opposed to forking your own repo and creating a branch on that. It's possible to do pull requests for a branch within a single repository --- makes it a bit easier to checkout the branch and test the changes.

BTW, I'm going to add the Args4J jar to the repo, just for easiness sake.

On to #2!