Está en la página 1de 9

Eclipse Settings Quick Reference

This is guide is set up demonstrating the HC_Dev workspace settings, please use caution when setting up E_Dev workspace or an! other workspaces This reference ma! have conflicting information versus the content on the eclipse set up videos" The information in this document should #e considered most current and correct" $ideos are difficult to edit and update" lease #e sure to appl! all steps to !our workspace" %f !ou maintain multiple workspaces, changes &generall!' will need to #e applied to ()) workspaces individuall!" Repositor!* http://uspnsvulm471.americas.cpqcorp.net:8080/svn/HC_Dev/ http://uspnsvulm471.americas.cpqcorp.net:8080/svn/PE_Dev/

+pon initial use of eclipse, !ou ma! #e prompted #! other companies to allow them to collect user data from eclipse" (nswer &no' to these prompts" ,ou should onl! #e asked once" Configuration* !in"o#s$%Pre&erences' 1' (nt$%)untime$% Tab: Classpath E*pan" +lo,al Entries ("" - E*ternal .()s $C:/Pro+ram /iles/.D0 /li,/tools.1ar $C:/234/HC_Dev/trun5/li,/ant$contri,.1ar use the correct #or5space path' 2et up (nt Home 6 +et (nt 1.8.0 &rom our &tp site 1ust paste the &ollo#in+ 7)8 into a ,ro#ser' ftp*--./0"1.."."12.-Download-apache3ant31"4"/3#in"5ip /irst step $ un9ip the &ile to c::pro+ram &iles names; option turne" on usin+ the ;use &ol"er

2econ" step $ in eclipse #in"o#%pre&erences%e*pan" (nt% clic5 on runtime% clic5 on the ;(nt Home; ,utton on the &ar ri+ht si"e navi+ate to <our ne#l< installe" c::pro+ram &iles:apache$ant$1.8./ &ol"er = select this &ol"er clic5 o5= an" <ou (nt Entries on the classpath ta, shoul" no# ,e pointin+ to the ne# &ol"er clic5 o5 to save an" e*it #in"o#s%pre&erences vie#

repeat this step &or an< other a""itional #or5spaces <ou have

-'

Chec5st<le$% create a ne# chec5st<le an" set as "e&ault 4ame: HCChec52t<le must match e*actl<' 8ocation: C::234:HC_Dev:trun5:Con&i+:Eclipse:HCChec52t<le.*ml use the correct #or5space path' !e are usin+ a &eature o& chec5st<le to control #hat imports "i&&erent pac5a+es can use. >he chec5st<le an" import control *ml &iles are containe" in the 234 "irector< 234:HC_Dev:trun5:Con&i+:Eclipse HCChec52t<le.*ml an" hps$import$control.*ml !hen <ou "o a re&resh o& chec5st<le in&ormation= ,e sure to "o it at the ?Eclipse@ &ol"er= so <ou 5eep ,oth &iles in s<nc. 4ote: once in place= the &irst time <ou ,uil"/clean= <ou #ill ,e prompte" ,< eclipse to enter <our 234 cre"entials as the chec5st<le is loo5in+ to the 234 location o& the import control con&i+uration &ile. Cre"entials arenAt save"= so <ou must enter them each time <ou si+n into eclipse. B& this "oes not #or5 &or <ou= or <ou are #or5in+ o&&line= this can ,e chan+e" locall<. Chan+e the &ile propert< o& the HCChec52t<le.*ml to ma5e it ?4C>@ rea" onl<. Bnsi"e eclipse select !in"o# Pre&erences. 2elect Chec5st<le &rom the list o& items on the le&t. 2elect the HCChec52t<le entr< an" clic5 the con&i+ure ,utton. 2elect the Bmports mo"ule on the le&t= then "ou,le clic5 Bmport Controls in the list o& ena,le" import chec5s. Currentl< the Bmport Control is con&i+ure" to point to the &ollo#in+ 7)8: http://uspnsvulm471.americas.cpqcorp.net:8080/svn/HC_Dev/trun5/C on&i+/Eclipse/hps$import$control.*ml >his can ,e chan+e" to point to a speci&ic &ile location= either varia,le in nature or har" co"e". E*amples: 3aria,le &rom the #or5space location: D E#or5space_locF/../Con&i+/Eclipse/hps$import$control.*ml Har"co"e" &ile location: C:/234 /HC_Dev/trun5/Con&i+/Eclipse/hps$ import$control.*ml

Ge sure to remove the 7)8 &rom the url &iel" an" place a vali" entr< in the &ile &iel" a,ove the url &iel". 4ote i& <ou have multiple #or5spaces that share a common chec5st<le con&i+uration a relative #or5space ma< not ,e "esira,le.

H' 4'

