title: Adding the latest EclipseLink version to a Netbeans project?
body: <p>I am developing JSF applicationi with JPA using EclipseLink as the persistence provider using Netbeans. The default version of EclipseLink is 2.0 with Netbeans 7.1, but I badly need the new addition of create-or-extend-tables for eclipselink.ddl-generation which was introduced with 2.4 <a href="http://wiki.eclipse.org/EclipseLink/DesignDocs/368365" rel="nofollow noreferrer">http://wiki.eclipse.org/EclipseLink/DesignDocs/368365</a>. So I want to add EclipseLink 2.4 to my existing netbeans project, but failed. I followed <a href="https://stackoverflow.com/questions/7017359/how-do-you-use-eclipselink-2-3-as-persistence-provider-in-nb-7">How do you use EclipseLink 2.3 as persistence provider in NB 7?</a> , but there was no success. </p>
  
  <p>I downloaded the EclipseLink 2.4.0 Installer Zip (28 MB) from <a href="http://www.eclipse.org/eclipselink/downloads/index.php" rel="nofollow noreferrer">http://www.eclipse.org/eclipselink/downloads/index.php</a>. There were several jar files in few folders after I unzip it, but I added only the eclipselink.jar file (with out a version number, which was found in jlib folder) to the Netbeans project libraries. </p>
  
  <p>I tried to add a New Library under persistence.xml also, still failed.</p>
  
  <p>I manually added the code </p>
  
  <pre><code>&lt;property name="eclipselink.ddl-generation" value="create-or-extend-tables" /&gt;
  </code></pre>
  
  <p>to persistence.xml file, but tables are deleted, but not created.</p>
  
  <p><strong>How can I add the latest EclipseLink version to a Netbeans project?</strong></p>