ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@us.ibm.com
Subject Re: javadoc/NT : Task not working
Date Thu, 03 Feb 2000 03:24:16 GMT


Michael Smith wrote:
>
> As for the limit of 8 or 9 command line arguments in NT, this can be
worked
> around in the batch file with the following (note: I don't think this
works
> on windows 95/98):
>
> RCS file: /home/cvspublic/jakarta-ant/src/bin/antRun.bat,v
> retrieving revision 1.2
> diff -r1.2 antRun.bat
> 3,4c3,16
> < echo %2 %3 %4 %5 %6 %7 %8 %9
> < %2 %3 %4 %5 %6 %7 %8 %9
> ---
> > shift
> >
> > set ARGS=
> >
> > :ARGLOOP
> > if "%1"=="" goto ARGLOOPDONE
> > set ARGS=%ARGS% %1
> > shift
> > goto ARGLOOP
> >
> > :ARGLOOPDONE
> >
> > echo %ARGS%
> > %ARGS%

Status update: for simple cases, this actually works on both 95 and NT.

Unfortunately, it eats quotes and chokes on semicolons.  Javadoc's
classpath contains both.  Still experimenting...



Mime
View raw message