Hi,

I have created an ExtendedJavadoc task with a new attribute (useExternalFile).
Basically it creates a temporary file with all parameters and then execute: 
javadoc
@temporaryfile
then I use:
        <taskdef name="xjavadoc"
classname="org.apache.tools.ant.taskdefs.optional.ExtendedJavadoc"/>
        <xjavadoc ... useExternalFile="true"/>

Feel free to use it (or to include the fix in the Javadoc task)

-fred

Jay Glanville wrote:
> 
> I'm currently having a problem with javadoc on a SunOS platform.  For some
> reason, my javadoc was failing (-debug gave me no information at all) and I
> believe that it might have something to do with a command line limit.  I
> believe that for ksh on SunOS, my command line has a limit somewhere in the
> 250 - 300 chars range.  To investigate this further, I searched the ant-user
> and ant-dev mail-distributions, and I found this thread:
> http://marc.theaimsgroup.com/?l=ant-user&m=98456936320221&w=2.  The date for
> the above thread was March 14.
> 
> After finding this out, I decided to look at the source code on WebCVS, and
> I don't think that this issue has been addressed yet (but I have been wrong
> before).  Therefore, I want to check with the dev community to see if anyone
> has addressed this issue.
> 
> Oh yes, and another question.  Is Ant 1.3 supposed to be java 1.1 compliant,
> or have we dropped that?
> 
> JDG
> 
> --
> Jay Dickon Glanville
> P068 - SiteManager Development, Nortel Networks
> 613-765-1144 (ESN 395-1144)
> MS: 045/55/A05
> E-Mail: [EMAIL PROTECTED]

Attachment: ExtendedJavadoc.java
Description: application/unknown-content-type-codeguide.javafile

begin:vcard 
n:Lavigne;Frederic
tel;fax:+33 4 92 94 20 88
tel;work:+33 4 92 94 20 95
x-mozilla-html:FALSE
url:http://www.castify.net
org:Castify Networks;Research & Development
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Engineer
adr;quoted-printable:;;Centre de Communication Avanc=E9e (CICA)=0D=0A2229, Route de Cr=EAtes;Sophia Antipolis;;06904;FRANCE
fn:Frederic Lavigne
end:vcard

Reply via email to