hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ganesh Ananthanarayanan <ganesh.ana...@gmail.com>
Subject Ant Build Error in Hadoop 0.20.1
Date Wed, 16 Feb 2011 23:44:20 GMT
Hi,

I am trying to ant compile build.xml with eclipse, on a Windows 7 machine
that has cygwin installed on it..

I get the following error:
----
[javac]
C:\Users\Ganesh\workspace\Hadoop\build\src\org\apache\hadoop\package-info.java:4:
unclosed string literal
    [javac] @HadoopVersionAnnotation(version="0.20.2-dev", revision="812594
    [javac]                                                         ^
    [javac]
C:\Users\Ganesh\workspace\Hadoop\build\src\org\apache\hadoop\package-info.java:5:
unclosed string literal
    [javac] ",
    [javac] ^
    [javac]
C:\Users\Ganesh\workspace\Hadoop\build\src\org\apache\hadoop\package-info.java:6:
class, interface, or enum expected
    [javac]                          user="ganesh-laptopganesh
    [javac]                          ^
    [javac]
C:\Users\Ganesh\workspace\Hadoop\build\src\org\apache\hadoop\package-info.java:6:
unclosed string literal
    [javac]                          user="ganesh-laptopganesh
    [javac]                               ^
    [javac]
C:\Users\Ganesh\workspace\Hadoop\build\src\org\apache\hadoop\package-info.java:8:
unclosed string literal
    [javac] ")
    [javac] ^
----

These are the contents of package-info.java:
----
/*
 * Generated by src/saveVersion.sh
 */
@HadoopVersionAnnotation(version="0.20.2-dev", revision="812594
",
                         user="ganesh-laptopganesh
", date="Wed Feb 16 15:24:13 PST 2011", url="
http://svn.apache.org/repos/asf/hadoop/common/tags/release-0.20.1
")
package org.apache.hadoop;
----

Just fixing package-info.java obviously didn't work because it gets
generated by saveVersion.sh.

Does someone know the reason and the fix?

Thanks a lot!

-Ganesh

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message