ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 650] New - javadoc task doesn't seperate the contents of additionalparam
Date Tue, 20 Feb 2001 10:56:08 GMT
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: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: oliver.wieland@innoq.com                                     |
+ |      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

Mime
View raw message