title: Service builder: BUILD FAILED
body: <p>I encounter a problem with Service Builder when tried to make CRUD portlet. </p>
  
  <p>First of all, I created a project and Liferay portlet("This is bla-bla-bla in view mode"). After that I created <code>new-&gt;new Service Builder</code> xml file.
  I inserted the following code there:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.2.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_6_2_0.dtd"&gt;
        &lt;service-builder package-path="com.proliferay.sbuilder"&gt;
        &lt;author&gt;Alexandr&lt;/author&gt;
        &lt;namespace&gt;crudportlet&lt;/namespace&gt;
  
  &lt;entity name="Book" table="BOOK_PORTLET" local-service="true" remote-service="true"&gt;
      &lt;column name="bookId" type="long" primary="true" id-type="increment"/&gt;
      &lt;column name="bookName" type="String" /&gt;
      &lt;column name="description" type="String" /&gt;
      &lt;column name="authorName" type="String" /&gt;
      &lt;column name="isbn" type="int" /&gt;
      &lt;column name="price" type="int" /&gt;
  &lt;/entity&gt;
  </code></pre>
  
  <p></p>
  
  <p>Next, I clicked on <code>overview</code> tab and pressed <code>Build Service</code> button. After 5 seconds I've got <code>HTTP Authorization failure</code> ERROR. <strong>After 5 hours</strong> of googling and stackoverflowing I came to conclusion to comment this line</p>
  
  <pre><code>#ivy.jar.url=http://cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/${ivy.version}/org.apache.ivy-${ivy.version}.jar
  </code></pre>
  
  <p>And paste this line</p>
  
  <pre><code>ivy.jar.url=https://repository.liferay.com/nexus/content/repositories/liferay-public-snapshots/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/
  </code></pre>
  
  <p>as they said in other threads in <code>build.Sasha.properties</code> file. But my error now:</p>
  
  <pre><code>Unable to obtain resource from D:\LiferayWorkSpace\liferay-plugins-sdk- 6.2\.ivy\ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar: java.util.zip.ZipException: error in opening zip file
  [taskdef] Unable to obtain resource from D:\LiferayWorkSpace\liferay-plugins-sdk-6.2\.ivy\ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar: 
  ...
  [taskdef] Could not load definitions from resource org/apache/ivy/ant/antlib.xml. It could not be found.
  
  BUILD FAILED
  </code></pre>
  
  <p>What should I do ?? Please, help me! What should I do in order to create simpliest CRUD portlet using Service Builder?</p>
  
  <p>I use Liferay 6.2 GA5, sdk 6.2.</p>
  
  <p>My build.xml file:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;!DOCTYPE project&gt;
  
  &lt;project name="CRUD-portlet" basedir="." default="deploy"&gt;
      &lt;import file="../build-common-portlet.xml" /&gt;
      &lt;property file="build.properties"/&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/J6D0h.png" rel="nofollow">Screenshot 1</a></p>
  
  <p><a href="http://i.stack.imgur.com/bGxz9.png" rel="nofollow">Screenshot 2</a></p>
  
  <p><a href="http://i.stack.imgur.com/3UQRc.png" rel="nofollow">Screenshot 3</a></p>