You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 76 Next »

On This Page

How Do I Check Out an Eclipse Project from SVN?

To Check Out an Eclipse Project:

In Eclipse, go to the SVN Repositories window and:

  1. Go to idd-svn > projectyouwant > trunk
  2. Right-click trunk and select Check out


How Do I Deploy Locally?

One Time Only Steps:

In Eclipse, go to the SVN Repositories window and:

  1. Go to idd-svn > mortar > tags > 00.xx
  2. Right-click 00.xx and select Check out
  3. Ignore any errors
  4. Go to idd-svn > insidemit > trunk
  5. Right-click trunk and select Check out
  6. Ignore any errors
  7. Go to Window's Explorer and navigate to your Eclipse workspace > insidemit > htdocs
  8. Select and copy the dhtml directory within htdocs
  9. Go to your oc4j directory > j2ee > home > default-web-app
  10. paste dhtml into the default-web-app directory

">To Run an Eclipse Project Locally:

Once you have checked out the project you will then need to configure the project's local site settings:

  1. 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.
  2. Copy the files in site-template into it
  3. Edit site/ApplicationLocal.properties
    1. Change the authentication.user to your kerbname
    2. Set sf2_passwd value to your cert public key string:
      1. In your browser, go to https://mortar-dev-mit-edu.ezproxyberklee.flo.org/getcert.html
      2. Copy the text just after ----BEGINCERTIFICATE--- until you reach the last ---ENDCERTIFICATE----
      3. Paste this as the value for sf2_passwd (this is your cert public key)
    3. Change c:/dev in r3props to your workspace directory, e.g. c:/workspace/mortar/tools/GlobalResources.properties
  4. Edit site/log4j.properties; Log4j will output to your eclipse console and to a file
    1. Change the F1.File property to point to where you want your log file to go


">How Do I Use sap2java to Generate Proxies for an SAP RFC?

  1. Check out or update the sap2java Eclipse project.
  2. 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.
  3. Create a new Java Application run profile for testSAP2Java or open its previously created profile, then select the Arguments tab.
  4. In the Program arguments text area, enter the following lines of information:
    • 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

    Unknown macro: {center}

    screen shot (click to enlarge)



  5. Click the "Run" button.  The Java data object classes are generated.  You may need to refresh your project to see the change.
  • No labels