Installing and configuring Eclipse
Aus Salespoint
(→create database connection) |
|||
Zeile 31: | Zeile 31: | ||
==create database connection== | ==create database connection== | ||
1. right click on your project --> Properties --> JPA <br> | 1. right click on your project --> Properties --> JPA <br> | ||
- | 2. "Connection": "add Connection" | + | 2. "Connection": "add Connection" <br> |
- | 3. select "Derby" and enter a Name | + | 3. select "Derby" and enter a Name <br> |
- | 4. click "Next" | + | 4. click "Next" <br> |
- | 5. "Driver": click the small wheel which says "New Driver Definition" | + | 5. "Driver": click the small wheel which says "New Driver Definition" <br> |
- | 6. select "Derby Embedded JDBC Driver" version 10.2 | + | 6. select "Derby Embedded JDBC Driver" version 10.2 <br> |
- | 7. click tab "JAR List" | + | 7. click tab "JAR List" <br> |
- | 8. add derby.jar from lib folder that comes whit the salespoint5.war file | + | 8. add derby.jar from lib folder that comes whit the salespoint5.war file <br> |
- | 9. click "ok", click "finish" | + | 9. click "ok", click "finish" <br> |
==configure persistence.xml== | ==configure persistence.xml== |
Version vom 12:59, 4. Okt. 2011
back to tutorials
Inhaltsverzeichnis |
download eclipse
1. download "Eclipse IDE for Java EE Developers": eclipse download website
2. extract the downloaded content wherever you want to have your programs (e.g. C:\Program Files); now your eclipse is "installed"
configure Eclipse
1. start your eclipse
2. define a workspace: a place on your computer where you want to have your self programmed applications
install SVN
therefor please check out this video.
setup salepoint 5 project
get EclipsLink
1. right click on your project --> Properties --> JPA
2. select "Plattform": "EclipseLink 2.3.x"
3. in "JPA implementation" select "Type": "User Library" and click on the small symbol with the disk and the arrow which says “Download Library...”
4. select "EclipseLink 2.3.0”
5. click “Next”
6. accept license and click “Finish”
7. wait until download has finished
create database connection
1. right click on your project --> Properties --> JPA
2. "Connection": "add Connection"
3. select "Derby" and enter a Name
4. click "Next"
5. "Driver": click the small wheel which says "New Driver Definition"
6. select "Derby Embedded JDBC Driver" version 10.2
7. click tab "JAR List"
8. add derby.jar from lib folder that comes whit the salespoint5.war file
9. click "ok", click "finish"
configure persistence.xml
finally
now you should be able to start programming