您的位置:久久首頁(yè)> 心理> 婚戀心理> 第一次 >概況

Eclipse and Mac OS X: A Natural Combination

發(fā)布時(shí)間: 2009-11-27 04:45:14      來(lái)源:developer.apple.com

用手機(jī)掃描二維碼在手機(jī)上繼續(xù)觀看

什么是自體免疫性肝炎
手機(jī)查看
導(dǎo)

ThankstoitshighlyoptimizedbutfullystandardJavaimplementation,MacOSXhasgarneredareputationamongstdevelopersasanexcellentplatformfordevelopinganddeployingJavaapplications.ThemostrecentreleaseofEclipse,thewell-respectedopen-sourceIDE,forMacOSXonlystrengthensthecase,asthisflexibleandhighlyextensibletoolisafavoriteofmanyJavadevelopers.ThisarticleprovidesaquickoverviewofEclipseforMacOSXandexplainshowtodownloadthelatestversionandgetstarted.

WhatIsEclipse?

Eclipsewasoriginallydesignedforbuildingintegrateddevelopmentenvironments(IDEs),thatwereversatileenoughtocreateapplicationsforarangeofprogramminglanguages.TheintentionwastoprovidetoolsmakerswithanIDEthatwouldincludemechanismsandrulesthatwouldconsistentlyresultinseamlesstoolsintegration.Sincethen,EclipsehasevolvedtoincludeanIDEthatprovidesbenefitsforawiderangeofdevelopmentprojects.

BecauseitisJava-based,EclipseincludestheJavaDevelopmentKit(JDK);andyetitsarchitecturesupportsallmajorprogramminglanguagesfromC/C++toCobol.

Eclipseisafreedownload,andisavailableonanumberofplatforms.SinceIBMlaunchedEclipseinNovember2001,morethan18milliondownloadrequestshavebeenloggedfromover125countries.

Agrowingconsortiumofhigh-profilecompaniesandorganizationsareactivelysupportingandextendingEclipse'songoingdevelopmentandgivingtheplatformmomentum.Theseorganizationscontributesupportandtechnology,andtheydeterminethedirectionandscopeofEclipse'sgrowth.

HighlyExtensible

Becauseitisahighlyextensible,openframework,Eclipseallowsyoutouse—andcreateyourown—plug-intoolstoextendthebasicEclipseIDEfordevelopingyourapplications.

ThismeansthatifyouaredevelopinganapplicationusingEclipseforMacOSX,andyouneedaspecialtooltofacilitatedevelopmentonyourproject,youcanchoosefromliterallyhundredsofavailableplugintoolsthatworkseamlesslywithEclipseandwithanyoftheplugintoolsyouareusing.

Theseplugins,whichhavebeendevelopedbyawidevarietyofcompaniesandindividuals,runthegamutfromtraditionalcodingtoolssuchassourcecodeanalyzers,graphicallayouttools,andcompilerstoproductivityenhancerslikebugtrackers,sourcecodemanagers,andevengames.Whenyoudownloadandunziptheplugintools,theyareautomaticallyintegratedintotheEclipseframeworkenablingyoutocreatehigh-qualityapplicationsinlesstime.

Eclipse'sarchitecturehasfosteredaworldwidecommunityofplugindevelopers.Asmorepluginsarecreatedthataddresstheentiredevelopmentcycle,Eclipsebecomesincreasinglyuseful,andpopular.

Therangeofpluginsisamazing.OnebiotechconsultantusestheJmechanicplugin,saying,"ourclientscouldquicklyidentifymanyperformanceproblems,andcouldthendecidewhetheritwassomethingtheywantedtofix,outsource,orlivewith."UsingtheEclipsepluginsavedlicensingcosts,andgaveeachdeveloperontheirteamthefreedomtorunatimeprofilebeforecheckingintheircode.

AnotherdeveloperusesEclipseashisprimaryIDE,andsays,"theSysdeoTomcatlauncherpluginisessentialformydailywork,becauseitallowsmetodoruntimedebuggingofmywebapplicationfromwithinEclipse."

Figure1showstheEclipseuserinterfaceonMacOSX,withanopenexampleofasampleplug-inproject.

Figure1:EclipseUserInterfaceonMacOSX

SpeedsDevelopment

YouwillquicklydiscoverthatoneofthereasonsEclipseispopularwithdevelopersisthatitisintuitivetolearnanduse.TheEclipseframeworkincludestheworkbenchcomponentthatprovidesEclipsewithitsuserinterface,acollectionofviewsandeditors.Whenyouselectaperspective,youarespecifyingthesetoftoolsyouneedtouseforthetaskathand.ThiselegantworkbenchmetaphormakestheEclipseenvironmenthighlyintelligent.

