計(jì)算機(jī)編程類外文翻譯_第1頁(yè)
計(jì)算機(jī)編程類外文翻譯_第2頁(yè)
計(jì)算機(jī)編程類外文翻譯_第3頁(yè)
計(jì)算機(jī)編程類外文翻譯_第4頁(yè)
計(jì)算機(jī)編程類外文翻譯_第5頁(yè)
已閱讀5頁(yè),還剩22頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、本科畢業(yè)設(shè)計(jì)外文文獻(xiàn)及譯文文獻(xiàn)、資料題目:eclipse distilled文獻(xiàn)、資料來(lái)源:eclipse distilled 文獻(xiàn)、資料發(fā)表(出版)日期:2005.2.14院 (部): 理學(xué)院專 業(yè): 信息與計(jì)算科學(xué)班 級(jí): 信計(jì)姓 名: 學(xué) 號(hào): 指導(dǎo)教師: 翻譯日期: 2012.5.12山東建筑大學(xué)畢業(yè)設(shè)計(jì)外文文獻(xiàn)及譯文外文文獻(xiàn):chapter 1. a java ide and so much more!looking at eclipse is similar to looking at a well-cut diamond. what you see depends on the

2、angle of your view and on how deeply you gaze into the interior. to some viewers eclipse is a java ide with the usual features one expects from such an environment: editor, debugger, and project builder with a wide array of preference customizations. to others eclipse is a generic framework for tool

3、 integration providing an extensive, flexible plug-in api. the home page declares that eclipse is a kind of universal tool platforman open extensible ide for anything and nothing in particular.both perspectives are valid interpretations. as the eclipse community continues its rapid e

4、xpansion, other users will see it as a modeling tool, a business rules management application, a business process designer, a development environment for embedded systems written in c+, or an html authoring and document management environment. using the rich client platform (rcp) configuration, ecli

5、pse is the basis for any end-user client application.many books have been and will be written to describe each facet of the eclipse diamond. this book focuses on eclipse as an integrated development environment for building java applications. those applications may be other open source utilities, la

6、rge enterprise systems, or new plug-ins for eclipse. this book is equally applicable to each of those project teams and individuals.eclipse is developed by and for teams using a modern, agile development process. eclipse is developed using eclipse in a large, distributed team and with an iterative a

7、pproach that rebuilds and tests the entire project every night. as a result, eclipse is well suited to any project using these methods. this book describes several best practices common to agile development teams and explains in detail how eclipse assists you in those tasks.in this chapter, well vie

8、w these facets of eclipse:building blocks of the eclipse platform architecture.development components provided by other eclipse projects.alignment of eclipse with the principles of agile development.1.1. eclipse platform architecturegiven the wide-ranging interpretations of eclipse, it is difficult

9、to present a quick summary of its architecture. the most general description is an abstract view of the development and runtime environment for creating and deploying plug-in contributions. alternatively, we can take a functional view that describes eclipse as a flexible, extensible integrated devel

10、opment environment (ide). well take the latter viewpoint and focus our attention on how eclipse provides an unparalleled opportunity to improve productivity of software development work.the eclipse ide is as follows:multi-platform. the target operating systems of eclipse 3.0 are windows, linux (moti

11、f and gtk), solaris, aix, hp-ux, and mac osx.multi-language. eclipse is developed using the java language, but it supports writing applications in java, c/c+, and cobol; additional language support is being developed for python, perl, php, and others. plug-in contributions to eclipse must be written

12、 in java.multi-role. in addition to programming activities, eclipse supports modeling, testing, web authoring, and many other roles.the functional building blocks of the eclipse ide are illustrated in figure 1-1. each block added to the structure builds on the foundation of those below it. its this

13、modular nature of the eclipse platform that has led to its unprecedented growth. the entire platform is open source and royalty-free for other open source or commercial products that add new building blocks.figure 1-1. functional building blocks of the eclipse development environment.the shaded bloc

14、ks represent this books focus. however, along the way well review other contributed plug-ins that enhance the platforms capabilities for specialized tasks. examples are unit-testing frameworks for web-based applications, static code analysis tools, and a style checker that ensures consistent use of

15、coding standards.the next several sections introduce each of the building blocks shown in figure 1-. eclipse runtime platformthe core runtime platform provides the most basic level of services:plug-in registry. loading plug-ins and managing a registry of available plug-ins.resources. managing

16、 a platform-independent view of operating system files and folders, including linked resource locations.ui components. the eclipse user interface components are based on swt and jface libraries.update facility. eclipse applications have built-in support for installing and updating plug-ins from url

17、addressable locations, including remote internet sites.help facility. a common help facility is shared by all plug-ins.the eclipse model for platform-independent resources is an important foundation for representing projects, folders, and files in an ide; we review this in chapter 3, managing your p

