{panel:title=On This Page} {toc:type=list|style=none|indent=2em|separator=pipe|maxLevel=1} {panel} h1. How Do I Check Out an Eclipse Project from SVN? h3. To Check Out an Eclipse Project: In Eclipse, go to the SVN Repositories window and: # Go to idd-svn > projectyouwant > trunk # Right-click trunk and select *Check out* \\ h1. How Do I Deploy Locally? h3. To Run an Eclipse Project Locally:{anchor:site} Before you run any project locally there are a few on [one time only steps|One Time Only Steps] you must follow. Once you have checked out the project you will then need to configure the project's local site settings: # Create a new directory called site under the project's top level. Make sure you are in Navigator view or the new site directory won't appear. # Copy the files in site-template into it # Edit site/ApplicationLocal.properties ## Change the authentication.user to your kerbname ## Set sf2_passwd value to your cert public key string: ### In your browser, go to [https://mortar-dev.mit.edu/getcert.html] ### Copy the text just after \-\--\--BEGINCERTIFICATE-\-\--\- until you reach the last \-----ENDCERTIFICATE-\---\- ### Paste this as the value for sf2_passwd (this is your cert public key) ## Change *c:/dev/mortar* in r3props to your workspace directory, e.g. c:/dev/workspace/mortar/tools/GlobalResources.properties (but this might vary - check) !windows_explorer_mortar.jpg|thumbnail,align=center! !ApplicationLocal_properties.jpg|thumbnail! # Edit site/log4j.properties; Log4j will output to your eclipse console and to a file ## Change the F1.File property to point to where you want your log file to go # Since this is configuration for the local site, it should not be checked into SVN. Therefore, either mark it "Derived" via Properties or add it to SVN:ignore via Team->Add to SVN:ignore. !derived.jpg|thumbnail! or !ignore.jpg|thumbnail!\\ h1. How Do I Use sap2java to Generate Proxies for an SAP RFC?{anchor:sap2java} # Check out or update the sap2java Eclipse project. # In the sap2java project, open package *src/com/sap/bapi/mapper*. Right-click on class, *testSAP2Java*, and select *Run As...* *Run...* from the context menu. # Create a new Java Application run profile for testSAP2Java or open its previously created profile, then select the *Arguments* tab. # In the *Program arguments* text area, enter the following lines of information: {panel:borderStyle=none|bgColor=#ffffff} * target source code directory (wrapped in double-quotes), e.g., "$\{workspace_loc\}/myproject/src" * package into which the generated classes will be written, e.g., edu.mit.myproject.proxy * name of the RFC for which Java data object classes will be generated, e.g., Z_UT_MY_RFC {panel}\\ {center}screen shot (click to enlarge) {center} !sap2java-run.gif|thumbnail,align=center,width=122px,height=106px!\\ \\ # Click the "Run" button. The Java data object classes are generated. You may need to refresh your project to see the change. h1. How Do I Find the Oracle application log? # Find your Oracle directory (e.g., C:\dev\oc4j_extended_101320) # Drill down into j2ee \-> home \-> application-deployments \-> application of interest \-> application.log |