Eclipse'sfeaturesarewellimplementedandveryeffective,andaredesignedtoincreasethespeedofthedevelopmentcyclebyautomatingtedioustasksthatdistractyoufromcoding.

Otherstrengthsincludebuilt-inCVSintegrationthatmakesitconvenienttosynchronizecodewiththeCVSserver.OneEclipseusersays,"theSynchronizeviewmakesiteasytomergechangesandviewchangesbeforeIdecidetoupdate.TheAnnotationviewallowsmetodeterminewheneachlineofafilewasaddedandwhoaddedit.Thisfeatureisgreatfortrackingdownbugs."

Eclipseintegratesabest-of-breedimplementationoffeaturessuchas:

CodeRefactoring-Allowsyoutoreorganizeandmakeotherglobalchangestoyourcodesuchaschangingthenameofamethodorchangingparameters.Refactoringisawayofmakingsystem-widecodechangeswithoutaffectingthebehavioroftheprogram.ContentAssist-DisplaysalistofphrasesthatyoucanselectfromtocompletewhatyouaretypingwheneditingJavacode.ThislistisbasedonanongoinganalysisofyourJavacode.QuickFix-Enablesyoutocorrectawidevarietyofproblems,fromspellingerrorsandmissingimportstatementstodeclaringlocalvariablesandclasses.TheJavaeditorofferscorrectionstoproblemsfoundwhiletypingandaftercompiling.ExtractMethod-Createsamethodforthehighlightedcode.UnitTesting-ProvidesyouwithaneasywaytorunalltestsinaspecifiedJavaproject,sourcefolder,orpackage.ImportManagement-Providesyouwithseveralfeaturesthathelpyoumanageimportstatements.DocumentationLookup-Displaysdocumentationrelatingtothemethodyoupointtowiththecursor.Thecommentdisplayedshowsthemethodname,documentationformethodparameters,andthereturnvalue.Debugger-Enablesyoutodetectanddiagnoseerrorsinyourprogramsrunningeitherlocallyorremotely.Thedebuggerincludes"hotcodereplace"thatallowsyoutochangesourcecodeduringadebuggersession.Cross-PlatformDevelopmentTeams

WhenusedwithEclipse,MacOSXsupportsheterogeneousdevelopmentteams,enablingyoutomixMacOSX,Linux,UNIXandXPcomputingenvironments.ThismeansthatifyouhaveadozenWindowsusersandadozenMacusersonyourdevelopmentteam,theseteammembersondifferentplatformscanworkonthesameprojectwithoutbarriers.

Eclipseisgreatfororganizingmultipleprojectswithalargeteamofdeveloperswhocanworkcollaboratively."IfoundthatEclipsegaveusaveryclearpictureofthehundredorsointerlockingprojectsatoneclient"adevelopertoldus."Itmadeiteasytoseewheretheseprojectsconnected,andallowedustorefactorcorelibrarieseasily."Thisdeveloperexplainedthattheirbidtoreduceinter-projectdependenciesforaclientrequiredsplittingadozencoreprojectsintoseparateunits.WithEclipse,oneoftheirteamfinishedthecodingworkinunderaweek.Hesays,"Isuspectthatthemanualmethodwouldhavetakenamonth,andthuswouldnothavebeencosteffective.Youcannothaveyourcorelibrariesinturmoilforthatlong."

Infact,insomeindustries,suchasbiotech,asignificantpercentageofdeveloperscurrentlyareusingMacOSXandPowerBooksbecausetheycandevelopapplicationsforMac,Windows,Linux,andSolarisdeployments,withonebox.Ourbiotechdevelopersays,"MostofourworkisinJava,thoughwealsodoPerl,C++,MATLAB,andwhateverelseourclientsask.WechoosethisplatformbecausetheJavaimplementationisgood,wehaveaccesstoafullunderlyingUnixlayer,andwehaveagoodsuiteofproductivityapplications.WithoutMacOSX,wewouldlikelyhavetocarryaroundtwodifferentmachines,withadualbootLinuxoptiononatleastoneofthem."

WhyDoJavaDevelopmentontheMac?

TheeaseofuseofMacOSX,thepowerandstabilityofUNIX,theintegrationofJavaintoMacOSXandtheavailabilityofgreatdevelopmentenvironmentslikeEclipsemaketheMacagreatJavadevelopmentenvironment.

UNIXusersfeelathomeinDarwin,therobustUNIX-basedenvironmentthatunderliesMacOSX.ThatenvironmentisaccessibleatanytimefromtheTerminalapplication.AllofthestandardUNIXutilitiesandscriptinglanguagesareincludedinMacOSX—editorssuchasemacs,vimandpico;filemanagementtoolssuchascp,mv,lsandgnutar;shellscriptsincludingbash,tcsh(csh)andzsh;andscriptinglanguagessuchasPerl,PHP,tcl,RubyandPython.ForJava-basedwebengineers,Apache,TomcatandJBossarealsoincluded,soyoucandoJSPdevelopmentorenterpriseclassJ2EEapplications.

