Customizing PDS OE as per your needs Date

  • Slides: 32
Download presentation
Customizing PDS OE as per your needs Date: 28 June 2016 Presenter: Divya. Theja

Customizing PDS OE as per your needs Date: 28 June 2016 Presenter: Divya. Theja Pachipula

Focus of the session Need for customization Brief Introduction to PDS OE Customizations Demo

Focus of the session Need for customization Brief Introduction to PDS OE Customizations Demo 2

Need for Customizations Different Environments Different Personas 3

Need for Customizations Different Environments Different Personas 3

PDS OE – Introduction Configure Test Develop PDS OE Publish Build 4

PDS OE – Introduction Configure Test Develop PDS OE Publish Build 4

SAMPLE APPLICATION App. Server Application Client UI GUI for. NET Source Control (Subversion) Business

SAMPLE APPLICATION App. Server Application Client UI GUI for. NET Source Control (Subversion) Business Logic Developers 5 (Remote Machine)

CONFIGURE Configure Test Develop PDS OE Publish Build 6

CONFIGURE Configure Test Develop PDS OE Publish Build 6

CONFIGURE § Install/Uninstall Tools to/from your IDE • Uninstall unwanted features • Install third

CONFIGURE § Install/Uninstall Tools to/from your IDE • Uninstall unwanted features • Install third party plugins – SCM, Mylyn, etc. , § Custom Project Types • Add your own o Folder layout o Libraries to PROPATH o Code generation templates 7

CONFIGURE § File Types • Editor Choice • Make it compliable § File Templates

CONFIGURE § File Types • Editor Choice • Make it compliable § File Templates • Override • Create New File Types: General → Editors → File Associations Build: Progress Open. Edge → Editor → Build File Templates: Open. Edge → Tools → Customization Editor 8

CONFIGURE File Templates require JET Dependency Location oe_common_services jar <DLC>oeideeclipsepluginscom. openedge. pdt. core_<version> Add

CONFIGURE File Templates require JET Dependency Location oe_common_services jar <DLC>oeideeclipsepluginscom. openedge. pdt. core_<version> Add • Enable Java Emitter Templates progresside jar for your project ablunit jar Enable Templates List. JET Register Dependencies • Copy to project <DLC>oeideeclipsepluginscom. openedge. pdt. text_<version> • Template • Add jars to build • Register in • Generator path Customization skeleton Editor • Progresside. jar <DLC>oeideeclipsepluginscom. openedge. pdt. ablunit_<version> • Change template • Oe_common_serv ices. jar Write JET <DLC>oeideeclipsepluginscom. openedge. pdt. text_<version>templates template ABLUnit File Templates List <DLC>oeideeclipsepluginscom. openedge. pdt. ablunit_<version>templates 9

CONFIGURE § Make your ABL code • Run from a menu in PDS OE

CONFIGURE § Make your ABL code • Run from a menu in PDS OE Menu: Open. Edge → Tools → Customization Editor • Run on specific event – Use ABL API o _oeidestartup. p o oeideservice. i – Use Run Configuration 10

CONFIGURE § Configuration Variables [11. 6] • Use PATH variables Preference: Progress Open. Edge

CONFIGURE § Configuration Variables [11. 6] • Use PATH variables Preference: Progress Open. Edge → Customization Variables 11

DEVELOP Configure Test Develop PDS OE Publish Build 12

DEVELOP Configure Test Develop PDS OE Publish Build 12

DEVELOP § Adjust layout to your work habits • Menus • Perspectives § Working

DEVELOP § Adjust layout to your work habits • Menus • Perspectives § Working Sets • Work on preferred set of files 13

DEVELOP § Shortcut Keys • Create you own shortcuts Preference: General → Keys §

DEVELOP § Shortcut Keys • Create you own shortcuts Preference: General → Keys § Customize • Class Cache settings • Open. Edge Tooling Preference: Progress Open. Edge → Advanced → Class Cache 14

DEVELOP § Macros • Editor Templates: Progress Open. Edge → Editor → Templates(macros) 15

