Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Apps are normally setup so that eclipse will be able to build the app (with your local machine specific props) and deploy it to your local server.

Checking out a 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

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
  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/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

Eclipse Project Structure

...