Vous êtes sur la page 1sur 26

Project Setup

04/01/2011

BFS 2.4 Naveen Beniwal naveen.beniwal@tcs.com

TCS Public

Project Setup

Get Latest Code from SVN


Get the latest code from SVN and import the following project in eclipse:

HCPortalService HCPortalWeb HCSystemIntegrationLoad HCSIGISIntegrationLoad

Properties Folder Setup


Make a new folder HCProperties in the root folder and place the following properties files in the same: Batch HCPortalCarrierLoadResources HCPortalServiceResources log4j

Project Setup
Now follow the below steps as per the screenshots to setup the Development Project: Step 1. Create Work space Create the new work space and import the following projects HCPortalService HCPortalWeb HCSystemIntegrationLoad HCSIGISIntegrationLoad

Internal Use

Project Setup

Figure 1. Create Workspace

Internal Use

Project Setup

Step 2. Add new Server Now add the new server as per the following screen shots.

Figure 2. Add New Server -1

Internal Use

Project Setup

Figure 3. Add New Server -2

Internal Use

Project Setup

Figure 4. Add New Server -3

After selecting apache tomcat v6.0, select the location of the tomcat server on your system.

Internal Use

Project Setup

Figure 5. Add New Server -4 Click on finish once all steps are done.

Internal Use

Project Setup

Figure 6. Add New Server -5

Internal Use

Project Setup

Step 3. Run Configurations -- Configure HCProperties at run time

Now go to Run ---> Run Configurations and Click on Apache Tomcat---->New Configuration and select User Entries under CLASSPATH tab.

Figure 7. Run Configurations - 1

Internal Use

Project Setup

Figure 8. Run Configurations - 2 Now click on advanced and choose Add external Folder and browse the location where HCProperties is kept.

Internal Use

10

Project Setup

Figure 9. Run Configurations - 3

Internal Use

11

Project Setup

Figure 10. Run Configurations - 4 Click the run button in order to save and run the configuration.

Internal Use

12

Project Setup

Figure 11. Run Configurations - 5

Internal Use

13

Project Setup

Step 4. Configure JRE In order to configure JRE1.5.0.11 to your project select Properties option from the File menu.

Figure 12. Configure JRE - 1

Go to java build path and select Libraries tab. Now click on Add Library to configure the JRE.

Internal Use

14

Project Setup

Figure 13. Configure JRE - 2 Choose JRE system Library and click Next button.

Figure 14. Configure JRE - 3

Internal Use

15

Project Setup

Select Alternate JRE radio button and click Installed JREs button.

Figure 15. Configure JRE - 4

Internal Use

16

Project Setup

Click on ADD button.

Figure 16. Configure JRE - 5

Internal Use

17

Project Setup

Select Standard VM and click on Next button.

Figure 17. Configure JRE - 6

Click on Directory and select the jre1.5.0.11 from your system. Follow the following path to locate jre1.5.0.11 on your system: MyComputer---->ProgramFiles---->Java-----jre1.5.0_11

Internal Use

18

Project Setup

Figure 18. Configure JRE - 7

Internal Use

19

Project Setup

Figure 19. Configure JRE - 8

Internal Use

20

Project Setup

Click on finish once it is done.

Figure 20. Configure JRE - 9

Internal Use

21

Project Setup

Select the newly added JRE by checking the corresponding radio button.

Figure 21. Configure JRE - 10

Internal Use

22

Project Setup

And click finish.

Figure 22. Configure JRE - 11

Internal Use

23

Project Setup

Click OK once jre1.2.0.11 is configured.

Figure 23. Configure JRE - 12

Internal Use

24

Project Setup

Step 5. Clean & Build the Projects

Select all the Projects and clean them in order to build the projects by following the below path: Project----> Clean All Projects.

Figure 24. Clean & Build the Projects - 1

Internal Use

25

Project Setup

Figure 25. Clean & Build the Projects - 2

Step 6. Supply the latest Jar file Error Resolution In order to remove the errors in HealthCare Web project make the jars either manually or via ant script of HealthCare Service HCSIGISIntegrationLoad & HCSystemIntegrationLoad projects. Now place the jar of HealthCare Service, HCSIGISIntegrationLoad & HCSystemIntegrationLoad projects in lib directory of HealthCare Web project.

Now the Development Project is ready to use.

Internal Use

26