You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Rik Graetke (JIRA)" <ji...@codehaus.org> on 2006/02/17 12:29:19 UTC

[jira] Created: (MJAVADOC-58) content should not be included in apostrophes on the commandline

<additionalparam> content should not be included in apostrophes on the commandline
----------------------------------------------------------------------------------

         Key: MJAVADOC-58
         URL: http://jira.codehaus.org/browse/MJAVADOC-58
     Project: Maven 2.x Javadoc Plugin
        Type: Bug

    Versions: 2.0-beta-3    
 Environment: W2k
    Reporter: Rik Graetke


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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MJAVADOC-58) content should not be included in apostrophes on the commandline

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MJAVADOC-58?page=all ]
     
Brett Porter closed MJAVADOC-58:
--------------------------------

     Assign To: Brett Porter
    Resolution: Duplicate

> <additionalparam> content should not be included in apostrophes on the commandline
> ----------------------------------------------------------------------------------
>
>          Key: MJAVADOC-58
>          URL: http://jira.codehaus.org/browse/MJAVADOC-58
>      Project: Maven 2.x Javadoc Plugin
>         Type: Bug

>     Versions: 2.0-beta-3
>  Environment: W2k
>     Reporter: Rik Graetke
>     Assignee: Brett Porter

>
>
> 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org