18、rojects. the update facility assists you in customizing your ide with new plug-in contributions; we review it in chapter 9, updating the eclipse ide.all of these basic services are implemented as plug-ins on a very small kernel. the eclipse design makes everything a plug-in. the intent was to treat

19、all developers (and all plug-ins) the same. this ensures that the facilities are both sufficient for the platform itself and for any clients.1.1.2. integrated development environmentthe eclipse ide provides a common user experience across multi-language and multi-role development activities. other c

20、ontributed plug-ins that build on this ide foundation dont need to reinvent the wheel.the most significant ide features are as follows:shared views. many eclipse features share the use of common views for displaying and editing properties, for listing syntax problems found in the code, and for listi

21、ng work tasks.perspectives. a perspective collects a related group of views in a layout suited to particular tasks, such as java development, debugging, and version control.preferences. a centralized dialog gathers preference setting pages for all plug-ins installed in the workbench.search engine. t

22、he platform search engine provides general capabilities for searching resources and presenting results. this facility can be extended with resource-specific search criteria, e.g., for java, c+, or uml model resources.debugging. defines a language-independent debug model and ui classes for building d

23、ebuggers and launchers.ant project build files. ant provides general-purpose, flexible build services that can be extended with specialized tasks. the ide includes an ant editor and runtime configuration.team-oriented. eclipse provides a generic api for integration with version control repositories.

24、 complete support for cvs is included, and plug-ins are available for other vendors repositories.in chapter 4, customizing your workbench, well study the use of eclipse perspectives, views, and preferences. the debugger is covered in chapter 7, debugging your code, and ant build files are used in ch

25、apter 12, continuous integration with ant. the team-oriented capabilities are covered in chapter 13, team ownership with cvs.there are additional eclipse ide features that are not provided in a generic way by the platform, but users have learned to expect the following capabilities in editors:synchr

26、onized editor and outline. an outline displays a hierarchical list of constructs in the file being edited. select an outline item to position the editor at the corresponding location.content assist. the editor suggests appropriate content to be inserted at the cursor location when the ctrl+space key

27、 combination is pressed.templates. code or other text patterns (such as a java for loop or an html table) are defined in templates that are inserted into a file as part of content assist.formatter. syntactic formatting rules are defined and customized in preference settings and are applied to editor

28、 selections or entire files.problems identified on-the-fly. errors or warnings are identified while typing in the editor and are highlighted by icons and messages in the ruler at the editor left margin.well use these features while studying the java editor in chapter 5, rapid development, and then w

29、ell see them again while using the ant build file editor in chapter .1 java development toolsjava development tools (jdt) are the only programming language plug-ins included with the eclipse sdk. however, other language tools are available or under development by eclipse subprojects and plug

30、-in contributors. the eclipse java development perspective is shown in figure 1-2.figure 1-2. eclipse java development perspective.view full size imagefundamental capabilities provided by the java tools include the following:editor, outline, content assist, templates, and formatting. these general e

31、ditor features are provided for java source files.java views. several views are provided for navigating and managing java projects. the package explorer view is the cornerstone of the java perspective, and a specialized java browsing perspective assists developers in understanding and navigating lar

32、ge, multi-project applications.project configuration. extensive support is included for configuring java project classpaths, dependencies, libraries, compiler options, and many other characteristics.debugger. a rich debugging environment is provided by the java tools. you can set breakpoints, step t

33、hrough execution, inspect and set variable values, and change method code during debugging.we cover java project configuration in chapter 6, java project configuration, and debugging in chapter 7. the java tools devote special attention to supporting agile development techniques. section 1.3, agile

34、development with eclipse, introduces this topic with more detail, and part 2 of this book, getting agile, is dedicated to studying agile development in eclipse. c/c+ development toolsthe c/c+ development tools (cdt) project is creating a fully functional c and c+ ide for the eclipse platform.

35、 the current focus is on developing and deploying on linux, but this projects leaders are interested in participation from contributors who would like to extend the work in other directions. for example, targeting windows, unix, or embedded platforms and providing wizards that assist development wit

36、h particular library, database, or messaging apis.the cdt 2.0 release includes the following:c/c+ editor. the generic platform text editor is specialized with c/c+ syntax coloring, content assist, and formatting.c/c+ debugger. a default debugger implementation is provided using gdb.c/c+ program laun

37、cher. similar to launching java programs with optional debugging, cdt provides support for launching c/c+ programs.c/c+ parser and syntax api. the parser is an essential foundation for other plug-in contributions that extend cdt.search engine. general platform search facilities are specialized with

38、c/c+ syntax options that accurately locate code definitions and references.makefile generator. similar to the use of ant in java development, makefiles are ubiquitous in development of c/c+ projects.details and downloads are available on the cdt web site, /cdt/. plug-in develop

