You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Edgar Poce <ed...@gmail.com> on 2005/10/04 23:15:29 UTC

Re: jcr command line client

Hi brian
 I uploaded the latest changes that support batch mode. see more comments bellow

On 9/30/05, Brian Moseley <bc...@osafoundation.org> wrote:
> i installed version 1.3.1 of the javaapp plugin and ran 'maven' to
> build. running the jar gives me: 'Failed to load Main-Class manifest
> attribute from jcr-commands-1.0-dev.jar'. am i doing something wrong?
> thanks!
>

the problem with your previous attempt to run the cli was that you
built the runnable jar called jcr-commands-1.0-dev-app.jar but you
tried to run the jar built by default by maven.
You have to run the goal "javaapp" and run the xxx-app.jar . the
javaapp plugin will build a single runnable jar called
"jcr-commands-1.0-dev-app.jar" that includes all the dependencies
(jackrabbit, jcr-rmi, etc) and will create the manifest file pointing
to the runnable java class. see the README file.

type "help" in the interactive mode to get the list of available
commands and type "help <command name>" to get a command's detailed
description. I copied some texts from the spec but I soon realized
that it might be illegal, is it? could anyone tell me if I can just
copy some descriptions from the spec?, so unfortunately for you ;) I
wrote most of the bundle. I'll review it asap. I warn you that it's
not thorougly tested, see the TODO file

regarding a recent post of yours, I let you know that it includes a
command for registering  namespaces and I plan to implement one for
registering node types soon.

br,
edgar