-
Notifications
You must be signed in to change notification settings - Fork 0
How to prepare and edit
Addison Snyder edited this page Dec 15, 2016
·
3 revisions
The repository is the project folder for Eclipse. I run Eclipse Neon over Java 8. After cloning, simply import the project.
With the JPA addition, there are a couple more steps (these are more-or-less from memory, so they may not be 100% accurate):
- Ensure that you are using Eclipse Enterprise Edition, as it comes pre-built with JPA and similar stuffs.
- Right-click on the imported project, select properties. Under "Project Facets", ensure that JPA is checked. You may or may not need to install some stuff when it becomes enabled.
- Right-click on the imported project, select properties. Ensure that there is a JPA tab (as installed/enabled in step 2) and that it is using a valid EclipseLink library (mine is using 2.5.2). In addition, a connection is needed for your workspace Derby database. This can be created in the same window, using YTDownloader->Properties->JPA->Connection->"Add connection...". The name of the connection should be "Derby", use "Derby Embedded JDBC Driver" (which you will need to install separately - the JAR is located under YTDownloader\resources\derby.jar). If you have to choose Schema anywhere along this process, use "APP". I arbitrarily picked that, and it works. The location of the DB is pretty arbitrary as well. Here are my connection parameters:
URL: jdbc:derby:C:\Users\MYUSERNAME\Desktop\workspace\YTDownloader\db\Derby;create=true
If you have any questions, feel free to contact me. This is in no way a perfect set of instructions, and I understand that.