ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: [PATCH] Javac.java - Problems running javac on Windows
Date Tue, 19 Sep 2000 08:30:09 GMT
>>>>> "DW" == Dirk Weigenand <Dirk.Weigenand@oracle.com> writes:

 DW> So the approach could be to cut this prefix off the filename and
 DW> use a relative filename to shorten the overall command line.

In some cases yes, but not generally. We don't force the location
where your sources live, the location of build.xml and the CWD of the
shell where you invoke Ant from to have any realtion at all.

 DW> Is it really necessary to bind the trigger to the number of
 DW> arguments rahter to the combined length of them?

It depends. 

We first found that Runtime.exec() is going to fail on Windows at
about 300 elements in the args array. If we want to restrict the
trigger to depend on the length of the command line this would have to
be rather short (as 300 times A.java would already be too long).

Stefan

Mime
View raw message