MacOSXalsogivesyouahighlymobileplatform.ThePowerBookseriesprovidesahigh-poweredworkstationthatiscompletelyportableandallowsyoutopickupandgo,andthenquicklyresumeworkatanewlocation.Evenasyouopenyourlaptop,networkconnectionsarebeingreestablishedandthecomputerisimmediatelyupandrunning.

ApplehasmadeJavaacorecomponentofMacOSX—everyMacshipswiththefullversionofJava2,StandardEditionincluded—meaningyouhavetheJavaDeveloperKit(JDK)andtheHotSpotvirtualmachine(VM)withoutdownloading,installingorconfiguringanything.AndbecauseApplehasoptimizedJavaonMacOSX,Javaapplicationsactasfirst-classcitizensonMacOSX.

InadditiontoEclipsemanyoftheindustryleadingtoolsareavailable,includingIntelliJ'sIDEA,Borland'sJBuilder,Oracle'sJDeveloper,andSun'sNetBeans,justtonameafew.MacOSXalsoincludesfreedevelopertoolswhichsupportrapidJavadevelopmentrightoutofthebox.

GettingStarted

YoucangetacopyofEclipsebyvisitingtheEclipsedownloadpageanddownloadingthelatestbuild.(ThecurrentversionofEclipserequiresMacOSXv10.3Panther.)Allbuildsaredeliveredas.ZIPfiles.

DownloadandinstallEclipseUsingyourSafaribrowser,gototheeclipse.orgWebsite.ClickDownloads.ClickMainEclipseDownloadSite.IfyouarenotlocatedinNorthAmerica,usethemirrorsiteclosettoyourlocation.ClickthenameoftheReleaseBuildyouwant.Atthetimeofthiswriting,the"3.0StreamStableBuild"isthelatestdeveloperpreviewofversion3.0.Thisversioniscurrentlyfinefordailyuse.Under"EclipseSDK,find"MacOSX(Mac/Carbon)(SupportedVersions)"—thefilenameisalsodisplayed.SelecteithertheHTTPorFTPdownloadoption.AfterreadingtheNotes,click"Download"atthebottomofthepage.Whenthedownloadiscomplete,unzipthearchiveintotheappropriatefolder.

(OlderversionsofStuffittruncatedfilenamesandcausedproblemswithEclipse.Makesureyouareusingtheappropriateversion.)


Yourinstallationisnowcomplete.ClicktheEclipseicontolaunchtheIDE.

ThefirsttimeyourunEclipse,itcompletesafewremaininginstalltasks—suchascreatingaworkspacedirectory—beforetheEclipseenvironmentappears.

Workthroughthetutorials

WithEclipseinstalledandrunning,youcanbeginbylookingatanoverviewofEclipsefeaturesandpluginsinstalledonyoursystem,andthendoingatutorialthatguidesyouthroughbuildingasimpleJavaapplication.

ToseetheoverviewoftheEclipsefeatures:fromtheHelpmenu,chooseAboutEclipsePlatform

TodoatutorialonbuildingasimpleJavaapplication:fromtheHelpmenu,chooseJavaDevelopmentUserGuide>GettingStarted>BasicTutorial

ResourcesforMoreInformationMailinglists:www.eclipse.org/mail/index.htmlPluginarchives:www.eclipse-plugins.info/eclipse/index.jspJoincommunity:www.eclipse.org/community/index.htmlEclipseLive,byBillDudney(paidsubscription).Eclipse,bySteveHolzner.

Posted:2004-06-07

標(biāo)簽閱讀:

分享到:

相關(guān)閱讀

