ToC+Development+Setup+Guide

include component="page" wikiName="siframework" page="TOC Header" Perform the following steps for Transition of Care (ToC) Development Setup.

[]. ||
 * ====1.==== || ====Install Java Development Kit (JDK) 6 Update 26 or greater==== || =====a.===== || =====If Java JDK 1.6 Update 26 is already installed, please proceed to the next step.===== ||
 * ||  || =====b.===== || =====You can download the latest Java version for your platform at=====
 * ||  || =====c.===== || =====Follow the installation instructions provided on the download page.===== ||
 * ====2.==== || ====Install an Integrated Development Environment (IDE) if desired (not required).==== || =====a.===== || =====Eclipse=====
 * ====2.==== || ====Install an Integrated Development Environment (IDE) if desired (not required).==== || =====a.===== || =====Eclipse=====

i. You can download the latest Eclipse version (Indigo release of IDE for Java Developers recommended) at [].

ii. You can download the latest Eclipse Mercurial integration (MercurialEclipse 1.8 recommended) at [].

iii. The IDE for Java Developers release comes bundled with Maven integration. Other releases may not. To manually install the m2e plugin for Eclipse see []. || i. You can download the latest Netbeans version (Java SE release 6.7.1 or 7.0 recommended) at [].
 * ||  || =====b.===== || =====Netbeans=====

ii. This IDE comes bundled with Mercurial integration. For more information see [].

iii. This IDE comes bundled with Maven Integration. For more information see []. ||
 * ====3.==== || ====Install Maven 3.x if necessary==== || =====a.===== || =====If Maven 3.x is already installed or was included with an IDE installed above, then please proceed to the next step.===== ||
 * ||  || =====b.===== || =====You can download the Maven version (version 3.0.3 recommended) at=====
 * ||  || =====b.===== || =====You can download the Maven version (version 3.0.3 recommended) at=====

[].
||
 * ||  || =====c.===== || =====Follow the installation instructions provided on the download page.===== ||
 * ====4.==== || ====Install Mercurual 1.9 or greater==== || =====a.===== || =====If Mercurial is already installed, please proceed to the next step.===== ||
 * ||  || =====b.===== || =====You can download the latest Mercurial version at [|http://tortoisehg.bitbucket.org/](version 2.1.1 recommended for Windows) or [] (version 1.98 recommended. Most platforms supported).===== ||
 * ||  || =====c.===== || =====Follow the installation instructions provided on the download page.===== ||
 * ====5.==== || ====Retrieve source code from [|http://tocri.sipilotdevelopment.org]==== || =====a.===== || =====For command-line checkout=====
 * ====5.==== || ====Retrieve source code from [|http://tocri.sipilotdevelopment.org]==== || =====a.===== || =====For command-line checkout=====
 * ====5.==== || ====Retrieve source code from [|http://tocri.sipilotdevelopment.org]==== || =====a.===== || =====For command-line checkout=====

i. Change to your local workspace directory and checkout with the following: hg clone []

ii. You will be prompted for a userid and password. If you do not already have them, contact Steven.M.Cason@lmco.com, Ronald.Kolwitz@lmco.com, or Mark.Bamberg@medfx.com. ||
 * ||  || =====b.===== || =====For TortoiseHg checkout=====

i. Right-click on your desired local development workspace and select TortoiseHg > Clone.

ii. In the setup menu enter the following and then click **OK**: Source: []

Destination: location to locally checkout project to (e.g., C:\Projects\siframework-toc)

iii. You will be prompted for a userid and password. If you do not already have them, contact Steven.M.Cason@lmco.com, Ronald.Kolwitz@lmco.com, or Mark.Bamberg@medfx.com. ||
 * ||  || =====c.===== || =====For Eclipse checkout=====

i. In eclipse select File > Import > Mercurial > Clone Existing Mercurial Repository



ii. In the setup menu enter the following and then click **Next**:

Repository location URL: []

Clone destination: Check the Checkout as a project(s) in the workspace Clone directory name: siframework-toc

iii. You will be prompted for a userid and password. If you do not already have them, contact Steven.M.Cason@lmco.com, Ronald.Kolwitz@lmco.com, or Mark.Bamberg@medfx.com.

iv. In the revision menu verify the following and then click Next: Please enter a valid revision: default



v. In the import projects menu verify the following and then click Finish: siframework-toc should be checked ||
 * ====6.==== || ====Build the Maven Project and View Reports==== || =====a.===== || =====For command-line build=====
 * ====6.==== || ====Build the Maven Project and View Reports==== || =====a.===== || =====For command-line build=====

iv. View the reports generated under target\site\project-reports.html
||
 * ||  || =====b.===== || =====For Eclipse build=====

vi. Right click target > site > project-report.html and select Open With > Web Browser to view the reports
||

Mercurial integration (MercurialEclipse 1.8 recommended) at [].

include component="page" wikiName="siframework" page="space.template.inc_contentleft_end"