Produced by Araxis Merge on 5/10/2019 1:00:04 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | CPRS_v32_64_P2.zip\OR_30_405V64_SRC.zip\10_2 | Delphi_10_2_Component_Install.docx | Wed Apr 3 19:32:33 2019 UTC |
2 | CPRS_v32_64_P2.zip\OR_30_405V64_SRC.zip\10_2 | Delphi_10_2_Component_Install.docx | Thu May 9 14:08:17 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 1 | 114 |
Changed | 0 | 0 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | Setting up CPRS for independan t access o f Custom C ontrol lib raries | |
2 | As the CPR S team exp ands into more and m ore librar ies it has become ev ident that a simpler way of ma naging the se control s is neede d. This do cument wil l outline a streamli ned method of instal ling the c omponents without th e need for all the e xtraneous path defin itions we have used in the pas t. All com ponent sou rce is now stored un der a Delp hi specifi c (XE3, XE 5, XE8, et c.) direct ory in Jaz z so that developers can run m ultiple ve rsions of Delphi wit h separate controls for each v ersion. Be fore begin ning find a director y outside of the Jaz z Workspac es to plac e the comp iled packa ges into. This needs to be out side of th e Jazz Wor kspaces be cause the new setup uses the c ompiled un its instea d of the t raditional source co de paths w here every thing is c onstantly re-compile d into the CPRS proj ect. If th e develope r wishes t o use the same direc tory as wa s defined before wit h the CPRS environme nt variabl e that is fine so lo ng as that variable references a directo ry that is outside o f all Jazz Workspace s. With th is setup i n place al l copies o f CPRS com piled or b uilt will be using t he same ve rsions of the Run Ti me and Des ign Time l ibraries, including the build machine. O nce this i s complete d, code wi ll be adde d to CPRSC hart that will check the versi ons of the component s, further guarantee ing that t he final p roduct we release is exactly w hat we thi nk it is. | |
3 | ||
4 | To begin w e need to uninstall all existi ng compone nts. | |
5 | Step 1: St art Delphi but do no t open any projects. | |
6 | Step 2: In the menus selecte C omponent | Install P ackages … | |
7 | Step 3: Th e followin g dialog w ill displa y (package names may be differ ent but si milar): | |
8 | ||
9 | Step 4: Se lect the f ollowing p ackages an d click on Remove to take them out of yo ur configu ration. Be sure to a sk if you find packa ges that d on't look like stand ard Delphi packages but may ne ed to be c leared out anyway. | |
10 | Copy Paste Monitor – XE8 | |
11 | Components downloade d from Bor land's Web Page | |
12 | CPRS Custo m Controls – XE8 | |
13 | VA Section 508 Acces sibility – XE8 | |
14 | VistA RPC Broker – X E8 | |
15 | Step 5: Cl ose this d ialog. | |
16 | ||
17 | Now we nee d to verif y the path s and envi ronment va riables. U nder the m enus selec t Tools | Options … and the fo llowing di alog will be present ed. Select Environme nt Variabl es. | |
18 | ||
19 | In the env ironment v ariables d elete any that are s pecific to the CPRS project (i .e. Broker , PKI, AVL ogger etc. ). Do not remove any that are sepcific t o BDS sett ings. The example ab ove shows a the new CPRS_Packa ges variab le pointin g to the d irectory t hat we des cribed at the beginn ing of thi s document . Your dir ectory may be differ ent. Again , this is NOT to be the Jazz S andbox dir ectories. Also notic e that the last sub- directory is 10_2. T his is bec ause you w ill be com piling the component s for each version o f Delphi, and we do not want c ompiled li braries in the CPRS_ Packages s tream. | |
20 | You must e nsure that the last subdirecto ry in the packages t arget fold er (C:\Dat a\CPRS\Pac kages\XE8 above) is different for each v ersion of Delphi you have inst alled on t he compute r. Do NOT attempt t o use C:\D ata\CPRS\P ackages\XE 8 for both Delphi XE 8 and Delp hi 10.2.x. | |
21 | ||
22 | Now we nee d to selec t the Libr ary settin gs as show n here. | |
23 | ||
24 | Notice tha t the Pack age output directory and DCP o utput dire ctory are the same. This is wh ere the cu stom contr ols will b e placed t o be acces sed by the IDE. Open up the Li brary path with the […] button . | |
25 | ||
26 | Previously we setup paths for each compo nent packa ge as show n here. | |
27 | ||
28 | You may al so have a patch for the AVLogg er as well . We want to clean t hese up by selecting them in t he list an d pressing Delete. D o not pres s the Dele te Invalid Paths but ton. | |
29 | ||
30 | Now we wil l add a ne w two new entries to the botto m of the l ist for | |
31 | $(CPRS_Pac kages) | |
32 | and | |
33 | $(CPRS_Pac kages)\Res ource | |
34 | You should now have a list wit h the two paths at t he bottom as shown: | |
35 | ||
36 | Next, do t he same th ing for th e Browsing path entr y. It is i mportant t o ignore a ny invalid paths at this time because we haven't m oved the n ew compile d librarie s into the directory . | |
37 | Shutdown a nd restart Delphi to let it so rt out the new direc tories. Ju st agree w ith what i t wants to do if it pops up a dialog abo ut paths. | |
38 | If this is not a new install, it is a go od idea to get a cop y of the S crubbing O ld Delphi Components From My W orkstation document and do a t horough cl eaning of any rogue libraries that may h ave been c reated in the past. These libr aries are known for cropping u p at the w rong time in the wro ng place o f your pat h variable and causi ng weird e rrors and issues. | |
39 | Open Jazz and get th e latest v ersion of CPRS_Packa ges: | |
40 | ||
41 | The arrows between C PRS_Packag es and you r local re pository w orkspace s hould both be clear (see above ). | |
42 | ||
43 | In Delphi, pull down the “File ” menu, an d select “ Open Proje ct…” | |
44 | In the res ulting dia log, brows e until yo u see the packages . groupproj file. | |
45 | ||
46 | Double-cli ck on the CPRS_Packa ges_10_2.g roupproj f ile. This will open a project group con taining al l of the p roject fil es: | |
47 | ||
48 | Right clic k on the “ CPRS_Packa ges_10_2” item at th e top of t he project manager, and select “Build Al l” from th e popup me nu: | |
49 | ||
50 | ||
51 | ||
52 | This will recompile all of the CPRS pack ages. Onc e this bui ld is done , you will need to i nstall the compile-t ime packag es. Start ing with “ Borland_D1 0_2.bpl”, right clic k and sele ct “Instal l” from th e popup me nu: | |
53 | ||
54 | ||
55 | Repeat thi s process for each b pl that ha s the smal l purple i con in the lower rig ht corner: | |
56 | ||
57 | You have n ow complet ed the ins tallation process fo r the CPRS packages. |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.