如何化好裸妝很重要  這些技巧不能少
如何化好裸妝很重要 這些技巧不能少
裸妝對(duì)于日常的女性來(lái)說(shuō),其實(shí)是非常受歡迎的一種妝容,看起來(lái)沒(méi)化妝,實(shí)際上全是裸妝的技巧,這樣對(duì)于整體的妝容,也是非常的清新自然,對(duì)大家的妝感也會(huì)非常的輕薄。皮膚雖然白皙但是不水潤(rùn)沒(méi) [詳細(xì)]
2019-07-17 14:06:24
如何避免夏季化妝不脫妝
如何避免夏季化妝不脫妝
進(jìn)入夏季以后,喜歡化妝的還是會(huì)經(jīng)常的化妝,對(duì)于愛(ài)美的女性來(lái)說(shuō),出門不化妝是不會(huì)出門的。所以,保持妝容的持久和干凈,這對(duì)女性的化妝手法和技巧都是很實(shí)用的。大多數(shù)女性都會(huì)化妝,即使是夏 [詳細(xì)]
2019-06-29 20:33:32
注重美容覺(jué)對(duì)皮膚和身體好  女性適合什么時(shí)候睡覺(jué)
注重美容覺(jué)對(duì)皮膚和身體好 女性適合什么時(shí)候睡覺(jué)
作為女性,想要好看的容顏,也需要一個(gè)健康的身體,因?yàn)榻】档纳眢w是一切的根本,這樣才能有長(zhǎng)久的美麗。作為女性都是愛(ài)美的,各種美容,大家在平時(shí)都是非常的在意。良好的睡眠對(duì)任何人的身體都 [詳細(xì)]
2019-06-29 20:31:50
盤點(diǎn)女性掉發(fā)常見(jiàn)的原因  如何做好養(yǎng)護(hù)呢?
盤點(diǎn)女性掉發(fā)常見(jiàn)的原因 如何做好養(yǎng)護(hù)呢?
女性對(duì)于自己頭發(fā)的在意,不僅是做好洗頭,還有各種發(fā)型的塑造,這些都是需要好發(fā)質(zhì),這樣才能表達(dá)自己的美麗。作為女性都知道,保持好看的發(fā)型,適合自己的發(fā)型會(huì)非常的重要,這就是保持美麗的 [詳細(xì)]
2019-06-29 20:30:38
保持子宮年輕有哪些秘訣  試試這些經(jīng)典方法
保持子宮年輕有哪些秘訣 試試這些經(jīng)典方法
作為女性,想要維持子宮的健康,一定要注意做好預(yù)防,這樣才能保持子宮的健康,這樣不管是氣色還是健康問(wèn)題,大家都是由內(nèi)而外的散發(fā)出來(lái),會(huì)非常的明艷動(dòng)人。子宮是是女性最重要的器官之一,是 [詳細(xì)]
2019-06-29 20:29:32
哪些壞習(xí)慣會(huì)影響牙齒健康 這些錯(cuò)誤你犯了嗎?
哪些壞習(xí)慣會(huì)影響牙齒健康 這些錯(cuò)誤你犯了嗎?
想要好好的護(hù)理牙齒的健康,大家在日常一定要注意做好預(yù)防的工作,因?yàn)榭谇坏男l(wèi)生需要注意做好預(yù)防和保護(hù),這樣才能避免口腔的衛(wèi)生問(wèn)題。不管在什么年紀(jì),做好牙齒的護(hù)理都很重要,牙齒是我們口 [詳細(xì)]
2019-06-29 20:28:15
背部的保養(yǎng)比臉重要   女性如何做好保養(yǎng)
背部的保養(yǎng)比臉重要 女性如何做好保養(yǎng)
在日常生活中,大家會(huì)非常的注意保持臉部的干凈和衛(wèi)生,不管是使用各種面膜還是各種護(hù)膚品,大家花費(fèi)的時(shí)間和金錢,都是很樂(lè)意的。其實(shí)作為女性不僅要重視臉部的保養(yǎng),后背的保養(yǎng)也非常的重要。 [詳細(xì)]
2019-06-29 20:27:15
女性護(hù)理陰道必不可少  哪些是健康的小方法
女性護(hù)理陰道必不可少 哪些是健康的小方法
作為女性應(yīng)該重視自己的私處護(hù)理,對(duì)于陰道的健康,在平時(shí)大家應(yīng)該重視護(hù)理,做好疾病的預(yù)防才能保持好健康。為了保養(yǎng)好陰道健康,大家子啊平時(shí)一定要注意護(hù)理,這樣才能保持好健康。女性的身體 [詳細(xì)]
2019-06-29 20:26:11
腹部按摩也是一種養(yǎng)生方法   常按摩祛百病
腹部按摩也是一種養(yǎng)生方法 常按摩祛百病
當(dāng)你久坐出現(xiàn)肩膀的疼痛,會(huì)找一些按摩店進(jìn)行放松,這對(duì)頸肩的放松,也是按摩手法的一種。如今很多白領(lǐng)或是工作人員去按摩放松,每次按摩以后,可以舒服一段時(shí)間。按摩是中醫(yī)傳統(tǒng)的養(yǎng)生方法之一 [詳細(xì)]
2019-06-29 20:25:20
夏季女性的身體敏感部位要認(rèn)真清洗  具體是哪些
夏季女性的身體敏感部位要認(rèn)真清洗 具體是哪些
到了夏季后,大家一定要注意做好身體的清洗工作,因?yàn)橄募緯?huì)非常的喜歡流汗,出汗多,身體就需要做好清洗的工作,這樣才能避免疾病問(wèn)題,對(duì)大家的健康才有好處。作為女性,每天都會(huì)洗澡至少1次 [詳細(xì)]
2019-06-29 19:08:10