On Wed, 5 Jun 2002, Ernst de Haan <[EMAIL PROTECTED]> wrote:
> BUILD FAILED
> /usr/home/ernst/jakarta-ant/build.xml:827: chmod returned: 255
>
> When I look at line 826 and 827 I see:
>
> <chmod perm="ugo+r" dir="${dist.dir}" type="file" includes="**"
> failonerror="${chmod.fail}" />
>
> Is this a known problem?
No - and I don't see that when bootstrapping Ant on FreeBSD 4.5-STABLE
and JDK 1.2.2 (jdk1.2.2-FreeBSD). Neither on "./build.sh dist".
Maybe you are hitting a command line length limit?
The difference between JDK 1.2 and 1.3 is that Ant will use the
Runtime#exec method with the working directory parameter in the JDK
1.3 case a a wrapper shell script for 1.2. If you add
vmlauncher="false" to the chmod task, does it make any difference
(this forces Ant to use the wrapper script).
Stefan
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>