39、ment environmentthe plug-in development environment (pde) supplies tools that automate the creation, manipulation, debugging, and deploying of plug-ins. the pde is part of the eclipse sdk and is not a separately launched tool. in line with the general eclipse platform philosophy, the pde provides a

40、wide variety of platform contributions (e.g., views, editors, wizards, launchers, etc.) that blend transparently with the rest of the eclipse workbench and assist the developer in every stage of plug-in development while working inside the eclipse workbench.pde perspective. a specialized perspective

41、 includes views and shortcuts to commands used most frequently during plug-in development.host versus runtime workbench. the workbench that you are running as you develop your plug-in is the host workbench. after you are happy with your plug-in and want to test it, you can launch another workbenchth

42、e runtime workbench. this will utilize the same plug-ins as the host workbench, but it will also run the plug-ins you were working on in the host workbench.debugging plug-ins. the java debugger enables complete control while testing plug-ins in the runtime workbench.packaging plug-ins. tools for pac

43、kaging plug-ins and features for distribution to users via an update site are provided.this book does not address plug-in development specifically, but all eclipse capabilities described here are applicable to the pde. other books in this series describe patterns for plug-in development (gamma and b

44、eck, 2004) and cover the details of building commercial-quality plug-ins (clayberg and rubel, 2004). web tools platformthe web tools platform (wtp) project was formally approved by the eclipse board in june 2004 and received initial open source code contributions from ibm and object web. at t

45、he time this book was written, those contributions were being reviewed and assimilated into the first milestone integration build. this project is of great importance to the eclipse community and is likely of interest to most readers of this book. it is still in a formative stage; nonetheless, here

46、we review the projects charter and summarize its expected integration into the eclipse ide.the mission of the web tools platform project is to provide a generic, extensible, and standards-based tool platform that builds on the eclipse platform and other core eclipse technologies. the project will de

47、liver a common foundation of frameworks and services upon which software providers can create specialized, differentiated offerings for j2ee and web-centric application development. key objectives are to enable product innovation with adherence to vendor-neutral standards and technologies while deli

48、vering practical solutions to real development concerns.the wtp project is composed of two parts. the web standard tools subproject will provide a common infrastructure targeting web-enabled applications. this includes tools for developing three-tier applications (presentation, business, and data lo

49、gic) and publishing the resulting system artifacts to servers.tools provided by this subproject will include the following:standard languages. support will be provided for html/xhmtl, xml, xml schema, web services, xqueries, sql, and other languages used by web-centric applications.editors. editors

50、will be provided for supported languages, including consistent features for outlines, content assist, templates, and formatting.validators. languages based on xml will be validated against associated schemas and other semantics from the specifications.server publication. the workbench will provide c

51、ommands and views for starting, stopping, publishing, and running applications on multiple target servers.the j2ee standard tools subproject will provide common infrastructure for developing applications based on j2ee 1.4 specifications targeting j2ee-compliant application servers. deliverables incl

52、ude generic j2ee tools for other eclipse-based projects and products, and ide workbench plug-ins that support developing, deploying, testing, and debugging j2ee applications on jcp-compliant servers. the j2ee workbench will support use cases such as developing a jsp page, enhancing the pet store blu

53、eprint application, and exposing an ejb session bean as a web service.tools provided by this subproject will include the following:j2ee artifacts. tools will support ejb, servlet, jsp, jca, jdbc, jta, jms, jmx, jndi, and web services.jsp editor. the editor will support mixed html and jsp tags, inclu

54、ding jsp tag libraries, plus outline, content assist, templates, and formatting.jsp refactoring. java refactoring (e.g., renaming a class, method, or package) will find and refactor dependencies within jsp pages.search facilities. search criteria are aware of syntax for jsp, xml, and other document

55、types. for example, searching for a method name includes cases where that name is used as a method, but not when used in other text strings.comparison of syntax. comparing two jsp or xml files considers syntax while identifying logical code constructs, such as when viewing differences between two ve

56、rsions of a jsp file in a repository.details and downloads are available on the web tools project web site, /webtools/.1.1.3. rich client platformthe eclipse rich client platform (rcp) is more notable for what it doesnt have than for what it has. although the eclipse platform is desig

57、ned to serve as an open tools platform, it is architected so that its components could be used to build just about any client application. the minimal set of plug-ins needed to build a rich client application is collectively known as the rich client platform.these rich applications are still based o

58、n a dynamic plug-in model, and the ui is built using the same toolkits and extension points. the layout and function of the workbench is under fine-grained control of the plug-in developer. when contributing to the ide, plug-ins are built on the platform sdk workbench. alternatively, in a rich clien

59、t application, developers are responsible for defining the applications workbench presentation.the same pde tools are used when developing any eclipse plug-in contributions, including rcp applications. see the pde references previously in section , plug-in development environment, for more information on

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論