[ 
https://issues.apache.org/jira/browse/MJAVADOC-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957475#comment-17957475
 ] 

Olivier Lamy commented on MJAVADOC-58:
--------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-javadoc-plugin#415|https://github.com/apache/maven-javadoc-plugin/issues/415].
 

> <additionalparam> content should not be included in apostrophes on the 
> commandline
> ----------------------------------------------------------------------------------
>
>                 Key: MJAVADOC-58
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-58
>             Project: Maven Javadoc Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-3
>         Environment: W2k
>            Reporter: Rik Graetke
>            Assignee: Brett Porter
>            Priority: Major
>
> We have written our own doclet that needs additional parameter/value-pairs on 
> the command-line, which after all needs to look like this:
> javadoc -J-Xmx300m -J-Xms40m -J-ea 
>    -doclet de.mobilcom.javadoc.McDoclet 
>   -globaltagoverview 'system.property:w:2:System Prop.'
> ...
> I'm trying to configure javadoc-Plugin like this:
> ...
>       <doclet>de.mobilcom.javadoc.McDoclet</doclet>
>       <additionalparam>-globaltagoverview 'system.property:w:2:System 
> Prop.'</additionalparam>
> ...
> Running this, i receive an javadoc error "invalid flag: -globaltagoverview"
> Examining the options-file shows, that <additionalparam> resolved to:
> '-globaltagoverview 'system.property:w:2:System Prop.' '  on the command line 
> which in fact is not working
> after manually removing the apostrophes everything is OK when running it as
> -globaltagoverview 'system.property:w:2:System Prop.'
> Additional Problem: trying <additionalparam>-J-ea</additionalparam>  puts the 
> '-J-ea ' in the Option-File which as far as i know is not working for 
> J-Options



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to