[ 
https://issues.apache.org/jira/browse/STANBOL-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rupert Westenthaler resolved STANBOL-193.
-----------------------------------------

    Resolution: Fixed

applied the provided patch in revision #1297342. Sorry for this taking so long. 
I personally had overlooked this issue until going over all issues while 
preparing for release 0.9.
                
> org.apache.stanbol.autotagging.cli.CommandLineRunner reads wrong parameter 
> from command-line
> --------------------------------------------------------------------------------------------
>
>                 Key: STANBOL-193
>                 URL: https://issues.apache.org/jira/browse/STANBOL-193
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Enhancer
>            Reporter: Wilhelm Koop
>            Priority: Trivial
>         Attachments: CommandLineRunnerTest.java, 
> STANBOL-193_new_cli_options.patch
>
>
> Method "handleModel(String[] args)" reads wrong parameter when trying to 
> build model from command-line.
> Bug seems to be in these lines:
>  String modelPath = args[1];
>  Model model = TDBFactory.createModel(modelPath);
>  for (String filename : Arrays.asList(args).subList(2, args.length)) {
> Changing it to following worked fine on my computer:
>  String modelPath = args[0];
>  Model model = TDBFactory.createModel(modelPath);
>  for (String filename : Arrays.asList(args).subList(1, args.length)) {
> (But can result in errors when building model with option "-d")

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to