ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: chmod fails on FreeBSD 4.5-STABLE / JDK 1.3.1
Date Thu, 06 Jun 2002 06:09:15 GMT
On Wed, 5 Jun 2002, Ernst de Haan <ernsth@nl.euro.net> 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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message