DEVELOP § Macros • Editor Templates: Progress Open. Edge → Editor → Templates(macros) 15

DEVELOP § Adjust settings for • Code Completion – Include/Exclude proposals – Choose when

DEVELOP § Adjust settings for • Code Completion – Include/Exclude proposals – Choose when to show proposals • Formatting • Casing • Organize USING Statements – Group – Sort Editing: Progress Open. Edge → Editor USING Statements: Progress Open. Edge → Advanced → USING Statements 16

BUILD Configure Test Develop PDS OE Publish Build 17

BUILD Configure Test Develop PDS OE Publish Build 17

Mark file extensions to be compilable • Working Sets • Exclude files from build

Mark file extensions to be compilable • Working Sets • Exclude files from build • Automatically • On Save • On Run • On Debug • On modifications 18 Where to build? • When to build? What to build? BUILD • Choose your destination

PUBLISH Configure Test Develop PDS OE Publish Build 19

PUBLISH Configure Test Develop PDS OE Publish Build 19

PUBLISH What to publish When to publish Where to publish Set Server Modules On

PUBLISH What to publish When to publish Where to publish Set Server Modules On modification Local directory Add Filters On build On remote Server Only Source Never 20

PUBLISH – ABL Documentation Custom Parser • Document your own tags in ABL code

PUBLISH – ABL Documentation Custom Parser • Document your own tags in ABL code ABL Documentation comments Custom Serializer ABL • Write ABL document to your own format • HTML • PDF • Text File, etc. , 21 Code

TEST Configure Test Develop PDS OE Publish Build 22

TEST Configure Test Develop PDS OE Publish Build 22

TEST § Customize • Logging • Performance – Enforce startup parameter limits • Culture

TEST § Customize • Logging • Performance – Enforce startup parameter limits • Culture – Use your own locale 23

Share to Team

Share to Team

SHARE TO TEAM Configuration files • Database connections • PROPATH • Project Properties (project.

SHARE TO TEAM Configuration files • Database connections • PROPATH • Project Properties (project. xml) • Run Configurations(. launch files) • Shared AVM settings • Database definitions • Editor Macros • Templates • Custom Projects 25

Advanced?

Advanced?

Hosting ABL Tools in PDS OE • • show. View hide. View get. View.

Hosting ABL Tools in PDS OE • • show. View hide. View get. View. Hwnd set. Embedded. Win dow add. Window set. View. Title is. IDERunning IDE_Command ABL PDS OE Application IDE • • Eclipse Framework Progress AVM • • • SESSION: IDE-DEFAULT-PARENTHWND h. Window: IDE-PARENT-HWND h. Window: IDE-WINDOW-TYPE 27 • • show. View hide. View set. Part. Name show. View hide. View get. View. Hwnd set. Embedded. Wi ndow add. Window set. View. Title

PDS OE on Eclipse Progress Developer Studio for Open. Edge (PDS OE) ABL Editor

PDS OE on Eclipse Progress Developer Studio for Open. Edge (PDS OE) ABL Editor DB Navigator Appbuilder Debug Unit Testing ABLDoc Eclipse Platform JAVA Platform 28 Servers BPM 3 rd party

Write your own plug-in Know the plugin to extend Write your Java code 29

Write your own plug-in Know the plugin to extend Write your Java code 29 Deploy to PDS OE

Demo

Demo

REFERENCES § Whitepapers • Custom Templates https: //community. progress. com/community_groups/openedge_general/w/openedgegeneral/1243. openedge-architect-working-with-custom-templates • Embedding ABL

REFERENCES § Whitepapers • Custom Templates https: //community. progress. com/community_groups/openedge_general/w/openedgegeneral/1243. openedge-architect-working-with-custom-templates • Embedding ABL Windows in PDS OE https: //community. progress. com/community_groups/openedge_general/w/openedgegeneral/1244. openedge-architect-embedding-abl-windows • Support for Java Style comments in ABLDoc https: //community. progress. com/community_groups/openedge_development/m/documents/1957 31