title: import hibernate-orm source into eclipse juno
body: <p>I want to import hibernate source code into eclipse as a java project. I am new in this field and I'm stuck. I followed the instruction in <a href="https://community.jboss.org/wiki/BuildingHibernateORM4x5x" rel="nofollow">https://community.jboss.org/wiki/BuildingHibernateORM4x5x</a>. Installed git, downloaded the hibernate-orm. Next I did this <code>./gradlew eclipse</code> but got the following error.</p>
  
  <pre><code>Downloading http://services.gradle.org/distributions/gradle-1.6-bin.zip
  
  Unzipping /home/souvik/.gradle/wrapper/dists/gradle-1.6-bin/72srdo3a5eb3bic159kar72vok/gradle-1.6-bin.zip to /home/souvik/.gradle/wrapper/dists/gradle-1.6-bin/72srdo3a5eb3bic159kar72vok
  Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file
      at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78)
      at org.gradle.wrapper.Install.createDist(Install.java:47)
      at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
      at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)
  Caused by: java.util.zip.ZipException: error in opening zip file
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:132)
      at java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:169)
      at org.gradle.wrapper.Install.unzip(Install.java:160)
      at org.gradle.wrapper.Install.access$400(Install.java:29)
      at org.gradle.wrapper.Install$1.call(Install.java:70)
      at org.gradle.wrapper.Install$1.call(Install.java:47)
      at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
      ... 3 more
  </code></pre>
  
  <p>So I downloaded the gradle-1.6.bin.zip and copied it into the <code>/home/souvik/.gradle/wrapper/dists/gradle-1.6-bin/72srdo3a5eb3bic159kar72vok/</code> folder and ran the same command, this time I got this error</p>
  
  <pre><code>    Unzipping /home/souvik/.gradle/wrapper/dists/gradle-1.6-bin/72srdo3a5eb3bic159kar72vok/gradle-1.6-bin.zip to /home/souvik/.gradle/wrapper/dists/gradle-1.6-bin/72srdo3a5eb3bic159kar72vok
      Set executable permissions for: /home/souvik/.gradle/wrapper/dists/gradle-1.6-bin/72srdo3a5eb3bic159kar72vok/gradle-1.6/bin/gradle
  
      FAILURE: Build failed with an exception.
  
      * What went wrong:
      Failed to notify model configuration listener.
      &gt; Could not resolve all dependencies for configuration ':runtime'.
         &gt; Could not resolve org.apache.ant:ant:1.8.2.
           Required by:
               :buildSrc:unspecified
            &gt; Could not GET 'http://repo1.maven.org/maven2/org/apache/ant/ant/1.8.2/ant-1.8.2.pom'.
               &gt; peer not authenticated
            &gt; Could not GET 'http://repository.jboss.org/nexus/content/groups/public/org/apache/ant/ant/1.8.2/ant-1.8.2.pom'.
               &gt; peer not authenticated
         &gt; Could not resolve org.javassist:javassist:3.15.0-GA.
           Required by:
               :buildSrc:unspecified
            &gt; Could not GET 'http://repo1.maven.org/maven2/org/javassist/javassist/3.15.0-GA/javassist-3.15.0-GA.pom'.
               &gt; peer not authenticated
            &gt; Could not GET 'http://repository.jboss.org/nexus/content/groups/public/org/javassist/javassist/3.15.0-GA/javassist-3.15.0-GA.pom'.
               &gt; peer not authenticated
  
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  
      BUILD FAILED
  
      Total time: 16.359 secs
  </code></pre>
  
  <p>I just want to know how do I import the git clone as a java project into my eclipse juno? I have tried to install m2eclipse plugin for eclipse, but it didn't work. </p>
  
  <p>PS: I am in ubuntu 12.04 and I am inside a proxy firewall </p>