hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Ant build: touch in init breaks build
Date Fri, 02 Nov 2007 20:00:13 GMT
The problem is that these template files are in subversion but are not 
included in the released sources.  Most folks who build are using 
sources checked out from subversion and hence do not have this issue. 
The sources included with releases should be buildable, but I don't 
think we should include the templates in releases.  So we should make 
the 'touch' conditional on the presence of template files to fix this.

Please file an issue in Jira for this.



jonathan doklovic wrote:
> Hi,
> I just downloaded 0.15.0 and realized it has the same problem as
> 0.14.0...
> If I try to run:
> ant clean jar compile-contrib
> ant complains with:
> Specify at least one source--a file or resource collection.
> then the build fails.
> This is due to the following being present in the init target of
> build.xml:
> <touch datetime="01/25/1971 2:00 pm">
>       <fileset dir="${conf.dir}" includes="**/*.template"/>
>       <fileset dir="${contrib.dir}" includes="**/*.template"/>
>     </touch>
> Basically, no files named *.template exist, and so the touch target
> fails.  To correct, I can simply comment out the touch task and it's
> fine.
> - Jonathan

View raw message