Dashboard > Struts University > Home > MailReader > MailReader Use Cases > Starter
Added by Ted Husted, last edited by Ted Husted on Dec 06, 2007  (view change)


Arthur Dent is ready to working on the new MailReader project. He imports Marvin's starter-template as a new project, copies the project as "mailreader", changes the database name in persistence.xml, and runs the unit test.


Goal Setup a starter MyEclipse project for JPA with database
Level Subfunction (User Goal, Summary, Subfunction)
Trigger Need a new coding project to start a new application or for a spike
Primary Actor Developer

Main Success Scenario (MSS)

Step Action
1 Open MyEclipse and select a workspace
2 Start Derby
3 Open (File/Import/Existing Projects into Workspace
  Select E:\starter-template.zip (or equivalent)
4 Open (File/Rename)
  New name: $PROJECT (the name of the new project
5 Open /main/META-INF/persistence.xml
  Change jdbc:derby://localhost:1527/starter;create=true
  to jdbc:derby://localhost:1527/$PROJECT;create=true
6 Open (Run/as Unit Test) to bootstrap database
7 Optionally, open MyEclispe Database Explorer to create a connection to new database


4a With project open, select {{starter}, open (File/Copy) then (File/Paste)

Preconditions and Guarantees

Preconditions MyEclipse 6.0.1 or later is installed; starter-template.zip is available

See also

Site running on a free Atlassian Confluence Open Source Project License granted to OSS. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.5 Build:#811 Jul 25, 2007) - Bug/feature request - Contact Administrators