Bnstall/7p"ate$%(utomatic 7p"ates: 7nchec5 (utomaticall< /in" ne# 7p"ates .ava$%Guil" Path$%7ser 8i,raries E*pan" $% Create H user li,raries #ith the names o& : HC_8BG= HC_CC>2_8BG= HC_CCIP_8BG 7se the ,elo# em,e""e" "ocument to +et the correct 1ar content into these li,raries >he correct path to +et to the 1ars #ill ,e C::234:HC_Dev:>run5: 8i, C::234:HC_Dev:>run5:CC>28i,

HC_COTS_LIB.txt

HC_CCIP_8BG user li,rar< #ill remain empt<= ,ut it must ,e a""e" see +eneral announcement &orum post "ate" H/1/-010 &or more "etails a,out this li,rar<'

J'

.ava$%Guil" Path$%Classpath 3aria,le Create a ne# varia,le calle" HC_8BG_CC4/BK 2et the path to C:/234/HC_Dev/trun5/8i,/con&i+ use the correct #or5space path'

Ia5e sure to &ollo# these steps= as the< are "i&&erent &rom the vi"eo L' .ava$%Co"e 2t<le Clean up$%Bmport HC_Dev:trun5:Con&i+:Eclipse:HCClean7pPro&ile.*ml use the correct #or5space path' /ormatter$%Bmport HC_Dev :trun5:Con&i+:Eclipse: HC.avaCo"e/ormatter.*ml use the correct #or5space path' .ava E"itor 2ave (ctions Ia5e sure the 2ave (ctions are in s<nc #ith the .ava Co"e 2t<le Clean up settin+s. /ollo# these screen shots:

7'

Clic5 Con&i+ure an" continue #ith the "i&&erent ta,s:

Ia5e sure <ou clic5 C0 to save the chan+es. 8' M' .ava$%Compiler .D0 Compliance$%Complier Compliance level: 1.L .ava$%Bnstalle" .)E Ensure the chec5e" .)E path is pointin+ to our HP2 .)E Iost li5el< C:Pro+ram /iles:.D0:1re 3eri&< <our classpath varia,les un"er .ava%,uil"path%classpath varia,les Ensure that the varia,les startin+ #ith .)E are all pointin+ to the ne# location. .ava$%E"itor$%/ol"in+ Ena,le /ol"in+ Co&&ee G<tes .ava /ol"in+ &rom "rop "o#n .ava$%/in"Gu+s Tab: Detector con&i+uration: Chec5 ever<thin+ e*cept the &ollo#in+: Ga"(ppletConstructor Bn&inite)ecursive8oop2prin+$%Dash,oar" 7nchec5 the ?2ho# on startup@ ,o* to not have the 2>2 "ash,oar" sho# up each time <ou open eclipse. <ou must appl< the Cop!right Template= +o to the &ollo#in+ lin5 &or in&o:

10' 11'

1-' 1H'

http://uspnsvulm471.americas.cpqcorp.net:8080/svn/HC_Dev/trun5/Documentation/(ppl <in+N-0an"N-07sin+N-0Cop<ri+htN-0>emplatesN-0inN-0Eclipse."oc 14' >o attach &rame#or5 an" c,o& pro1ect co"e= +o to the "ev site un"er Doco an" see this "ocument. Oou #ont ,e a,le to see 1ava co"e &or these pro1ects #ithout &ollo#in+ these steps. Ho# to (ttach /rame#or5 an" CGC/ source &iles

1J' >o ta5e a"vanta+e o& a ne# class &ile "ecompiler= this is optional' $"o#nloa" the 9ip &ile &rom .a" 1.J.8+ &or !in"o#s M*/4>/-000 on Bntel plat&orm $e*tract to a +oo" location li5e C::Pro+ram /iles:.(D Point eclipse to the e*e location ! in"o#s%pre&erences%1ava%.a"Clipse $set path to "ecompiler to location o& the e*e C::Pro+ram /iles:.(D:1a".e*e' $set a temp area C::>emp:.(D' 1L' #in"o#s%pre&erences%+eneral%#or5space%local histor< Gump these settin+s to allo# <ou to 5eep more local histor< than the "e&ault "a<s to 5eep PH0= ma* entries P J00= ma* &ile si9e P 100 (s a startin+ pointin+= i& <ou nee" to increase= <ou can

Popular options <ou ma< #ish to set: Show )ine num#ers: #in"o#s%pre&erences%Keneral%e"itors%te*t e"itors 6pen on single click: #in"o#s%pre&erences%Keneral rompt for workspace :#in"o#s%pre&erences%+eneral%startup an" shut"o#n%#or5space +se 7e!ondCompare utilit! from eclipse % see &orum post un"er Environment/>ools )elate" /orums%Eclipse BDE "ate" 0L/1J/-011 name" 7sin+ Ge<on"Compare #ith Eclipse. B& <ou have alrea"< installe" Ge<on" Compare so&t#are previousl<= no nee" to reinstall. Bn&ormational Cnl< : 2ometimes <ou ma< e*perience ?o""@ issues #ith eclipse= <ou can tr< to start eclipse &rom the comman" prompt #ith a parm o& $clean >his is not to ,e con&use" #ith the clean option in eclipse to "elete <our ,in "irector< an" recompile co"e= startin+ eclipse in this manner occasionl< #ill clean cache" "ata use" ,< the C2Ki &rame#or5 an" Eclipse runtime. >r< to run Eclipse once #ith this option i& <ou o,serve startup errors a&ter install= up"ate= or usin+ a share" con&i+uration.

También podría gustarte