1

sejda-console をダウンロードし、それを使用して PDF をマージし、マージされた PDF を出力ドキュメントにブックマークする目次を作成したいと考えています。構文は理解できたと思いますが、次のエラーが発生します。

$ ~/sejda-console-1.0.0.M10/bin/sejda-console merge -e "Analog_2015-03-(.*)k2opt.pdf" -b one_entry_each_doc -o Analog_2015-03_sejda.pdf
12:35:55.410 Configuring Sejda 1.0.0.M10
12:35:55.430 Loading Sejda configuration form default sejda.xml
12:35:55.549 Starting execution with arguments: 'merge -e Analog_2015-03-(.*)k2opt.pdf -b one_entry_each_doc -o Analog_2015-03_sejda.pdf'
12:35:55.549 Java version: '1.7.0_75'
12:35:55.649 
To report a bug, please visit http://www.sejda.org/issuetracker 
Helpful information to include when raising a bug: the input files, the command line executed and the stack trace below.

12:35:55.658 Too many options given for input. Please use only one of the following options: --directory --filesListConfig --file
org.sejda.model.exception.SejdaRuntimeException: Too many options given for input. Please use only one of the following options: --directory --filesListConfig --file
    at org.sejda.cli.transformer.MergeCliArgumentsTransformer.extractPdfMergeInputs(MergeCliArgumentsTransformer.java:82) ~[sejda-console-1.0.0.M10.jar:na]
    at org.sejda.cli.transformer.MergeCliArgumentsTransformer.toTaskParameters(MergeCliArgumentsTransformer.java:54) ~[sejda-console-1.0.0.M10.jar:na]
    at org.sejda.cli.transformer.MergeCliArgumentsTransformer.toTaskParameters(MergeCliArgumentsTransformer.java:37) ~[sejda-console-1.0.0.M10.jar:na]
    at org.sejda.cli.transformer.CliInterfacedTask.getTaskParameters(CliCommand.java:377) ~[sejda-console-1.0.0.M10.jar:na]
    at org.sejda.cli.transformer.CliCommand.parseTaskParameters(CliCommand.java:314) ~[sejda-console-1.0.0.M10.jar:na]
    at org.sejda.cli.SejdaConsole.executeCommand(SejdaConsole.java:106) ~[sejda-console-1.0.0.M10.jar:na]
    at org.sejda.cli.SejdaConsole.doExecute(SejdaConsole.java:80) ~[sejda-console-1.0.0.M10.jar:na]
    at org.sejda.cli.SejdaConsole.execute(SejdaConsole.java:56) ~[sejda-console-1.0.0.M10.jar:na]
    at org.sejda.cli.Main.main(Main.java:38) [sejda-console-1.0.0.M10.jar:na]
Exception in thread "main" org.sejda.model.exception.SejdaRuntimeException: Too many options given for input. Please use only one of the following options: --directory --filesListConfig --file
    at org.sejda.cli.transformer.MergeCliArgumentsTransformer.extractPdfMergeInputs(MergeCliArgumentsTransformer.java:82)
    at org.sejda.cli.transformer.MergeCliArgumentsTransformer.toTaskParameters(MergeCliArgumentsTransformer.java:54)
    at org.sejda.cli.transformer.MergeCliArgumentsTransformer.toTaskParameters(MergeCliArgumentsTransformer.java:37)
    at org.sejda.cli.transformer.CliInterfacedTask.getTaskParameters(CliCommand.java:377)
    at org.sejda.cli.transformer.CliCommand.parseTaskParameters(CliCommand.java:314)
    at org.sejda.cli.SejdaConsole.executeCommand(SejdaConsole.java:106)
    at org.sejda.cli.SejdaConsole.doExecute(SejdaConsole.java:80)
    at org.sejda.cli.SejdaConsole.execute(SejdaConsole.java:56)
    at org.sejda.cli.Main.main(Main.java:38)

提供するオプションが多すぎる場所がわかりません。私の間違いを指摘してください。ご協力いただきありがとうございます。

デイブ

4

1 に答える 1