The Open Anzo Command Line Interface

| 4 Comments

We're continuing to work feverishly at Cambridge Semantics, and one of the main focal points of our efforts is the upcoming (later this year) release of Open Anzo 3.0. In February I wrote a bit about the core client APIs that we've stabilized for this release. Today, I wanted to share a huge development-productivity aid that uses the Anzo.java client implementation: a feature-rich command-line client.

Joe Betz, who added and announced the new command line interface a few weeks ago, also wrote an excellent guide to getting setup and using the client. I heartily recommend the guide, but to whet your appetite, here's an example interaction with the CLI client. (This interaction occurs after the install and configuring of default settings for the client, as given in the guide. It also assumes a running Anzo server (as per the "Quick Start" section in the guide).)

4 Comments

This is nice!

I just tried to install this all and get it running, but I seem to be getting stuck at the last step.



$ anzo help
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.cli.HelpFormatter.setOptPrefix(Ljava/lang/String;)V
at org.openanzo.client.cli.CommandLineInterface.printHelp(CommandLineInterface.java:161)
at org.openanzo.client.cli.CommandLineInterface.main(CommandLineInterface.java:143)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
at org.codehaus.classworlds.Launcher.main(Launcher.java:461)

Any suggestions?

Am on latest Mac OS X, using PostgreSQL. the validation URI checks out OK, do I don't presume there's any problem there.

Bruce,

Thanks for pointing this out.

The problem was caused by an incorrect version of the commons-cli jar file being included in the distro.

A new distro will be up shortly (estimated time: 6pm EDT on Thursday 6/5)

Lee

This is really cool. I love it.

Hi Lee, the video is available ...