[ 
https://issues.apache.org/jira/browse/DERBY-4758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896588#action_12896588
 ] 

C.S. Nirmal J. Fernando edited comment on DERBY-4758 at 8/9/10 11:26 AM:
-------------------------------------------------------------------------

Hi Kim,

Thanks for looking into this.

>The syntax shows "[arguments]" in square brackets, which would normally 
>indicate that the arguments are optional. However, I don't >see any indication 
>of what the default behavior is if an argument is omitted. Does the tool 
>automatically generate some form of output >with a default name, or do you in 
>fact have to specify one or more of the >arguments described? If you do, there 
>should be no >brackets around "arguments".
>(Actually, the correct term here would be "options", not arguments, since they 
>start with a hyphen.) 

You're absolutely correct! Tool need at least one option (-html or -xsl) in 
minimum. So brackets should be removed.

>In the argument syntax, there's currently no description of what "path" must 
>be. I gather you can specify an absolute or relative path, >rather than just a 
>filename in the current directory as with the -adv -xsl option. But to judge 
>from the example, it seems the tool >appends the ".xml" or ".html" suffix to 
>the root filename you specify. Is that true? 

Actually path can be absolute or relative (Relative in the sense of the same 
directory but not sub directories). The tool appends ".xml" or ".html" suffix 
only if it is not present.

If you think it's better, if I can submit a modified patch adding your 
suggestions, please let me know.

Thanks.


      was (Author: nirmal):
    Hi Kim,

Thanks for looking into this.

>The syntax shows "[arguments]" in square brackets, which would normally 
>indicate that the arguments are optional. However, I don't see any indication 
>of what the default >behavior is if an argument is omitted. Does the tool 
>automatically generate some form of output with a default name, or do you in 
>fact have to specify one or more of the >arguments described? If you do, there 
>should be no brackets around "arguments".
>(Actually, the correct term here would be "options", not arguments, since they 
>start with a hyphen.) 

You're absolutely correct! Tool need at least one option (-html or -xsl) in 
minimum. So brackets should be removed.

>In the argument syntax, there's currently no description of what "path" must 
>be. I gather you can specify an absolute or relative path, rather than just a 
>filename in the current >directory as with the -adv -xsl option. But to judge 
>from the example, it seems the tool appends the ".xml" or ".html" suffix to 
>the root filename you specify. Is that true? 

Actually path can be absolute or relative (Relative in the sense of the same 
directory but not sub directories). The tool appends ".xml" or ".html" suffix 
only if it is not present.

If you think it's better, if I can submit a modified patch adding your 
suggestions, please let me know.

Thanks.

  
> Adding documentation about the PlanExporter Tool
> ------------------------------------------------
>
>                 Key: DERBY-4758
>                 URL: https://issues.apache.org/jira/browse/DERBY-4758
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Documentation
>            Reporter: C.S. Nirmal J. Fernando
>            Assignee: C.S. Nirmal J. Fernando
>            Priority: Critical
>         Attachments: DERBY-4758-2.zip, DERBY-4758.zip, derby4758-2.diff, 
> derby4758.diff
>
>
> Providing a user guide documentation in 
> http://db.apache.org/derby/docs/10.6/tools/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to