there seems to be a 32k limit on size of the args passed into Runtime.exec
() on windows. Here's a hack that gets around the problem by dumping the
args into a temp file, and calling "jikes @tempfile":

(See attached file: patch.txt)



                                                                                
                                                                     
                    "Conor MacNeill"                                            
                                                                     
                    <[EMAIL PROTECTED]        To:     <[EMAIL PROTECTED]>       
                                                          
                    ss.com.au>                  cc:                             
                                                                     
                                                Subject:     RE: javac Task 
Using Jikes with Large Number of Files                                   
                    07/13/00 09:32 PM                                           
                                                                     
                    Please respond to                                           
                                                                     
                    ant-dev                                                     
                                                                     
                                                                                
                                                                     
                                                                                
                                                                     




> -----Original Message-----
> From: Ken Wood [mailto:[EMAIL PROTECTED]
> Sent: Friday, 14 July 2000 12:21
> To: [EMAIL PROTECTED]
> Subject: Re: javac Task Using Jikes with Large Number of Files
>
>
> I guess I'm still learning the in's and outs....
> If Runtime.exe is the problem, how come it
> has no trouble stuff sun's javac? I build a project
> with 1498 source files, and it never complains...
>

Ant doesn't use Runtime.exec to invoke Javac. Javac is invoked in the same
VM as ant as a class and not in a separate process.



Attachment: patch.txt
Description: Text - character set unknown

Reply via email to