rhbz1110627 zanata init

https://bugzilla.redhat.com/show_bug.cgi?id=1110627
and https://bugzilla.redhat.com/show_bug.cgi?id=1038852

Depends on https://github.com/zanata/zanata-api/pull/15 and https://github.com/zanata/zanata-server/pull/520
Catching it now. 

----- Original Message -----

> From: "David Mason" <notifications@github.com>
> To: "zanata/zanata-client" <zanata-client@noreply.github.com>
> Cc: "Patrick Huang" <pahuang@redhat.com>
> Sent: Tuesday, July 29, 2014 11:43:31 AM
> Subject: Re: [zanata-client] rhbz1110627 zanata init (#27)

> In
> zanata-client-commands/src/main/java/org/zanata/client/commands/init/SourceConfigPrompt.java:
> > +        opts.setSrcDir(srcDir);
> > +        opts.setIncludes(includes);
> > +        opts.setExcludes(excludes);
> > +        return this;
> > +    }
> > +
> > +    private Set<String> findDocNames() throws IOException {
> > +        AbstractPushStrategy strategy =
> > pushCommand.getStrategy(pushOptions);
> > +        return strategy.findDocNames(pushOptions.getSrcDir(),
> > +                pushOptions.getIncludes(), pushOptions.getExcludes(),
> > +                pushOptions.getDefaultExcludes(),
> > +                pushOptions.getCaseSensitive(),
> > +                pushOptions.getExcludeLocaleFilenames());
> > +    }
> > +
> > +    private void hintAdvancedConfigurations() throws NoSuchMethodException
> > {

> When will NoSuchMethodException occur? What will the program do if it is
> thrown? Could a problem displaying this hint cause the command to crash?

> —
> Reply to this email directly or view it on GitHub .