You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Eric Wood <EW...@llbean.com> on 2007/08/15 20:16:43 UTC

Javadoc error

We are running javadoc against about 2500 java files and when we run it
we get the following error:

javadoc:
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Warning: UNIXProcess.forkAndExec native error: The parameter
or environment lists are too long.

When looking at the command line from the -debug output, the list of
java files is obviously long. Is there any way I can avoid this issue? I
was ablt to shorten the path referecne to each file, but it is even
still too long. Am I just trying to pass to much through to the new JVM?

Eric

Re: Javadoc error

Posted by Dominique Devienne <dd...@gmail.com>.
On 8/15/07, Eric Wood <EW...@llbean.com> wrote:
> We are running javadoc against about 2500 java files and when we run it
> we get the following error:
>
> javadoc:
>   [javadoc] Generating Javadoc
>   [javadoc] Javadoc execution
>   [javadoc] Warning: UNIXProcess.forkAndExec native error: The parameter
> or environment lists are too long.
>
> When looking at the command line from the -debug output, the list of
> java files is obviously long. Is there any way I can avoid this issue? I
> was ablt to shorten the path referecne to each file, but it is even
> still too long. Am I just trying to pass to much through to the new JVM?

Look at <javadoc>'s 'useexternalfile' attribute in the doc (1.7+ only). --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


RE: Javadoc error

Posted by "Loehr, Ruel" <rl...@pointserve.com>.
Break it up into several calls?

-----Original Message-----
From: Eric Wood [mailto:EWood@llbean.com] 
Sent: Wednesday, August 15, 2007 1:17 PM
To: user@ant.apache.org
Subject: Javadoc error

We are running javadoc against about 2500 java files and when we run it
we get the following error:

javadoc:
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Warning: UNIXProcess.forkAndExec native error: The parameter
or environment lists are too long.

When looking at the command line from the -debug output, the list of
java files is obviously long. Is there any way I can avoid this issue? I
was ablt to shorten the path referecne to each file, but it is even
still too long. Am I just trying to pass to much through to the new JVM?

Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org