--- Jose Alberto Fernandez <[EMAIL PROTECTED]> wrote:
> Needing different build files is kind of extreme, don't you think? :-)
> All what you need is two diferent targets for doing the compile:

Actually, you don't even need to do that -- just set a property to hold
your additional parameter and reference that property in the
'additionalparam' attribute. For example:
  <target name="mkdoc">
    <condition property="javadoc.addparam" value="-subpackages pkg1:pkg2">
      <contains string="${java.version}" substring="1.4"/>
    </condition>
    <property name="javadoc.addparam" value=""/>
    <javadoc packagenames="..."
             additionalparam="${javadoc.addparam}"
             ...
    />
  </target>

Note: I'm not saying we shouldn't consider adding support for the 1.4
stuff at some point, just offering a solution for now, since Ant1.5 is
frozen for anything but bug fixes.

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to