http://nagoya.apache.org/bugzilla/show_bug.cgi?id=650

*** shadow/650  Tue Feb 20 02:56:08 2001
--- shadow/650.tmp.19132        Tue Feb 20 02:56:08 2001
***************
*** 0 ****
--- 1,44 ----
+ +============================================================================+
+ | javadoc task doesn't seperate the contents of additionalparam              |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 650                         Product: Ant                     |
+ |       Status: NEW                         Version: 1.2                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Minor                    OS/Version:                         |
+ |     Priority:                           Component: Core tasks              |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                   |
+ |  Reported By: [EMAIL PROTECTED]                                     |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ The javadoc task passes the additionalparam field as quoted string. So javadoc
+ treat this as one parameter.
+ 
+ For the example below, the generated of the javadoc task commandline appears 
as
+ > javadoc "-file test.xml" foo bar ...
+ 
+ In the validOptions-Hook of the doclet I would expect 
+ option[0][0] = "-file"
+ option[0][1] = "test.xml"
+ but I get
+ option[0][0] = "-file test.xml"
+ due to qouting 
+ 
+ Maybe there is another way to archive this; if so, please update 
documentation.
+         ...
+       <target name="reverse" depends="compile">    
+               <javadoc packagenames="com.*"
+            sourcepath="${src.dir}"
+            doclet="com.innoq.generator.converter.Java2XMI"
+            docletpath="${classpath}"
+            additionalparam="-file test.xml"
+            >
+         </javadoc>
+       </target>
+         ...
+ 
+ Regards
+ Olli

Reply via email to